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

Unified Diff: sync/test/engine/fake_sync_scheduler.h

Issue 14963002: sync: Report GetUpdate triggers to the server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix handling of NEW_CLIENT GU source Created 7 years, 7 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
« no previous file with comments | « sync/sessions/sync_session_unittest.cc ('k') | sync/test/engine/fake_sync_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/fake_sync_scheduler.h
diff --git a/sync/test/engine/fake_sync_scheduler.h b/sync/test/engine/fake_sync_scheduler.h
index 1b9f266eb81d407842fb0d5675abb34ebd293001..7bfe31836ead7cb0b7b9cf3ef6cde6a4cd4aef8c 100644
--- a/sync/test/engine/fake_sync_scheduler.h
+++ b/sync/test/engine/fake_sync_scheduler.h
@@ -21,13 +21,16 @@ class FakeSyncScheduler : public SyncScheduler {
virtual void Start(Mode mode) OVERRIDE;
virtual void RequestStop(const base::Closure& callback) OVERRIDE;
- virtual void ScheduleNudgeAsync(
- const base::TimeDelta& delay,
- NudgeSource source,
+ virtual void ScheduleLocalNudge(
+ const base::TimeDelta& desired_delay,
ModelTypeSet types,
const tracked_objects::Location& nudge_location) OVERRIDE;
- virtual void ScheduleNudgeWithStatesAsync(
- const base::TimeDelta& delay, NudgeSource source,
+ virtual void ScheduleLocalRefreshRequest(
+ const base::TimeDelta& desired_delay,
+ ModelTypeSet types,
+ const tracked_objects::Location& nudge_location) OVERRIDE;
+ virtual void ScheduleInvalidationNudge(
+ const base::TimeDelta& desired_delay,
const ModelTypeInvalidationMap& invalidation_map,
const tracked_objects::Location& nudge_location) OVERRIDE;
virtual bool ScheduleConfiguration(
@@ -48,6 +51,7 @@ class FakeSyncScheduler : public SyncScheduler {
const base::TimeDelta& new_interval) OVERRIDE;
virtual void OnReceivedSessionsCommitDelay(
const base::TimeDelta& new_delay) OVERRIDE;
+ virtual void OnReceivedClientInvalidationHintBufferSize(int size) OVERRIDE;
virtual void OnShouldStopSyncingPermanently() OVERRIDE;
virtual void OnSyncProtocolError(
const sessions::SyncSessionSnapshot& snapshot) OVERRIDE;
« no previous file with comments | « sync/sessions/sync_session_unittest.cc ('k') | sync/test/engine/fake_sync_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698