| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "sync/test/engine/fake_sync_scheduler.h" | |
| 6 | |
| 7 namespace syncer { | |
| 8 | |
| 9 FakeSyncScheduler::FakeSyncScheduler() {} | |
| 10 | |
| 11 FakeSyncScheduler::~FakeSyncScheduler() {} | |
| 12 | |
| 13 void FakeSyncScheduler::Start(Mode mode, base::Time last_poll_time) { | |
| 14 } | |
| 15 | |
| 16 void FakeSyncScheduler::Stop() { | |
| 17 } | |
| 18 | |
| 19 void FakeSyncScheduler::ScheduleLocalNudge( | |
| 20 ModelTypeSet types, | |
| 21 const tracked_objects::Location& nudge_location) { | |
| 22 } | |
| 23 | |
| 24 void FakeSyncScheduler::ScheduleLocalRefreshRequest( | |
| 25 ModelTypeSet types, | |
| 26 const tracked_objects::Location& nudge_location) { | |
| 27 } | |
| 28 | |
| 29 void FakeSyncScheduler::ScheduleInvalidationNudge( | |
| 30 syncer::ModelType type, | |
| 31 std::unique_ptr<InvalidationInterface> interface, | |
| 32 const tracked_objects::Location& nudge_location) {} | |
| 33 | |
| 34 void FakeSyncScheduler::ScheduleConfiguration( | |
| 35 const ConfigurationParams& params) { | |
| 36 params.ready_task.Run(); | |
| 37 } | |
| 38 | |
| 39 void FakeSyncScheduler::ScheduleClearServerData(const ClearParams& params) { | |
| 40 params.report_success_task.Run(); | |
| 41 } | |
| 42 | |
| 43 void FakeSyncScheduler::ScheduleInitialSyncNudge(syncer::ModelType model_type) { | |
| 44 } | |
| 45 | |
| 46 void FakeSyncScheduler::SetNotificationsEnabled(bool notifications_enabled) { | |
| 47 } | |
| 48 | |
| 49 void FakeSyncScheduler::OnCredentialsUpdated() { | |
| 50 } | |
| 51 | |
| 52 void FakeSyncScheduler::OnConnectionStatusChange() { | |
| 53 } | |
| 54 | |
| 55 void FakeSyncScheduler::OnThrottled( | |
| 56 const base::TimeDelta& throttle_duration) { | |
| 57 } | |
| 58 | |
| 59 void FakeSyncScheduler::OnTypesThrottled( | |
| 60 ModelTypeSet types, | |
| 61 const base::TimeDelta& throttle_duration) { | |
| 62 } | |
| 63 | |
| 64 bool FakeSyncScheduler::IsCurrentlyThrottled() { | |
| 65 return false; | |
| 66 } | |
| 67 | |
| 68 void FakeSyncScheduler::OnReceivedShortPollIntervalUpdate( | |
| 69 const base::TimeDelta& new_interval) { | |
| 70 } | |
| 71 | |
| 72 void FakeSyncScheduler::OnReceivedLongPollIntervalUpdate( | |
| 73 const base::TimeDelta& new_interval) { | |
| 74 } | |
| 75 | |
| 76 void FakeSyncScheduler::OnReceivedCustomNudgeDelays( | |
| 77 const std::map<ModelType, base::TimeDelta>& nudge_delays) { | |
| 78 } | |
| 79 | |
| 80 void FakeSyncScheduler::OnReceivedClientInvalidationHintBufferSize(int size) { | |
| 81 } | |
| 82 | |
| 83 void FakeSyncScheduler::OnSyncProtocolError(const SyncProtocolError& error) { | |
| 84 } | |
| 85 | |
| 86 void FakeSyncScheduler::OnReceivedGuRetryDelay( | |
| 87 const base::TimeDelta& delay) { | |
| 88 } | |
| 89 | |
| 90 void FakeSyncScheduler::OnReceivedMigrationRequest(ModelTypeSet types) { | |
| 91 } | |
| 92 | |
| 93 } // namespace syncer | |
| OLD | NEW |