OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/fake_sync_service.h" | 5 #include "components/sync/driver/fake_sync_service.h" |
6 | 6 |
7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "components/sync/driver/data_type_controller.h" | 9 #include "components/sync/driver/data_type_controller.h" |
10 #include "components/sync/syncable/base_transaction.h" | 10 #include "components/sync/syncable/base_transaction.h" |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 return base::WeakPtr<JsController>(); | 203 return base::WeakPtr<JsController>(); |
204 } | 204 } |
205 | 205 |
206 void FakeSyncService::GetAllNodes( | 206 void FakeSyncService::GetAllNodes( |
207 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {} | 207 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {} |
208 | 208 |
209 SigninManagerBase* FakeSyncService::signin() const { | 209 SigninManagerBase* FakeSyncService::signin() const { |
210 return nullptr; | 210 return nullptr; |
211 } | 211 } |
212 | 212 |
| 213 GlobalIdMapper* FakeSyncService::GetGlobalIdMapper() const { |
| 214 return nullptr; |
| 215 } |
| 216 |
213 bool FakeSyncService::IsPassphraseRequired() const { | 217 bool FakeSyncService::IsPassphraseRequired() const { |
214 return false; | 218 return false; |
215 } | 219 } |
216 | 220 |
217 ModelTypeSet FakeSyncService::GetEncryptedDataTypes() const { | 221 ModelTypeSet FakeSyncService::GetEncryptedDataTypes() const { |
218 return ModelTypeSet(); | 222 return ModelTypeSet(); |
219 } | 223 } |
220 | 224 |
221 void FakeSyncService::Shutdown() {} | 225 void FakeSyncService::Shutdown() {} |
222 | 226 |
223 } // namespace syncer | 227 } // namespace syncer |
OLD | NEW |