OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/browser_sync/profile_sync_components_factory_impl.h" | 5 #include "components/browser_sync/profile_sync_components_factory_impl.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/feature_list.h" | 9 #include "base/feature_list.h" |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 #include "components/autofill/core/browser/autofill_wallet_data_type_controller.
h" | 14 #include "components/autofill/core/browser/autofill_wallet_data_type_controller.
h" |
15 #include "components/autofill/core/browser/webdata/autocomplete_sync_bridge.h" | 15 #include "components/autofill/core/browser/webdata/autocomplete_sync_bridge.h" |
16 #include "components/autofill/core/browser/webdata/autofill_data_type_controller
.h" | 16 #include "components/autofill/core/browser/webdata/autofill_data_type_controller
.h" |
17 #include "components/autofill/core/browser/webdata/autofill_profile_data_type_co
ntroller.h" | 17 #include "components/autofill/core/browser/webdata/autofill_profile_data_type_co
ntroller.h" |
18 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 18 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
19 #include "components/autofill/core/browser/webdata/web_data_model_type_controlle
r.h" | 19 #include "components/autofill/core/browser/webdata/web_data_model_type_controlle
r.h" |
20 #include "components/autofill/core/common/autofill_pref_names.h" | 20 #include "components/autofill/core/common/autofill_pref_names.h" |
21 #include "components/autofill/core/common/autofill_switches.h" | 21 #include "components/autofill/core/common/autofill_switches.h" |
22 #include "components/browser_sync/browser_sync_switches.h" | 22 #include "components/browser_sync/browser_sync_switches.h" |
23 #include "components/browser_sync/profile_sync_service.h" | 23 #include "components/browser_sync/profile_sync_service.h" |
24 #include "components/dom_distiller/core/dom_distiller_features.h" | 24 #include "components/dom_distiller/core/dom_distiller_features.h" |
25 #include "components/history/core/browser/history_delete_directives_data_type_co
ntroller.h" | 25 #include "components/history/core/browser/history_delete_directives_data_type_co
ntroller.h" |
26 #include "components/history/core/browser/typed_url_data_type_controller.h" | 26 #include "components/history/core/browser/typed_url_data_type_controller.h" |
27 #include "components/password_manager/core/browser/password_store.h" | 27 #include "components/password_manager/core/browser/password_store.h" |
28 #include "components/password_manager/sync/browser/password_data_type_controller
.h" | 28 #include "components/password_manager/sync/browser/password_data_type_controller
.h" |
29 #include "components/prefs/pref_service.h" | 29 #include "components/prefs/pref_service.h" |
30 #include "components/reading_list/core/reading_list_switches.h" | 30 #include "components/reading_list/features/reading_list_switches.h" |
31 #include "components/sync/base/report_unrecoverable_error.h" | 31 #include "components/sync/base/report_unrecoverable_error.h" |
32 #include "components/sync/device_info/device_info_data_type_controller.h" | 32 #include "components/sync/device_info/device_info_data_type_controller.h" |
33 #include "components/sync/device_info/local_device_info_provider_impl.h" | 33 #include "components/sync/device_info/local_device_info_provider_impl.h" |
34 #include "components/sync/driver/async_directory_type_controller.h" | 34 #include "components/sync/driver/async_directory_type_controller.h" |
35 #include "components/sync/driver/data_type_manager_impl.h" | 35 #include "components/sync/driver/data_type_manager_impl.h" |
36 #include "components/sync/driver/glue/sync_backend_host_impl.h" | 36 #include "components/sync/driver/glue/sync_backend_host_impl.h" |
37 #include "components/sync/driver/model_type_controller.h" | 37 #include "components/sync/driver/model_type_controller.h" |
38 #include "components/sync/driver/proxy_data_type_controller.h" | 38 #include "components/sync/driver/proxy_data_type_controller.h" |
39 #include "components/sync/driver/sync_client.h" | 39 #include "components/sync/driver/sync_client.h" |
40 #include "components/sync/driver/sync_driver_switches.h" | 40 #include "components/sync/driver/sync_driver_switches.h" |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 | 454 |
455 // static | 455 // static |
456 void ProfileSyncComponentsFactoryImpl::OverridePrefsForUssTest(bool use_uss) { | 456 void ProfileSyncComponentsFactoryImpl::OverridePrefsForUssTest(bool use_uss) { |
457 override_prefs_controller_to_uss_for_test_ = use_uss; | 457 override_prefs_controller_to_uss_for_test_ = use_uss; |
458 } | 458 } |
459 | 459 |
460 bool ProfileSyncComponentsFactoryImpl:: | 460 bool ProfileSyncComponentsFactoryImpl:: |
461 override_prefs_controller_to_uss_for_test_ = false; | 461 override_prefs_controller_to_uss_for_test_ = false; |
462 | 462 |
463 } // namespace browser_sync | 463 } // namespace browser_sync |
OLD | NEW |