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/api/storage/settings_frontend.h" |
9 #include "chrome/browser/extensions/extension_service.h" | 9 #include "chrome/browser/extensions/extension_service.h" |
10 #include "chrome/browser/extensions/extension_system.h" | 10 #include "chrome/browser/extensions/extension_system.h" |
11 #include "chrome/browser/extensions/extension_system_factory.h" | 11 #include "chrome/browser/extensions/extension_system_factory.h" |
12 #include "chrome/browser/history/history_service.h" | 12 #include "chrome/browser/history/history_service.h" |
13 #include "chrome/browser/history/history_service_factory.h" | 13 #include "chrome/browser/history/history_service_factory.h" |
14 #include "chrome/browser/webdata/autofill_web_data_service.h" | 14 #include "components/webdata/autofill/autofill_webdata_service.h" |
15 #if !defined(OS_ANDROID) | 15 #if !defined(OS_ANDROID) |
16 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service.h" | 16 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service.h" |
17 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac
tory.h" | 17 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac
tory.h" |
18 #endif | 18 #endif |
19 #include "chrome/browser/prefs/pref_model_associator.h" | 19 #include "chrome/browser/prefs/pref_model_associator.h" |
20 #include "chrome/browser/prefs/pref_service_syncable.h" | 20 #include "chrome/browser/prefs/pref_service_syncable.h" |
21 #include "chrome/browser/profiles/profile.h" | 21 #include "chrome/browser/profiles/profile.h" |
22 #include "chrome/browser/search_engines/template_url_service.h" | 22 #include "chrome/browser/search_engines/template_url_service.h" |
23 #include "chrome/browser/search_engines/template_url_service_factory.h" | 23 #include "chrome/browser/search_engines/template_url_service_factory.h" |
24 #include "chrome/browser/signin/signin_manager.h" | 24 #include "chrome/browser/signin/signin_manager.h" |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 ProfileSyncComponentsFactory::SyncComponents | 430 ProfileSyncComponentsFactory::SyncComponents |
431 ProfileSyncComponentsFactoryImpl::CreateSessionSyncComponents( | 431 ProfileSyncComponentsFactoryImpl::CreateSessionSyncComponents( |
432 ProfileSyncService* profile_sync_service, | 432 ProfileSyncService* profile_sync_service, |
433 DataTypeErrorHandler* error_handler) { | 433 DataTypeErrorHandler* error_handler) { |
434 SessionModelAssociator* model_associator = | 434 SessionModelAssociator* model_associator = |
435 new SessionModelAssociator(profile_sync_service, error_handler); | 435 new SessionModelAssociator(profile_sync_service, error_handler); |
436 SessionChangeProcessor* change_processor = | 436 SessionChangeProcessor* change_processor = |
437 new SessionChangeProcessor(error_handler, model_associator); | 437 new SessionChangeProcessor(error_handler, model_associator); |
438 return SyncComponents(model_associator, change_processor); | 438 return SyncComponents(model_associator, change_processor); |
439 } | 439 } |
OLD | NEW |