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

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

Issue 1251203002: [Sync] Add ClearServerData support to Sync Scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improve comments Created 5 years, 5 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
« sync/engine/syncer.h ('K') | « sync/test/engine/fake_sync_scheduler.h ('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 19 matching lines...) Expand all
30 syncer::ModelType type, 30 syncer::ModelType type,
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) {
41 NOTIMPLEMENTED();
42 }
43
40 void FakeSyncScheduler::ScheduleInitialSyncNudge(syncer::ModelType model_type) { 44 void FakeSyncScheduler::ScheduleInitialSyncNudge(syncer::ModelType model_type) {
41 } 45 }
42 46
43 void FakeSyncScheduler::SetNotificationsEnabled(bool notifications_enabled) { 47 void FakeSyncScheduler::SetNotificationsEnabled(bool notifications_enabled) {
44 } 48 }
45 49
46 void FakeSyncScheduler::OnCredentialsUpdated() { 50 void FakeSyncScheduler::OnCredentialsUpdated() {
47 51
48 } 52 }
49 53
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 } 87 }
84 88
85 void FakeSyncScheduler::OnReceivedGuRetryDelay( 89 void FakeSyncScheduler::OnReceivedGuRetryDelay(
86 const base::TimeDelta& delay) { 90 const base::TimeDelta& delay) {
87 } 91 }
88 92
89 void FakeSyncScheduler::OnReceivedMigrationRequest(ModelTypeSet types) { 93 void FakeSyncScheduler::OnReceivedMigrationRequest(ModelTypeSet types) {
90 } 94 }
91 95
92 } // namespace syncer 96 } // namespace syncer
OLDNEW
« sync/engine/syncer.h ('K') | « sync/test/engine/fake_sync_scheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698