| 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 20 matching lines...) Expand all Loading... |
| 31 scoped_ptr<InvalidationInterface> interface, | 31 scoped_ptr<InvalidationInterface> interface, |
| 32 const tracked_objects::Location& nudge_location) { | 32 const tracked_objects::Location& nudge_location) { |
| 33 } | 33 } |
| 34 | 34 |
| 35 void FakeSyncScheduler::ScheduleConfiguration( | 35 void FakeSyncScheduler::ScheduleConfiguration( |
| 36 const ConfigurationParams& params) { | 36 const ConfigurationParams& params) { |
| 37 params.ready_task.Run(); | 37 params.ready_task.Run(); |
| 38 } | 38 } |
| 39 | 39 |
| 40 void FakeSyncScheduler::ScheduleClearServerData(const ClearParams& params) { | 40 void FakeSyncScheduler::ScheduleClearServerData(const ClearParams& params) { |
| 41 NOTIMPLEMENTED(); | 41 params.report_success_task.Run(); |
| 42 } | 42 } |
| 43 | 43 |
| 44 void FakeSyncScheduler::ScheduleInitialSyncNudge(syncer::ModelType model_type) { | 44 void FakeSyncScheduler::ScheduleInitialSyncNudge(syncer::ModelType model_type) { |
| 45 } | 45 } |
| 46 | 46 |
| 47 void FakeSyncScheduler::SetNotificationsEnabled(bool notifications_enabled) { | 47 void FakeSyncScheduler::SetNotificationsEnabled(bool notifications_enabled) { |
| 48 } | 48 } |
| 49 | 49 |
| 50 void FakeSyncScheduler::OnCredentialsUpdated() { | 50 void FakeSyncScheduler::OnCredentialsUpdated() { |
| 51 | 51 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 } | 87 } |
| 88 | 88 |
| 89 void FakeSyncScheduler::OnReceivedGuRetryDelay( | 89 void FakeSyncScheduler::OnReceivedGuRetryDelay( |
| 90 const base::TimeDelta& delay) { | 90 const base::TimeDelta& delay) { |
| 91 } | 91 } |
| 92 | 92 |
| 93 void FakeSyncScheduler::OnReceivedMigrationRequest(ModelTypeSet types) { | 93 void FakeSyncScheduler::OnReceivedMigrationRequest(ModelTypeSet types) { |
| 94 } | 94 } |
| 95 | 95 |
| 96 } // namespace syncer | 96 } // namespace syncer |
| OLD | NEW |