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

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

Issue 7812036: Update base/timer.h code to pass through Location from call sites. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build, consistency Created 9 years, 4 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: chrome/browser/component_updater/component_updater_service.cc
diff --git a/chrome/browser/component_updater/component_updater_service.cc b/chrome/browser/component_updater/component_updater_service.cc
index 8a753db791618abed22b7ab6cf1ac790086b3041..d2d27afae073d5d93aa777751a3184535144d28f 100644
--- a/chrome/browser/component_updater/component_updater_service.cc
+++ b/chrome/browser/component_updater/component_updater_service.cc
@@ -328,7 +328,7 @@ ComponentUpdateService::Status CrxUpdateService::Start() {
Source<ComponentUpdateService>(this),
NotificationService::NoDetails());
- timer_.Start(base::TimeDelta::FromSeconds(config_->InitialDelay()),
+ timer_.Start(FROM_HERE, base::TimeDelta::FromSeconds(config_->InitialDelay()),
this, &CrxUpdateService::ProcessPendingItems);
return kOk;
}
@@ -366,7 +366,7 @@ void CrxUpdateService::ScheduleNextRun(bool step_delay) {
return;
}
- timer_.Start(base::TimeDelta::FromSeconds(delay),
+ timer_.Start(FROM_HERE, base::TimeDelta::FromSeconds(delay),
this, &CrxUpdateService::ProcessPendingItems);
}

Powered by Google App Engine
This is Rietveld 408576698