OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" | 5 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" | 11 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" |
12 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" | 12 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" |
13 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 13 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
14 #include "chrome/browser/background/background_contents_service_factory.h" | 14 #include "chrome/browser/background/background_contents_service_factory.h" |
15 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 15 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
16 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate_fac
tory.h" | 16 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate_fac
tory.h" |
17 #include "chrome/browser/chrome_browser_main.h" | 17 #include "chrome/browser/chrome_browser_main.h" |
18 #include "chrome/browser/content_settings/cookie_settings_factory.h" | 18 #include "chrome/browser/content_settings/cookie_settings_factory.h" |
19 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" | 19 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" |
20 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" | 20 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" |
21 #include "chrome/browser/data_use_measurement/chrome_data_use_ascriber_service_f
actory.h" | 21 #include "chrome/browser/data_use_measurement/chrome_data_use_ascriber_service_f
actory.h" |
22 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" | 22 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" |
23 #include "chrome/browser/domain_reliability/service_factory.h" | 23 #include "chrome/browser/domain_reliability/service_factory.h" |
24 #include "chrome/browser/download/download_service_factory.h" | 24 #include "chrome/browser/download/download_core_service_factory.h" |
25 #include "chrome/browser/engagement/site_engagement_service.h" | 25 #include "chrome/browser/engagement/site_engagement_service.h" |
26 #include "chrome/browser/engagement/site_engagement_service_factory.h" | 26 #include "chrome/browser/engagement/site_engagement_service_factory.h" |
27 #include "chrome/browser/favicon/favicon_service_factory.h" | 27 #include "chrome/browser/favicon/favicon_service_factory.h" |
28 #include "chrome/browser/google/google_url_tracker_factory.h" | 28 #include "chrome/browser/google/google_url_tracker_factory.h" |
29 #include "chrome/browser/history/history_service_factory.h" | 29 #include "chrome/browser/history/history_service_factory.h" |
30 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" | 30 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" |
31 #include "chrome/browser/media/router/media_router_factory.h" | 31 #include "chrome/browser/media/router/media_router_factory.h" |
32 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" | 32 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" |
33 #include "chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.h" | 33 #include "chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.h" |
34 #include "chrome/browser/notifications/extension_welcome_notification_factory.h" | 34 #include "chrome/browser/notifications/extension_welcome_notification_factory.h" |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 #if BUILDFLAG(ENABLE_EXTENSIONS) | 213 #if BUILDFLAG(ENABLE_EXTENSIONS) |
214 ExtensionWelcomeNotificationFactory::GetInstance(); | 214 ExtensionWelcomeNotificationFactory::GetInstance(); |
215 #endif | 215 #endif |
216 NotifierStateTrackerFactory::GetInstance(); | 216 NotifierStateTrackerFactory::GetInstance(); |
217 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance(); | 217 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance(); |
218 #if defined(OS_WIN) | 218 #if defined(OS_WIN) |
219 SMSServiceFactory::GetInstance(); | 219 SMSServiceFactory::GetInstance(); |
220 #endif | 220 #endif |
221 dom_distiller::DomDistillerServiceFactory::GetInstance(); | 221 dom_distiller::DomDistillerServiceFactory::GetInstance(); |
222 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); | 222 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); |
223 DownloadServiceFactory::GetInstance(); | 223 DownloadCoreServiceFactory::GetInstance(); |
224 #if BUILDFLAG(ENABLE_EXTENSIONS) | 224 #if BUILDFLAG(ENABLE_EXTENSIONS) |
225 EasyUnlockServiceFactory::GetInstance(); | 225 EasyUnlockServiceFactory::GetInstance(); |
226 EnhancedBookmarkKeyServiceFactory::GetInstance(); | 226 EnhancedBookmarkKeyServiceFactory::GetInstance(); |
227 #endif | 227 #endif |
228 #if defined(OS_CHROMEOS) | 228 #if defined(OS_CHROMEOS) |
229 chromeos::PrinterDetectorFactory::GetInstance(); | 229 chromeos::PrinterDetectorFactory::GetInstance(); |
230 chromeos::CupsPrintJobManagerFactory::GetInstance(); | 230 chromeos::CupsPrintJobManagerFactory::GetInstance(); |
231 chromeos::PrintersManagerFactory::GetInstance(); | 231 chromeos::PrintersManagerFactory::GetInstance(); |
232 TetherServiceFactory::GetInstance(); | 232 TetherServiceFactory::GetInstance(); |
233 extensions::VerifyTrustAPI::GetFactoryInstance(); | 233 extensions::VerifyTrustAPI::GetFactoryInstance(); |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 UINetworkQualityEstimatorServiceFactory::GetInstance(); | 337 UINetworkQualityEstimatorServiceFactory::GetInstance(); |
338 #if !defined(OS_ANDROID) | 338 #if !defined(OS_ANDROID) |
339 UsbChooserContextFactory::GetInstance(); | 339 UsbChooserContextFactory::GetInstance(); |
340 #endif | 340 #endif |
341 WebDataServiceFactory::GetInstance(); | 341 WebDataServiceFactory::GetInstance(); |
342 } | 342 } |
343 | 343 |
344 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 344 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
345 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 345 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
346 } | 346 } |
OLD | NEW |