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

Unified Diff: chrome/browser/sync/engine/sync_scheduler.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/sync/engine/sync_scheduler.cc
diff --git a/chrome/browser/sync/engine/sync_scheduler.cc b/chrome/browser/sync/engine/sync_scheduler.cc
index 993b72755abcd019a89a4ff8380c7a91d5c9dbac..9c304d55fa7731dae8def359f50dec75a8b346cd 100644
--- a/chrome/browser/sync/engine/sync_scheduler.cc
+++ b/chrome/browser/sync/engine/sync_scheduler.cc
@@ -875,13 +875,13 @@ void SyncScheduler::AdjustPolling(const SyncSessionJob* old_job) {
// Adjust poll rate.
poll_timer_.Stop();
- poll_timer_.Start(poll, this, &SyncScheduler::PollTimerCallback);
+ poll_timer_.Start(FROM_HERE, poll, this, &SyncScheduler::PollTimerCallback);
}
void SyncScheduler::RestartWaiting() {
CHECK(wait_interval_.get());
wait_interval_->timer.Stop();
- wait_interval_->timer.Start(wait_interval_->length,
+ wait_interval_->timer.Start(FROM_HERE, wait_interval_->length,
this, &SyncScheduler::DoCanaryJob);
}
@@ -1049,7 +1049,7 @@ void SyncScheduler::OnSilencedUntil(const base::TimeTicks& silenced_until) {
DCHECK_EQ(MessageLoop::current(), sync_loop_);
wait_interval_.reset(new WaitInterval(WaitInterval::THROTTLED,
silenced_until - TimeTicks::Now()));
- wait_interval_->timer.Start(wait_interval_->length, this,
+ wait_interval_->timer.Start(FROM_HERE, wait_interval_->length, this,
&SyncScheduler::Unthrottle);
}

Powered by Google App Engine
This is Rietveld 408576698