| 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 "chrome/browser/sync/glue/sync_backend_host_mock.h" | 5 #include "chrome/browser/sync/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 | 8 |
| 9 namespace browser_sync { | 9 namespace browser_sync { |
| 10 | 10 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 131 |
| 132 void SyncBackendHostMock::GetAllNodesForTypes( | 132 void SyncBackendHostMock::GetAllNodesForTypes( |
| 133 syncer::ModelTypeSet types, | 133 syncer::ModelTypeSet types, |
| 134 base::Callback<void(const std::vector<syncer::ModelType>& type, | 134 base::Callback<void(const std::vector<syncer::ModelType>& type, |
| 135 ScopedVector<base::ListValue>) > callback) {} | 135 ScopedVector<base::ListValue>) > callback) {} |
| 136 | 136 |
| 137 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) { | 137 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) { |
| 138 fail_initial_download_ = should_fail; | 138 fail_initial_download_ = should_fail; |
| 139 } | 139 } |
| 140 | 140 |
| 141 void SyncBackendHostMock::ClearServerData( |
| 142 const syncer::SyncManager::ClearServerDataCallback& callback) { |
| 143 NOTIMPLEMENTED(); |
| 144 } |
| 145 |
| 141 } // namespace browser_sync | 146 } // namespace browser_sync |
| OLD | NEW |