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 "chrome/browser/sync/chrome_sync_client.h" | 5 #include "chrome/browser/sync/chrome_sync_client.h" |
6 | 6 |
7 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 7 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
8 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 8 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
9 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" | 9 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" |
10 #include "chrome/browser/history/history_service_factory.h" | 10 #include "chrome/browser/history/history_service_factory.h" |
11 #include "chrome/browser/password_manager/password_store_factory.h" | 11 #include "chrome/browser/password_manager/password_store_factory.h" |
12 #include "chrome/browser/prefs/pref_service_syncable.h" | |
13 #include "chrome/browser/prefs/pref_service_syncable_util.h" | 12 #include "chrome/browser/prefs/pref_service_syncable_util.h" |
14 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
15 #include "chrome/browser/search_engines/template_url_service_factory.h" | 14 #include "chrome/browser/search_engines/template_url_service_factory.h" |
16 #include "chrome/browser/sync/profile_sync_components_factory_impl.h" | 15 #include "chrome/browser/sync/profile_sync_components_factory_impl.h" |
17 #include "chrome/browser/sync/profile_sync_service.h" | 16 #include "chrome/browser/sync/profile_sync_service.h" |
18 #include "chrome/browser/sync/profile_sync_service_factory.h" | 17 #include "chrome/browser/sync/profile_sync_service_factory.h" |
19 #include "chrome/browser/themes/theme_service.h" | 18 #include "chrome/browser/themes/theme_service.h" |
20 #include "chrome/browser/themes/theme_service_factory.h" | 19 #include "chrome/browser/themes/theme_service_factory.h" |
21 #include "chrome/browser/themes/theme_syncable_service.h" | 20 #include "chrome/browser/themes/theme_syncable_service.h" |
22 #include "chrome/browser/web_data_service_factory.h" | 21 #include "chrome/browser/web_data_service_factory.h" |
23 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service
.h" | 22 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service
.h" |
24 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser
vice.h" | 23 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser
vice.h" |
25 #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_sync
able_service.h" | 24 #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_sync
able_service.h" |
26 #include "components/autofill/core/browser/webdata/autofill_wallet_syncable_serv
ice.h" | 25 #include "components/autofill/core/browser/webdata/autofill_wallet_syncable_serv
ice.h" |
27 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 26 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
28 #include "components/dom_distiller/core/dom_distiller_service.h" | 27 #include "components/dom_distiller/core/dom_distiller_service.h" |
29 #include "components/history/core/browser/history_service.h" | 28 #include "components/history/core/browser/history_service.h" |
30 #include "components/password_manager/core/browser/password_store.h" | 29 #include "components/password_manager/core/browser/password_store.h" |
| 30 #include "components/syncable_prefs/pref_service_syncable.h" |
31 #include "content/public/browser/browser_thread.h" | 31 #include "content/public/browser/browser_thread.h" |
32 | 32 |
33 #if defined(ENABLE_APP_LIST) | 33 #if defined(ENABLE_APP_LIST) |
34 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" | 34 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" |
35 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 35 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
36 #include "ui/app_list/app_list_switches.h" | 36 #include "ui/app_list/app_list_switches.h" |
37 #endif | 37 #endif |
38 | 38 |
39 #if defined(ENABLE_EXTENSIONS) | 39 #if defined(ENABLE_EXTENSIONS) |
40 #include "chrome/browser/extensions/api/storage/settings_sync_util.h" | 40 #include "chrome/browser/extensions/api/storage/settings_sync_util.h" |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 return base::WeakPtr<syncer::SyncableService>(); | 250 return base::WeakPtr<syncer::SyncableService>(); |
251 } | 251 } |
252 } | 252 } |
253 | 253 |
254 sync_driver::SyncApiComponentFactory* | 254 sync_driver::SyncApiComponentFactory* |
255 ChromeSyncClient::GetSyncApiComponentFactory() { | 255 ChromeSyncClient::GetSyncApiComponentFactory() { |
256 return component_factory_; | 256 return component_factory_; |
257 } | 257 } |
258 | 258 |
259 } // namespace browser_sync | 259 } // namespace browser_sync |
OLD | NEW |