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

Unified Diff: chrome/browser/sync/notifier/registration_manager.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: 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/sync/notifier/registration_manager.cc
diff --git a/chrome/browser/sync/notifier/registration_manager.cc b/chrome/browser/sync/notifier/registration_manager.cc
index 0308dbea400a36ab46cec49c96eb3f2938755dbf..9536a8878bd6aadb83e949d859d81475824d538d 100644
--- a/chrome/browser/sync/notifier/registration_manager.cc
+++ b/chrome/browser/sync/notifier/registration_manager.cc
@@ -193,7 +193,8 @@ void RegistrationManager::TryRegisterType(syncable::ModelType model_type,
<< delay.InMilliseconds() << " ms";
status->registration_timer.Stop();
status->registration_timer.Start(
- delay, status, &RegistrationManager::RegistrationStatus::DoRegister);
+ delay, status, &RegistrationManager::RegistrationStatus::DoRegister,
+ FROM_HERE);
double next_delay_seconds =
CalculateBackoff(static_cast<double>(status->next_delay.InSeconds()),
kInitialRegistrationDelaySeconds,

Powered by Google App Engine
This is Rietveld 408576698