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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "build/build_config.h" | 6 #include "build/build_config.h" |
7 #include "chrome/browser/about_flags.h" | 7 #include "chrome/browser/about_flags.h" |
8 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 8 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
9 #include "chrome/browser/bookmarks/enhanced_bookmarks_features.h" | 9 #include "chrome/browser/bookmarks/enhanced_bookmarks_features.h" |
10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 #include "chrome/browser/sync/profile_sync_components_factory_impl.h" | 53 #include "chrome/browser/sync/profile_sync_components_factory_impl.h" |
54 #include "chrome/browser/sync/profile_sync_service.h" | 54 #include "chrome/browser/sync/profile_sync_service.h" |
55 #include "chrome/browser/sync/profile_sync_service_factory.h" | 55 #include "chrome/browser/sync/profile_sync_service_factory.h" |
56 #include "chrome/browser/sync/sessions2/session_data_type_controller2.h" | 56 #include "chrome/browser/sync/sessions2/session_data_type_controller2.h" |
57 #include "chrome/browser/themes/theme_service.h" | 57 #include "chrome/browser/themes/theme_service.h" |
58 #include "chrome/browser/themes/theme_service_factory.h" | 58 #include "chrome/browser/themes/theme_service_factory.h" |
59 #include "chrome/browser/themes/theme_syncable_service.h" | 59 #include "chrome/browser/themes/theme_syncable_service.h" |
60 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" | 60 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" |
61 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 61 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
62 #include "chrome/browser/webdata/autocomplete_syncable_service.h" | 62 #include "chrome/browser/webdata/autocomplete_syncable_service.h" |
63 #include "chrome/browser/webdata/autofill_profile_syncable_service.h" | |
64 #include "chrome/browser/webdata/web_data_service_factory.h" | 63 #include "chrome/browser/webdata/web_data_service_factory.h" |
65 #include "chrome/common/chrome_switches.h" | 64 #include "chrome/common/chrome_switches.h" |
66 #include "chrome/common/pref_names.h" | 65 #include "chrome/common/pref_names.h" |
| 66 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser
vice.h" |
67 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 67 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
68 #include "components/dom_distiller/core/dom_distiller_service.h" | 68 #include "components/dom_distiller/core/dom_distiller_service.h" |
69 #include "content/public/browser/browser_thread.h" | 69 #include "content/public/browser/browser_thread.h" |
70 #include "sync/api/syncable_service.h" | 70 #include "sync/api/syncable_service.h" |
71 | 71 |
72 #if defined(ENABLE_MANAGED_USERS) | 72 #if defined(ENABLE_MANAGED_USERS) |
73 #include "chrome/browser/managed_mode/managed_user_settings_service.h" | 73 #include "chrome/browser/managed_mode/managed_user_settings_service.h" |
74 #include "chrome/browser/managed_mode/managed_user_settings_service_factory.h" | 74 #include "chrome/browser/managed_mode/managed_user_settings_service_factory.h" |
75 #include "chrome/browser/managed_mode/managed_user_shared_settings_service.h" | 75 #include "chrome/browser/managed_mode/managed_user_shared_settings_service.h" |
76 #include "chrome/browser/managed_mode/managed_user_shared_settings_service_facto
ry.h" | 76 #include "chrome/browser/managed_mode/managed_user_shared_settings_service_facto
ry.h" |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 ProfileSyncComponentsFactory::SyncComponents | 528 ProfileSyncComponentsFactory::SyncComponents |
529 ProfileSyncComponentsFactoryImpl::CreateSessionSyncComponents( | 529 ProfileSyncComponentsFactoryImpl::CreateSessionSyncComponents( |
530 ProfileSyncService* profile_sync_service, | 530 ProfileSyncService* profile_sync_service, |
531 DataTypeErrorHandler* error_handler) { | 531 DataTypeErrorHandler* error_handler) { |
532 SessionModelAssociator* model_associator = | 532 SessionModelAssociator* model_associator = |
533 new SessionModelAssociator(profile_sync_service, error_handler); | 533 new SessionModelAssociator(profile_sync_service, error_handler); |
534 SessionChangeProcessor* change_processor = | 534 SessionChangeProcessor* change_processor = |
535 new SessionChangeProcessor(error_handler, model_associator); | 535 new SessionChangeProcessor(error_handler, model_associator); |
536 return SyncComponents(model_associator, change_processor); | 536 return SyncComponents(model_associator, change_processor); |
537 } | 537 } |
OLD | NEW |