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

Unified Diff: components/component_updater/default_component_installer.cc

Issue 2889683003: Rename TaskRunner::RunsTasksOnCurrentThread() in //components (Closed)
Patch Set: Created 3 years, 7 months 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: components/component_updater/default_component_installer.cc
diff --git a/components/component_updater/default_component_installer.cc b/components/component_updater/default_component_installer.cc
index 6cdca7edac5bd565bb9eb0fab0f0704c7f5bced4..623d1e84ec44bfc155962ba9ef7fb5606fb98904 100644
--- a/components/component_updater/default_component_installer.cc
+++ b/components/component_updater/default_component_installer.cc
@@ -210,7 +210,7 @@ bool DefaultComponentInstaller::FindPreinstallation(
void DefaultComponentInstaller::StartRegistration(ComponentUpdateService* cus) {
VLOG(1) << __func__ << " for " << installer_traits_->GetName();
DCHECK(task_runner_.get());
- DCHECK(task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(task_runner_->RunsTasksInCurrentSequence());
base::Version latest_version(kNullVersion);
@@ -308,7 +308,7 @@ void DefaultComponentInstaller::StartRegistration(ComponentUpdateService* cus) {
void DefaultComponentInstaller::UninstallOnTaskRunner() {
DCHECK(task_runner_.get());
- DCHECK(task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(task_runner_->RunsTasksInCurrentSequence());
// Only try to delete any files that are in our user-level install path.
base::FilePath userInstallPath;

Powered by Google App Engine
This is Rietveld 408576698