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/bookmarks/bookmark_model_factory.h" | 7 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| 8 #include "chrome/browser/extensions/api/storage/settings_frontend.h" |
8 #include "chrome/browser/extensions/app_notification_manager.h" | 9 #include "chrome/browser/extensions/app_notification_manager.h" |
9 #include "chrome/browser/extensions/extension_service.h" | 10 #include "chrome/browser/extensions/extension_service.h" |
10 #include "chrome/browser/extensions/extension_system.h" | 11 #include "chrome/browser/extensions/extension_system.h" |
11 #include "chrome/browser/extensions/extension_system_factory.h" | 12 #include "chrome/browser/extensions/extension_system_factory.h" |
12 #include "chrome/browser/extensions/settings/settings_frontend.h" | |
13 #include "chrome/browser/history/history.h" | 13 #include "chrome/browser/history/history.h" |
14 #include "chrome/browser/history/history_service_factory.h" | 14 #include "chrome/browser/history/history_service_factory.h" |
15 #include "chrome/browser/prefs/pref_model_associator.h" | 15 #include "chrome/browser/prefs/pref_model_associator.h" |
16 #include "chrome/browser/prefs/pref_service.h" | 16 #include "chrome/browser/prefs/pref_service.h" |
17 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
18 #include "chrome/browser/search_engines/template_url_service.h" | 18 #include "chrome/browser/search_engines/template_url_service.h" |
19 #include "chrome/browser/search_engines/template_url_service_factory.h" | 19 #include "chrome/browser/search_engines/template_url_service_factory.h" |
20 #include "chrome/browser/signin/signin_manager.h" | 20 #include "chrome/browser/signin/signin_manager.h" |
21 #include "chrome/browser/signin/signin_manager_factory.h" | 21 #include "chrome/browser/signin/signin_manager_factory.h" |
22 #include "chrome/browser/sync/glue/app_notification_data_type_controller.h" | 22 #include "chrome/browser/sync/glue/app_notification_data_type_controller.h" |
(...skipping 16 matching lines...) Expand all Loading... |
39 #include "chrome/browser/sync/glue/session_model_associator.h" | 39 #include "chrome/browser/sync/glue/session_model_associator.h" |
40 #include "chrome/browser/sync/glue/shared_change_processor.h" | 40 #include "chrome/browser/sync/glue/shared_change_processor.h" |
41 #include "chrome/browser/sync/glue/sync_backend_host.h" | 41 #include "chrome/browser/sync/glue/sync_backend_host.h" |
42 #include "chrome/browser/sync/glue/theme_data_type_controller.h" | 42 #include "chrome/browser/sync/glue/theme_data_type_controller.h" |
43 #include "chrome/browser/sync/glue/typed_url_change_processor.h" | 43 #include "chrome/browser/sync/glue/typed_url_change_processor.h" |
44 #include "chrome/browser/sync/glue/typed_url_data_type_controller.h" | 44 #include "chrome/browser/sync/glue/typed_url_data_type_controller.h" |
45 #include "chrome/browser/sync/glue/typed_url_model_associator.h" | 45 #include "chrome/browser/sync/glue/typed_url_model_associator.h" |
46 #include "chrome/browser/sync/glue/ui_data_type_controller.h" | 46 #include "chrome/browser/sync/glue/ui_data_type_controller.h" |
47 #include "chrome/browser/sync/profile_sync_components_factory_impl.h" | 47 #include "chrome/browser/sync/profile_sync_components_factory_impl.h" |
48 #include "chrome/browser/sync/profile_sync_service.h" | 48 #include "chrome/browser/sync/profile_sync_service.h" |
| 49 #include "chrome/browser/themes/theme_service.h" |
49 #include "chrome/browser/themes/theme_service_factory.h" | 50 #include "chrome/browser/themes/theme_service_factory.h" |
50 #include "chrome/browser/themes/theme_service.h" | |
51 #include "chrome/browser/themes/theme_syncable_service.h" | 51 #include "chrome/browser/themes/theme_syncable_service.h" |
52 #include "chrome/browser/webdata/autocomplete_syncable_service.h" | 52 #include "chrome/browser/webdata/autocomplete_syncable_service.h" |
53 #include "chrome/browser/webdata/autofill_profile_syncable_service.h" | 53 #include "chrome/browser/webdata/autofill_profile_syncable_service.h" |
54 #include "chrome/browser/webdata/web_data_service.h" | 54 #include "chrome/browser/webdata/web_data_service.h" |
55 #include "chrome/browser/webdata/web_data_service_factory.h" | 55 #include "chrome/browser/webdata/web_data_service_factory.h" |
56 #include "chrome/common/chrome_switches.h" | 56 #include "chrome/common/chrome_switches.h" |
57 #include "chrome/common/pref_names.h" | 57 #include "chrome/common/pref_names.h" |
58 #include "content/public/browser/browser_thread.h" | 58 #include "content/public/browser/browser_thread.h" |
59 #include "sync/api/syncable_service.h" | 59 #include "sync/api/syncable_service.h" |
60 | 60 |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 ProfileSyncComponentsFactory::SyncComponents | 369 ProfileSyncComponentsFactory::SyncComponents |
370 ProfileSyncComponentsFactoryImpl::CreateSessionSyncComponents( | 370 ProfileSyncComponentsFactoryImpl::CreateSessionSyncComponents( |
371 ProfileSyncService* profile_sync_service, | 371 ProfileSyncService* profile_sync_service, |
372 DataTypeErrorHandler* error_handler) { | 372 DataTypeErrorHandler* error_handler) { |
373 SessionModelAssociator* model_associator = | 373 SessionModelAssociator* model_associator = |
374 new SessionModelAssociator(profile_sync_service, error_handler); | 374 new SessionModelAssociator(profile_sync_service, error_handler); |
375 SessionChangeProcessor* change_processor = | 375 SessionChangeProcessor* change_processor = |
376 new SessionChangeProcessor(error_handler, model_associator); | 376 new SessionChangeProcessor(error_handler, model_associator); |
377 return SyncComponents(model_associator, change_processor); | 377 return SyncComponents(model_associator, change_processor); |
378 } | 378 } |
OLD | NEW |