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

Unified Diff: components/component_updater/default_component_installer.cc

Issue 2889683003: Rename TaskRunner::RunsTasksOnCurrentThread() in //components (Closed)
Patch Set: rebase Created 3 years, 6 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 161f6a65cc453a7ccefc2c7189a1e0c0c16bebf2..c06c10c903bcaf28467fd29270868ed537ab8c22 100644
--- a/components/component_updater/default_component_installer.cc
+++ b/components/component_updater/default_component_installer.cc
@@ -228,7 +228,7 @@ 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);
@@ -325,7 +325,7 @@ void DefaultComponentInstaller::StartRegistration(
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;
« no previous file with comments | « components/certificate_transparency/ct_policy_manager.cc ('k') | components/device_event_log/device_event_log_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698