OLD | NEW |
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 Loading... |
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 |
OLD | NEW |