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 ModelTypeInvalidationMap& invalidation_map, | 33 const ObjectIdInvalidationMap& invalidation_map, |
34 const tracked_objects::Location& nudge_location) { | 34 const tracked_objects::Location& nudge_location) { |
35 } | 35 } |
36 | 36 |
37 bool FakeSyncScheduler::ScheduleConfiguration( | 37 bool FakeSyncScheduler::ScheduleConfiguration( |
38 const ConfigurationParams& params) { | 38 const ConfigurationParams& params) { |
39 params.ready_task.Run(); | 39 params.ready_task.Run(); |
40 return true; | 40 return true; |
41 } | 41 } |
42 | 42 |
43 void FakeSyncScheduler::SetNotificationsEnabled(bool notifications_enabled) { | 43 void FakeSyncScheduler::SetNotificationsEnabled(bool notifications_enabled) { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } | 84 } |
85 | 85 |
86 void FakeSyncScheduler::OnShouldStopSyncingPermanently() { | 86 void FakeSyncScheduler::OnShouldStopSyncingPermanently() { |
87 } | 87 } |
88 | 88 |
89 void FakeSyncScheduler::OnSyncProtocolError( | 89 void FakeSyncScheduler::OnSyncProtocolError( |
90 const sessions::SyncSessionSnapshot& snapshot) { | 90 const sessions::SyncSessionSnapshot& snapshot) { |
91 } | 91 } |
92 | 92 |
93 } // namespace syncer | 93 } // namespace syncer |
OLD | NEW |