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

Side by Side Diff: components/sync/driver/glue/sync_backend_host_mock.cc

Issue 2284283002: Remove stl_util's STLElementDeleter from sync. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_mock.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 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 "components/sync/driver/glue/sync_backend_host_mock.h" 5 #include "components/sync/driver/glue/sync_backend_host_mock.h"
6 6
7 #include "components/sync/core/activation_context.h" 7 #include "components/sync/core/activation_context.h"
8 #include "components/sync/driver/sync_frontend.h" 8 #include "components/sync/driver/sync_frontend.h"
9 9
10 namespace browser_sync { 10 namespace browser_sync {
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 void SyncBackendHostMock::DisableProtocolEventForwarding() {} 134 void SyncBackendHostMock::DisableProtocolEventForwarding() {}
135 135
136 void SyncBackendHostMock::EnableDirectoryTypeDebugInfoForwarding() {} 136 void SyncBackendHostMock::EnableDirectoryTypeDebugInfoForwarding() {}
137 137
138 void SyncBackendHostMock::DisableDirectoryTypeDebugInfoForwarding() {} 138 void SyncBackendHostMock::DisableDirectoryTypeDebugInfoForwarding() {}
139 139
140 void SyncBackendHostMock::GetAllNodesForTypes( 140 void SyncBackendHostMock::GetAllNodesForTypes(
141 syncer::ModelTypeSet types, 141 syncer::ModelTypeSet types,
142 base::Callback<void(const std::vector<syncer::ModelType>& type, 142 base::Callback<void(const std::vector<syncer::ModelType>& type,
143 ScopedVector<base::ListValue>)> callback) {} 143 std::vector<std::unique_ptr<base::ListValue>>)>
144 callback) {}
144 145
145 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) { 146 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) {
146 fail_initial_download_ = should_fail; 147 fail_initial_download_ = should_fail;
147 } 148 }
148 149
149 void SyncBackendHostMock::ClearServerData( 150 void SyncBackendHostMock::ClearServerData(
150 const syncer::SyncManager::ClearServerDataCallback& callback) { 151 const syncer::SyncManager::ClearServerDataCallback& callback) {
151 callback.Run(); 152 callback.Run();
152 } 153 }
153 154
154 void SyncBackendHostMock::OnCookieJarChanged(bool account_mismatch, 155 void SyncBackendHostMock::OnCookieJarChanged(bool account_mismatch,
155 bool empty_jar) {} 156 bool empty_jar) {}
156 157
157 } // namespace browser_sync 158 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_mock.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698