| 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/browsing_data_remover_factory.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_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" |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 AboutSigninInternalsFactory::GetInstance(); | 192 AboutSigninInternalsFactory::GetInstance(); |
| 193 AccountInvestigatorFactory::GetInstance(); | 193 AccountInvestigatorFactory::GetInstance(); |
| 194 AccountTrackerServiceFactory::GetInstance(); | 194 AccountTrackerServiceFactory::GetInstance(); |
| 195 AccountFetcherServiceFactory::GetInstance(); | 195 AccountFetcherServiceFactory::GetInstance(); |
| 196 autofill::PersonalDataManagerFactory::GetInstance(); | 196 autofill::PersonalDataManagerFactory::GetInstance(); |
| 197 #if BUILDFLAG(ENABLE_BACKGROUND) | 197 #if BUILDFLAG(ENABLE_BACKGROUND) |
| 198 BackgroundContentsServiceFactory::GetInstance(); | 198 BackgroundContentsServiceFactory::GetInstance(); |
| 199 #endif | 199 #endif |
| 200 BookmarkModelFactory::GetInstance(); | 200 BookmarkModelFactory::GetInstance(); |
| 201 BookmarkUndoServiceFactory::GetInstance(); | 201 BookmarkUndoServiceFactory::GetInstance(); |
| 202 BrowsingDataRemoverFactory::GetInstance(); | |
| 203 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) | 202 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) |
| 204 CaptivePortalServiceFactory::GetInstance(); | 203 CaptivePortalServiceFactory::GetInstance(); |
| 205 #endif | 204 #endif |
| 206 CertificateReportingServiceFactory::GetInstance(); | 205 CertificateReportingServiceFactory::GetInstance(); |
| 207 #if defined(OS_ANDROID) | 206 #if defined(OS_ANDROID) |
| 208 chrome::android::DataUseUITabModelFactory::GetInstance(); | 207 chrome::android::DataUseUITabModelFactory::GetInstance(); |
| 209 #endif | 208 #endif |
| 210 UINetworkQualityEstimatorServiceFactory::GetInstance(); | 209 ChromeBrowsingDataRemoverDelegateFactory::GetInstance(); |
| 210 #if !defined(OS_ANDROID) |
| 211 ChromeCryptAuthServiceFactory::GetInstance(); |
| 212 #endif |
| 211 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 213 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
| 212 CloudPrintProxyServiceFactory::GetInstance(); | 214 CloudPrintProxyServiceFactory::GetInstance(); |
| 213 #endif | 215 #endif |
| 214 CookieSettingsFactory::GetInstance(); | 216 CookieSettingsFactory::GetInstance(); |
| 215 #if !defined(OS_ANDROID) | |
| 216 ChromeCryptAuthServiceFactory::GetInstance(); | |
| 217 #endif | |
| 218 #if BUILDFLAG(ENABLE_EXTENSIONS) | 217 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 219 ExtensionWelcomeNotificationFactory::GetInstance(); | 218 ExtensionWelcomeNotificationFactory::GetInstance(); |
| 220 #endif | 219 #endif |
| 221 NotifierStateTrackerFactory::GetInstance(); | 220 NotifierStateTrackerFactory::GetInstance(); |
| 222 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance(); | 221 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance(); |
| 223 #if defined(OS_WIN) | 222 #if defined(OS_WIN) |
| 224 SMSServiceFactory::GetInstance(); | 223 SMSServiceFactory::GetInstance(); |
| 225 #endif | 224 #endif |
| 226 dom_distiller::DomDistillerServiceFactory::GetInstance(); | 225 dom_distiller::DomDistillerServiceFactory::GetInstance(); |
| 227 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); | 226 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 SpellcheckServiceFactory::GetInstance(); | 332 SpellcheckServiceFactory::GetInstance(); |
| 334 #endif | 333 #endif |
| 335 suggestions::SuggestionsServiceFactory::GetInstance(); | 334 suggestions::SuggestionsServiceFactory::GetInstance(); |
| 336 ThumbnailServiceFactory::GetInstance(); | 335 ThumbnailServiceFactory::GetInstance(); |
| 337 TabRestoreServiceFactory::GetInstance(); | 336 TabRestoreServiceFactory::GetInstance(); |
| 338 TemplateURLFetcherFactory::GetInstance(); | 337 TemplateURLFetcherFactory::GetInstance(); |
| 339 TemplateURLServiceFactory::GetInstance(); | 338 TemplateURLServiceFactory::GetInstance(); |
| 340 #if defined(OS_WIN) | 339 #if defined(OS_WIN) |
| 341 TriggeredProfileResetterFactory::GetInstance(); | 340 TriggeredProfileResetterFactory::GetInstance(); |
| 342 #endif | 341 #endif |
| 342 UINetworkQualityEstimatorServiceFactory::GetInstance(); |
| 343 #if !defined(OS_ANDROID) | 343 #if !defined(OS_ANDROID) |
| 344 UsbChooserContextFactory::GetInstance(); | 344 UsbChooserContextFactory::GetInstance(); |
| 345 #endif | 345 #endif |
| 346 WebDataServiceFactory::GetInstance(); | 346 WebDataServiceFactory::GetInstance(); |
| 347 } | 347 } |
| 348 | 348 |
| 349 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 349 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 350 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 350 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 351 } | 351 } |
| OLD | NEW |