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 "build/build_config.h" | 13 #include "build/build_config.h" |
13 #include "components/autofill/core/browser/autofill_wallet_data_type_controller.
h" | 14 #include "components/autofill/core/browser/autofill_wallet_data_type_controller.
h" |
14 #include "components/autofill/core/browser/webdata/autocomplete_sync_bridge.h" | 15 #include "components/autofill/core/browser/webdata/autocomplete_sync_bridge.h" |
15 #include "components/autofill/core/browser/webdata/autofill_data_type_controller
.h" | 16 #include "components/autofill/core/browser/webdata/autofill_data_type_controller
.h" |
16 #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" |
17 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 18 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
18 #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" |
19 #include "components/autofill/core/common/autofill_pref_names.h" | 20 #include "components/autofill/core/common/autofill_pref_names.h" |
20 #include "components/autofill/core/common/autofill_switches.h" | 21 #include "components/autofill/core/common/autofill_switches.h" |
21 #include "components/browser_sync/browser_sync_switches.h" | 22 #include "components/browser_sync/browser_sync_switches.h" |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 | 454 |
454 // static | 455 // static |
455 void ProfileSyncComponentsFactoryImpl::OverridePrefsForUssTest(bool use_uss) { | 456 void ProfileSyncComponentsFactoryImpl::OverridePrefsForUssTest(bool use_uss) { |
456 override_prefs_controller_to_uss_for_test_ = use_uss; | 457 override_prefs_controller_to_uss_for_test_ = use_uss; |
457 } | 458 } |
458 | 459 |
459 bool ProfileSyncComponentsFactoryImpl:: | 460 bool ProfileSyncComponentsFactoryImpl:: |
460 override_prefs_controller_to_uss_for_test_ = false; | 461 override_prefs_controller_to_uss_for_test_ = false; |
461 | 462 |
462 } // namespace browser_sync | 463 } // namespace browser_sync |
OLD | NEW |