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

Unified Diff: sync/engine/sync_scheduler_whitebox_unittest.cc

Issue 10825439: sync: remove buggy freshness condition in SyncSchedulerImpl add defensive DCHECKs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: init Created 8 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: sync/engine/sync_scheduler_whitebox_unittest.cc
diff --git a/sync/engine/sync_scheduler_whitebox_unittest.cc b/sync/engine/sync_scheduler_whitebox_unittest.cc
index afc8c6f98a0b03060b9fbdac54a428009673b37f..8e0871b2e68e60401ffff00bc990842a6003033b 100644
--- a/sync/engine/sync_scheduler_whitebox_unittest.cc
+++ b/sync/engine/sync_scheduler_whitebox_unittest.cc
@@ -72,7 +72,7 @@ class SyncSchedulerWhiteboxTest : public testing::Test {
}
void SetLastSyncedTime(base::TimeTicks ticks) {
- scheduler_->last_sync_session_end_time_ = ticks;
+ scheduler_->last_nudge_or_poll_end_time_ = ticks;
}
void ResetWaitInterval() {

Powered by Google App Engine
This is Rietveld 408576698