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_driver/fake_sync_service.h" | 10 #include "components/sync/driver/fake_sync_service.h" |
11 #include "components/sync_driver/sync_prefs.h" | 11 #include "components/sync/driver/sync_prefs.h" |
12 | 12 |
13 namespace sync_driver { | 13 namespace sync_driver { |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 void DummyRegisterPlatformTypesCallback(SyncService* sync_service, | 17 void DummyRegisterPlatformTypesCallback(SyncService* sync_service, |
18 syncer::ModelTypeSet, | 18 syncer::ModelTypeSet, |
19 syncer::ModelTypeSet) {} | 19 syncer::ModelTypeSet) {} |
20 | 20 |
21 } // namespace | 21 } // namespace |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 SyncApiComponentFactory* FakeSyncClient::GetSyncApiComponentFactory() { | 111 SyncApiComponentFactory* FakeSyncClient::GetSyncApiComponentFactory() { |
112 return factory_; | 112 return factory_; |
113 } | 113 } |
114 | 114 |
115 void FakeSyncClient::SetModelTypeService( | 115 void FakeSyncClient::SetModelTypeService( |
116 syncer_v2::ModelTypeService* model_type_service) { | 116 syncer_v2::ModelTypeService* model_type_service) { |
117 model_type_service_ = model_type_service; | 117 model_type_service_ = model_type_service; |
118 } | 118 } |
119 | 119 |
120 } // namespace sync_driver | 120 } // namespace sync_driver |
OLD | NEW |