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

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

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/test/engine/fake_sync_scheduler.h ('k') | sync/test/engine/syncer_command_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/fake_sync_scheduler.cc
diff --git a/sync/test/engine/fake_sync_scheduler.cc b/sync/test/engine/fake_sync_scheduler.cc
index 2d3406067a74b55cd195a2f2e987f4c8f4417523..c2909e80a30781c6f23e4f49f64073e2d203c969 100644
--- a/sync/test/engine/fake_sync_scheduler.cc
+++ b/sync/test/engine/fake_sync_scheduler.cc
@@ -18,17 +18,22 @@ void FakeSyncScheduler::RequestStop(const base::Closure& callback) {
created_on_loop_->PostTask(FROM_HERE, callback);
}
-void FakeSyncScheduler::ScheduleNudgeAsync(
- const base::TimeDelta& delay,
- NudgeSource source,
- ModelTypeSet types,
- const tracked_objects::Location& nudge_location) {
+void FakeSyncScheduler::ScheduleLocalNudge(
+ const base::TimeDelta& desired_delay,
+ ModelTypeSet types,
+ const tracked_objects::Location& nudge_location) {
}
-void FakeSyncScheduler::ScheduleNudgeWithStatesAsync(
- const base::TimeDelta& delay, NudgeSource source,
- const ModelTypeInvalidationMap& invalidation_map,
- const tracked_objects::Location& nudge_location) {
+void FakeSyncScheduler::ScheduleLocalRefreshRequest(
+ const base::TimeDelta& desired_delay,
+ ModelTypeSet types,
+ const tracked_objects::Location& nudge_location) {
+}
+
+void FakeSyncScheduler::ScheduleInvalidationNudge(
+ const base::TimeDelta& desired_delay,
+ const ModelTypeInvalidationMap& invalidation_map,
+ const tracked_objects::Location& nudge_location) {
}
bool FakeSyncScheduler::ScheduleConfiguration(
@@ -71,6 +76,9 @@ void FakeSyncScheduler::OnReceivedSessionsCommitDelay(
const base::TimeDelta& new_delay) {
}
+void FakeSyncScheduler::OnReceivedClientInvalidationHintBufferSize(int size) {
+}
+
void FakeSyncScheduler::OnShouldStopSyncingPermanently() {
}
« no previous file with comments | « sync/test/engine/fake_sync_scheduler.h ('k') | sync/test/engine/syncer_command_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698