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

Side by Side Diff: components/sync_driver/glue/sync_backend_host_mock.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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"
7 #include "components/sync_driver/sync_frontend.h" 8 #include "components/sync_driver/sync_frontend.h"
8 #include "sync/internal_api/public/activation_context.h"
9 9
10 namespace browser_sync { 10 namespace browser_sync {
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 sync_driver::SyncFrontend* frontend, 18 sync_driver::SyncFrontend* frontend,
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 void SyncBackendHostMock::ClearServerData( 152 void SyncBackendHostMock::ClearServerData(
153 const syncer::SyncManager::ClearServerDataCallback& callback) { 153 const syncer::SyncManager::ClearServerDataCallback& callback) {
154 callback.Run(); 154 callback.Run();
155 } 155 }
156 156
157 void SyncBackendHostMock::OnCookieJarChanged(bool account_mismatch, 157 void SyncBackendHostMock::OnCookieJarChanged(bool account_mismatch,
158 bool empty_jar) {} 158 bool empty_jar) {}
159 159
160 } // namespace browser_sync 160 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/sync_driver/glue/sync_backend_host_mock.h ('k') | components/sync_driver/glue/sync_backend_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698