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