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

Side by Side Diff: sync/test/engine/fake_sync_scheduler.cc

Issue 322333004: sync: Inject sync/'s dependency on invalidations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/test/engine/fake_sync_scheduler.h ('k') | sync/test/mock_invalidation.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/test/engine/fake_sync_scheduler.h" 5 #include "sync/test/engine/fake_sync_scheduler.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 8
9 FakeSyncScheduler::FakeSyncScheduler() {} 9 FakeSyncScheduler::FakeSyncScheduler() {}
10 10
(...skipping 12 matching lines...) Expand all
23 } 23 }
24 24
25 void FakeSyncScheduler::ScheduleLocalRefreshRequest( 25 void FakeSyncScheduler::ScheduleLocalRefreshRequest(
26 const base::TimeDelta& desired_delay, 26 const base::TimeDelta& desired_delay,
27 ModelTypeSet types, 27 ModelTypeSet types,
28 const tracked_objects::Location& nudge_location) { 28 const tracked_objects::Location& nudge_location) {
29 } 29 }
30 30
31 void FakeSyncScheduler::ScheduleInvalidationNudge( 31 void FakeSyncScheduler::ScheduleInvalidationNudge(
32 const base::TimeDelta& desired_delay, 32 const base::TimeDelta& desired_delay,
33 const ObjectIdInvalidationMap& invalidation_map, 33 syncer::ModelType type,
34 scoped_ptr<InvalidationInterface> interface,
34 const tracked_objects::Location& nudge_location) { 35 const tracked_objects::Location& nudge_location) {
35 } 36 }
36 37
37 void FakeSyncScheduler::ScheduleConfiguration( 38 void FakeSyncScheduler::ScheduleConfiguration(
38 const ConfigurationParams& params) { 39 const ConfigurationParams& params) {
39 params.ready_task.Run(); 40 params.ready_task.Run();
40 } 41 }
41 42
42 void FakeSyncScheduler::SetNotificationsEnabled(bool notifications_enabled) { 43 void FakeSyncScheduler::SetNotificationsEnabled(bool notifications_enabled) {
43 } 44 }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } 87 }
87 88
88 void FakeSyncScheduler::OnReceivedGuRetryDelay( 89 void FakeSyncScheduler::OnReceivedGuRetryDelay(
89 const base::TimeDelta& delay) { 90 const base::TimeDelta& delay) {
90 } 91 }
91 92
92 void FakeSyncScheduler::OnReceivedMigrationRequest(ModelTypeSet types) { 93 void FakeSyncScheduler::OnReceivedMigrationRequest(ModelTypeSet types) {
93 } 94 }
94 95
95 } // namespace syncer 96 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/test/engine/fake_sync_scheduler.h ('k') | sync/test/mock_invalidation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698