| 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_driver/sync_frontend.h" | 7 #include "components/sync_driver/sync_frontend.h" |
| 8 #include "sync/internal_api/public/activation_context.h" | 8 #include "sync/internal_api/public/activation_context.h" |
| 9 | 9 |
| 10 namespace browser_sync { | 10 namespace browser_sync { |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) { | 147 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) { |
| 148 fail_initial_download_ = should_fail; | 148 fail_initial_download_ = should_fail; |
| 149 } | 149 } |
| 150 | 150 |
| 151 void SyncBackendHostMock::ClearServerData( | 151 void SyncBackendHostMock::ClearServerData( |
| 152 const syncer::SyncManager::ClearServerDataCallback& callback) { | 152 const syncer::SyncManager::ClearServerDataCallback& callback) { |
| 153 callback.Run(); | 153 callback.Run(); |
| 154 } | 154 } |
| 155 | 155 |
| 156 void SyncBackendHostMock::OnCookieJarChanged(bool account_mismatch) {} |
| 157 |
| 156 } // namespace browser_sync | 158 } // namespace browser_sync |
| OLD | NEW |