| 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_client.h" | 5 #include "components/sync/driver/fake_sync_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "components/sync/base/extensions_activity.h" | 9 #include "components/sync/base/extensions_activity.h" |
| 10 #include "components/sync/base/sync_prefs.h" |
| 10 #include "components/sync/driver/fake_sync_service.h" | 11 #include "components/sync/driver/fake_sync_service.h" |
| 11 #include "components/sync/driver/sync_prefs.h" | |
| 12 | 12 |
| 13 namespace syncer { | 13 namespace syncer { |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 void DummyRegisterPlatformTypesCallback(SyncService* sync_service, | 17 void DummyRegisterPlatformTypesCallback(SyncService* sync_service, |
| 18 ModelTypeSet, | 18 ModelTypeSet, |
| 19 ModelTypeSet) {} | 19 ModelTypeSet) {} |
| 20 | 20 |
| 21 } // namespace | 21 } // namespace |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 107 |
| 108 SyncApiComponentFactory* FakeSyncClient::GetSyncApiComponentFactory() { | 108 SyncApiComponentFactory* FakeSyncClient::GetSyncApiComponentFactory() { |
| 109 return factory_; | 109 return factory_; |
| 110 } | 110 } |
| 111 | 111 |
| 112 void FakeSyncClient::SetModelTypeService(ModelTypeService* model_type_service) { | 112 void FakeSyncClient::SetModelTypeService(ModelTypeService* model_type_service) { |
| 113 model_type_service_ = model_type_service; | 113 model_type_service_ = model_type_service; |
| 114 } | 114 } |
| 115 | 115 |
| 116 } // namespace syncer | 116 } // namespace syncer |
| OLD | NEW |