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

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

Issue 387983004: sync: Support non-blocking initial sync in proto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + fix comment Created 6 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 | Annotate | Revision Log
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 22 matching lines...) Expand all
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
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
OLDNEW
« sync/protocol/sync.proto ('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