Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5219)

Unified Diff: chrome/browser/component_updater/recovery_component_installer.cc

Issue 2601623002: TaskTraits: Rename WithSyncPrimitives() to WithBaseSyncPrimitives(). (Closed)
Patch Set: CR gab #6 Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/component_updater/recovery_component_installer.cc
diff --git a/chrome/browser/component_updater/recovery_component_installer.cc b/chrome/browser/component_updater/recovery_component_installer.cc
index 30f61b2958458f0b3c5693a4d8b45d1b8bbe991c..868e5c7e9a1613980a612fc7ffc2caccc0389417 100644
--- a/chrome/browser/component_updater/recovery_component_installer.cc
+++ b/chrome/browser/component_updater/recovery_component_installer.cc
@@ -224,13 +224,13 @@ void DoElevatedInstallRecoveryComponent(const base::FilePath& path) {
}
base::Process process = base::Process::Open(pid);
#endif
- // This task joins a process, hence .WithSyncPrimitives().
+ // This task joins a process, hence .WithBaseSyncPrimitives().
base::PostTaskWithTraits(
FROM_HERE, base::TaskTraits()
.WithShutdownBehavior(
base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN)
.WithPriority(base::TaskPriority::BACKGROUND)
- .WithSyncPrimitives(),
+ .WithBaseSyncPrimitives(),
base::Bind(&WaitForElevatedInstallToComplete, base::Passed(&process)));
}
@@ -372,13 +372,13 @@ bool RecoveryComponentInstaller::RunInstallCommand(
return false;
// Let worker pool thread wait for us so we don't block Chrome shutdown.
- // This task joins a process, hence .WithSyncPrimitives().
+ // This task joins a process, hence .WithBaseSyncPrimitives().
base::PostTaskWithTraits(
FROM_HERE, base::TaskTraits()
.WithShutdownBehavior(
base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN)
.WithPriority(base::TaskPriority::BACKGROUND)
- .WithSyncPrimitives(),
+ .WithBaseSyncPrimitives(),
base::Bind(&WaitForInstallToComplete, base::Passed(&process),
installer_folder, prefs_));
« no previous file with comments | « base/threading/sequenced_worker_pool.cc ('k') | chrome/browser/component_updater/sw_reporter_installer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698