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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_mock.cc

Issue 566623003: Refactor syncable DEVICE_INFO type from ChangeProcessor to SyncableService - part 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More CR feedback addressed in DeviceInfoSyncService. Created 6 years, 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/sync/glue/sync_backend_host_mock.h" 5 #include "chrome/browser/sync/glue/sync_backend_host_mock.h"
6 6
7 #include "components/sync_driver/sync_frontend.h" 7 #include "components/sync_driver/sync_frontend.h"
8 8
9 namespace browser_sync { 9 namespace browser_sync {
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 104 }
105 105
106 bool SyncBackendHostMock::IsCryptographerReady( 106 bool SyncBackendHostMock::IsCryptographerReady(
107 const syncer::BaseTransaction* trans) const { 107 const syncer::BaseTransaction* trans) const {
108 return false; 108 return false;
109 } 109 }
110 110
111 void SyncBackendHostMock::GetModelSafeRoutingInfo( 111 void SyncBackendHostMock::GetModelSafeRoutingInfo(
112 syncer::ModelSafeRoutingInfo* out) const {} 112 syncer::ModelSafeRoutingInfo* out) const {}
113 113
114 SyncedDeviceTracker* SyncBackendHostMock::GetSyncedDeviceTracker() const {
115 return NULL;
116 }
117
118 base::MessageLoop* SyncBackendHostMock::GetSyncLoopForTesting() { 114 base::MessageLoop* SyncBackendHostMock::GetSyncLoopForTesting() {
119 return NULL; 115 return NULL;
120 } 116 }
121 117
122 void SyncBackendHostMock::RequestBufferedProtocolEventsAndEnableForwarding() {} 118 void SyncBackendHostMock::RequestBufferedProtocolEventsAndEnableForwarding() {}
123 119
124 void SyncBackendHostMock::DisableProtocolEventForwarding() {} 120 void SyncBackendHostMock::DisableProtocolEventForwarding() {}
125 121
126 void SyncBackendHostMock::EnableDirectoryTypeDebugInfoForwarding() {} 122 void SyncBackendHostMock::EnableDirectoryTypeDebugInfoForwarding() {}
127 123
128 void SyncBackendHostMock::DisableDirectoryTypeDebugInfoForwarding() {} 124 void SyncBackendHostMock::DisableDirectoryTypeDebugInfoForwarding() {}
129 125
130 void SyncBackendHostMock::GetAllNodesForTypes( 126 void SyncBackendHostMock::GetAllNodesForTypes(
131 syncer::ModelTypeSet types, 127 syncer::ModelTypeSet types,
132 base::Callback<void(const std::vector<syncer::ModelType>& type, 128 base::Callback<void(const std::vector<syncer::ModelType>& type,
133 ScopedVector<base::ListValue>) > callback) {} 129 ScopedVector<base::ListValue>) > callback) {}
134 130
135 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) { 131 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) {
136 fail_initial_download_ = should_fail; 132 fail_initial_download_ = should_fail;
137 } 133 }
138 134
139 } // namespace browser_sync 135 } // namespace browser_sync
140 136
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_mock.h ('k') | chrome/browser/sync/glue/synced_device_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698