OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |