chore: bump chromium to 108.0.5329.0 (main) (#35628)
Co-authored-by: Samuel Attard <sattard@salesforce.com> Co-authored-by: VerteDinde <vertedinde@electronjs.org> Co-authored-by: Keeley Hammond <khammond@slack-corp.com> Co-authored-by: Jeremy Rose <jeremya@chromium.org>
This commit is contained in:
parent
94955a7999
commit
16f459228b
178 changed files with 1000 additions and 936 deletions
|
@ -331,23 +331,21 @@ void ShowItemInFolder(const base::FilePath& full_path) {
|
|||
void OpenPath(const base::FilePath& full_path, OpenCallback callback) {
|
||||
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
||||
|
||||
base::PostTaskAndReplyWithResult(
|
||||
base::ThreadPool::CreateCOMSTATaskRunner(
|
||||
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
|
||||
.get(),
|
||||
FROM_HERE, base::BindOnce(&OpenPathOnThread, full_path),
|
||||
std::move(callback));
|
||||
base::ThreadPool::CreateCOMSTATaskRunner(
|
||||
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
|
||||
->PostTaskAndReplyWithResult(FROM_HERE,
|
||||
base::BindOnce(&OpenPathOnThread, full_path),
|
||||
std::move(callback));
|
||||
}
|
||||
|
||||
void OpenExternal(const GURL& url,
|
||||
const OpenExternalOptions& options,
|
||||
OpenCallback callback) {
|
||||
base::PostTaskAndReplyWithResult(
|
||||
base::ThreadPool::CreateCOMSTATaskRunner(
|
||||
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
|
||||
.get(),
|
||||
FROM_HERE, base::BindOnce(&OpenExternalOnWorkerThread, url, options),
|
||||
std::move(callback));
|
||||
base::ThreadPool::CreateCOMSTATaskRunner(
|
||||
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
|
||||
->PostTaskAndReplyWithResult(
|
||||
FROM_HERE, base::BindOnce(&OpenExternalOnWorkerThread, url, options),
|
||||
std::move(callback));
|
||||
}
|
||||
|
||||
bool MoveItemToTrashWithError(const base::FilePath& path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue