Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: sync/test/engine/fake_sync_scheduler.cc

Issue 1253743003: [Sync] Update SyncBackendHost to forward ClearServerData to SyncManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clearserverdatacommand
Patch Set: Remove unused callback variable Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sync/internal_api/test/fake_sync_manager.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « sync/internal_api/test/fake_sync_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698