| 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" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #include "chrome/browser/policy/profile_policy_connector_factory.h" | 41 #include "chrome/browser/policy/profile_policy_connector_factory.h" |
| 42 #include "chrome/browser/policy/schema_registry_service_factory.h" | 42 #include "chrome/browser/policy/schema_registry_service_factory.h" |
| 43 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" | 43 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" |
| 44 #include "chrome/browser/predictors/predictor_database_factory.h" | 44 #include "chrome/browser/predictors/predictor_database_factory.h" |
| 45 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" | 45 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" |
| 46 #include "chrome/browser/prerender/prerender_link_manager_factory.h" | 46 #include "chrome/browser/prerender/prerender_link_manager_factory.h" |
| 47 #include "chrome/browser/prerender/prerender_manager_factory.h" | 47 #include "chrome/browser/prerender/prerender_manager_factory.h" |
| 48 #include "chrome/browser/prerender/prerender_message_filter.h" | 48 #include "chrome/browser/prerender/prerender_message_filter.h" |
| 49 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" | 49 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" |
| 50 #include "chrome/browser/profiles/gaia_info_update_service_factory.h" | 50 #include "chrome/browser/profiles/gaia_info_update_service_factory.h" |
| 51 #include "chrome/browser/safe_browsing/certificate_reporting_service_factory.h" |
| 51 #include "chrome/browser/search/instant_service_factory.h" | 52 #include "chrome/browser/search/instant_service_factory.h" |
| 52 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" | 53 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" |
| 53 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" | 54 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" |
| 54 #include "chrome/browser/search_engines/template_url_service_factory.h" | 55 #include "chrome/browser/search_engines/template_url_service_factory.h" |
| 55 #include "chrome/browser/sessions/session_service_factory.h" | 56 #include "chrome/browser/sessions/session_service_factory.h" |
| 56 #include "chrome/browser/sessions/tab_restore_service_factory.h" | 57 #include "chrome/browser/sessions/tab_restore_service_factory.h" |
| 57 #include "chrome/browser/signin/about_signin_internals_factory.h" | 58 #include "chrome/browser/signin/about_signin_internals_factory.h" |
| 58 #include "chrome/browser/signin/account_fetcher_service_factory.h" | 59 #include "chrome/browser/signin/account_fetcher_service_factory.h" |
| 59 #include "chrome/browser/signin/account_investigator_factory.h" | 60 #include "chrome/browser/signin/account_investigator_factory.h" |
| 60 #include "chrome/browser/signin/account_tracker_service_factory.h" | 61 #include "chrome/browser/signin/account_tracker_service_factory.h" |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 autofill::PersonalDataManagerFactory::GetInstance(); | 197 autofill::PersonalDataManagerFactory::GetInstance(); |
| 197 #if BUILDFLAG(ENABLE_BACKGROUND) | 198 #if BUILDFLAG(ENABLE_BACKGROUND) |
| 198 BackgroundContentsServiceFactory::GetInstance(); | 199 BackgroundContentsServiceFactory::GetInstance(); |
| 199 #endif | 200 #endif |
| 200 BookmarkModelFactory::GetInstance(); | 201 BookmarkModelFactory::GetInstance(); |
| 201 BookmarkUndoServiceFactory::GetInstance(); | 202 BookmarkUndoServiceFactory::GetInstance(); |
| 202 BrowsingDataRemoverFactory::GetInstance(); | 203 BrowsingDataRemoverFactory::GetInstance(); |
| 203 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) | 204 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) |
| 204 CaptivePortalServiceFactory::GetInstance(); | 205 CaptivePortalServiceFactory::GetInstance(); |
| 205 #endif | 206 #endif |
| 207 CertificateReportingServiceFactory::GetInstance(); |
| 206 #if defined(OS_ANDROID) | 208 #if defined(OS_ANDROID) |
| 207 chrome::android::DataUseUITabModelFactory::GetInstance(); | 209 chrome::android::DataUseUITabModelFactory::GetInstance(); |
| 208 #endif | 210 #endif |
| 209 UINetworkQualityEstimatorServiceFactory::GetInstance(); | 211 UINetworkQualityEstimatorServiceFactory::GetInstance(); |
| 210 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 212 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
| 211 CloudPrintProxyServiceFactory::GetInstance(); | 213 CloudPrintProxyServiceFactory::GetInstance(); |
| 212 #endif | 214 #endif |
| 213 CookieSettingsFactory::GetInstance(); | 215 CookieSettingsFactory::GetInstance(); |
| 214 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) | 216 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) |
| 215 CrossDevicePromoFactory::GetInstance(); | 217 CrossDevicePromoFactory::GetInstance(); |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 #endif | 346 #endif |
| 345 #if !defined(OS_ANDROID) | 347 #if !defined(OS_ANDROID) |
| 346 UsbChooserContextFactory::GetInstance(); | 348 UsbChooserContextFactory::GetInstance(); |
| 347 #endif | 349 #endif |
| 348 WebDataServiceFactory::GetInstance(); | 350 WebDataServiceFactory::GetInstance(); |
| 349 } | 351 } |
| 350 | 352 |
| 351 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 353 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 352 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 354 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 353 } | 355 } |
| OLD | NEW |