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

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

Issue 351523003: sync: Mass rename of non-blocking sync classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: const ref some smart pointers 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 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 void SyncBackendHostMock::ActivateDataType( 63 void SyncBackendHostMock::ActivateDataType(
64 syncer::ModelType type, syncer::ModelSafeGroup group, 64 syncer::ModelType type, syncer::ModelSafeGroup group,
65 ChangeProcessor* change_processor) {} 65 ChangeProcessor* change_processor) {}
66 void SyncBackendHostMock::DeactivateDataType(syncer::ModelType type) {} 66 void SyncBackendHostMock::DeactivateDataType(syncer::ModelType type) {}
67 67
68 syncer::UserShare* SyncBackendHostMock::GetUserShare() const { 68 syncer::UserShare* SyncBackendHostMock::GetUserShare() const {
69 return NULL; 69 return NULL;
70 } 70 }
71 71
72 scoped_ptr<syncer::SyncCoreProxy> SyncBackendHostMock::GetSyncCoreProxy() { 72 scoped_ptr<syncer::SyncContextProxy>
73 return scoped_ptr<syncer::SyncCoreProxy>(); 73 SyncBackendHostMock::GetSyncContextProxy() {
74 return scoped_ptr<syncer::SyncContextProxy>();
74 } 75 }
75 76
76 SyncBackendHost::Status SyncBackendHostMock::GetDetailedStatus() { 77 SyncBackendHost::Status SyncBackendHostMock::GetDetailedStatus() {
77 return SyncBackendHost::Status(); 78 return SyncBackendHost::Status();
78 } 79 }
79 80
80 syncer::sessions::SyncSessionSnapshot 81 syncer::sessions::SyncSessionSnapshot
81 SyncBackendHostMock::GetLastSessionSnapshot() const { 82 SyncBackendHostMock::GetLastSessionSnapshot() const {
82 return syncer::sessions::SyncSessionSnapshot(); 83 return syncer::sessions::SyncSessionSnapshot();
83 } 84 }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 syncer::ModelTypeSet types, 127 syncer::ModelTypeSet types,
127 base::Callback<void(const std::vector<syncer::ModelType>& type, 128 base::Callback<void(const std::vector<syncer::ModelType>& type,
128 ScopedVector<base::ListValue>) > callback) {} 129 ScopedVector<base::ListValue>) > callback) {}
129 130
130 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) { 131 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) {
131 fail_initial_download_ = should_fail; 132 fail_initial_download_ = should_fail;
132 } 133 }
133 134
134 } // namespace browser_sync 135 } // namespace browser_sync
135 136
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_mock.h ('k') | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698