Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: components/browser_sync/profile_sync_components_factory_impl.cc

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/browser/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/command_line.h" 9 #include "base/command_line.h"
10 #include "base/feature_list.h" 10 #include "base/feature_list.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.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/autofill_data_type_controller .h" 15 #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" 16 #include "components/autofill/core/browser/webdata/autofill_profile_data_type_co ntroller.h"
17 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 17 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
18 #include "components/autofill/core/common/autofill_pref_names.h" 18 #include "components/autofill/core/common/autofill_pref_names.h"
19 #include "components/autofill/core/common/autofill_switches.h" 19 #include "components/autofill/core/common/autofill_switches.h"
20 #include "components/browser_sync/browser/profile_sync_service.h" 20 #include "components/browser_sync/browser_sync_switches.h"
21 #include "components/browser_sync/common/browser_sync_switches.h" 21 #include "components/browser_sync/profile_sync_service.h"
22 #include "components/dom_distiller/core/dom_distiller_features.h" 22 #include "components/dom_distiller/core/dom_distiller_features.h"
23 #include "components/history/core/browser/history_delete_directives_data_type_co ntroller.h" 23 #include "components/history/core/browser/history_delete_directives_data_type_co ntroller.h"
24 #include "components/history/core/browser/typed_url_data_type_controller.h" 24 #include "components/history/core/browser/typed_url_data_type_controller.h"
25 #include "components/password_manager/core/browser/password_store.h" 25 #include "components/password_manager/core/browser/password_store.h"
26 #include "components/password_manager/sync/browser/password_data_type_controller .h" 26 #include "components/password_manager/sync/browser/password_data_type_controller .h"
27 #include "components/prefs/pref_service.h" 27 #include "components/prefs/pref_service.h"
28 #include "components/sync/core/attachments/attachment_downloader.h" 28 #include "components/sync/core/attachments/attachment_downloader.h"
29 #include "components/sync/core/attachments/attachment_service.h" 29 #include "components/sync/core/attachments/attachment_service.h"
30 #include "components/sync/core/attachments/attachment_service_impl.h" 30 #include "components/sync/core/attachments/attachment_service_impl.h"
31 #include "components/sync/core/attachments/attachment_uploader_impl.h" 31 #include "components/sync/core/attachments/attachment_uploader_impl.h"
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 return SyncComponents(model_associator, change_processor); 419 return SyncComponents(model_associator, change_processor);
420 } 420 }
421 421
422 // static 422 // static
423 void ProfileSyncComponentsFactoryImpl::OverridePrefsForUssTest(bool use_uss) { 423 void ProfileSyncComponentsFactoryImpl::OverridePrefsForUssTest(bool use_uss) {
424 override_prefs_controller_to_uss_for_test_ = use_uss; 424 override_prefs_controller_to_uss_for_test_ = use_uss;
425 } 425 }
426 426
427 bool ProfileSyncComponentsFactoryImpl:: 427 bool ProfileSyncComponentsFactoryImpl::
428 override_prefs_controller_to_uss_for_test_ = false; 428 override_prefs_controller_to_uss_for_test_ = false;
OLDNEW
« no previous file with comments | « components/browser_sync/profile_sync_components_factory_impl.h ('k') | components/browser_sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698