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

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

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address comments. Created 4 years, 2 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 "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"
8 #include "components/sync/driver/sync_frontend.h" 7 #include "components/sync/driver/sync_frontend.h"
8 #include "components/sync/engine/activation_context.h"
9 9
10 namespace syncer { 10 namespace syncer {
11 11
12 const char kTestCacheGuid[] = "test-guid"; 12 const char kTestCacheGuid[] = "test-guid";
13 13
14 SyncBackendHostMock::SyncBackendHostMock() : fail_initial_download_(false) {} 14 SyncBackendHostMock::SyncBackendHostMock() : fail_initial_download_(false) {}
15 SyncBackendHostMock::~SyncBackendHostMock() {} 15 SyncBackendHostMock::~SyncBackendHostMock() {}
16 16
17 void SyncBackendHostMock::Initialize( 17 void SyncBackendHostMock::Initialize(
18 SyncFrontend* frontend, 18 SyncFrontend* frontend,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 void SyncBackendHostMock::ClearServerData( 139 void SyncBackendHostMock::ClearServerData(
140 const SyncManager::ClearServerDataCallback& callback) { 140 const SyncManager::ClearServerDataCallback& callback) {
141 callback.Run(); 141 callback.Run();
142 } 142 }
143 143
144 void SyncBackendHostMock::OnCookieJarChanged(bool account_mismatch, 144 void SyncBackendHostMock::OnCookieJarChanged(bool account_mismatch,
145 bool empty_jar) {} 145 bool empty_jar) {}
146 146
147 } // namespace syncer 147 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_impl_unittest.cc ('k') | components/sync/driver/glue/sync_backend_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698