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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 } | 107 } |
108 | 108 |
109 base::MessageLoop* SyncBackendHostMock::GetSyncLoopForTesting() { | 109 base::MessageLoop* SyncBackendHostMock::GetSyncLoopForTesting() { |
110 return NULL; | 110 return NULL; |
111 } | 111 } |
112 | 112 |
113 void SyncBackendHostMock::RequestBufferedProtocolEventsAndEnableForwarding() {} | 113 void SyncBackendHostMock::RequestBufferedProtocolEventsAndEnableForwarding() {} |
114 | 114 |
115 void SyncBackendHostMock::DisableProtocolEventForwarding() {} | 115 void SyncBackendHostMock::DisableProtocolEventForwarding() {} |
116 | 116 |
| 117 void SyncBackendHostMock::GetAllNodesForTypes( |
| 118 syncer::ModelTypeSet types, |
| 119 base::Callback<void(const std::vector<syncer::ModelType>& type, |
| 120 ScopedVector<base::ListValue>) > callback) {} |
| 121 |
117 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) { | 122 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) { |
118 fail_initial_download_ = should_fail; | 123 fail_initial_download_ = should_fail; |
119 } | 124 } |
120 | 125 |
121 } // namespace browser_sync | 126 } // namespace browser_sync |
122 | 127 |
OLD | NEW |