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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 AboutSigninInternalsFactory::GetInstance(); | 188 AboutSigninInternalsFactory::GetInstance(); |
189 AccountInvestigatorFactory::GetInstance(); | 189 AccountInvestigatorFactory::GetInstance(); |
190 AccountTrackerServiceFactory::GetInstance(); | 190 AccountTrackerServiceFactory::GetInstance(); |
191 AccountFetcherServiceFactory::GetInstance(); | 191 AccountFetcherServiceFactory::GetInstance(); |
192 autofill::PersonalDataManagerFactory::GetInstance(); | 192 autofill::PersonalDataManagerFactory::GetInstance(); |
193 #if BUILDFLAG(ENABLE_BACKGROUND) | 193 #if BUILDFLAG(ENABLE_BACKGROUND) |
194 BackgroundContentsServiceFactory::GetInstance(); | 194 BackgroundContentsServiceFactory::GetInstance(); |
195 #endif | 195 #endif |
196 BookmarkModelFactory::GetInstance(); | 196 BookmarkModelFactory::GetInstance(); |
197 BookmarkUndoServiceFactory::GetInstance(); | 197 BookmarkUndoServiceFactory::GetInstance(); |
198 BrowsingDataRemoverFactory::GetInstance(); | |
199 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) | 198 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) |
200 CaptivePortalServiceFactory::GetInstance(); | 199 CaptivePortalServiceFactory::GetInstance(); |
201 #endif | 200 #endif |
202 CertificateReportingServiceFactory::GetInstance(); | 201 CertificateReportingServiceFactory::GetInstance(); |
203 #if defined(OS_ANDROID) | 202 #if defined(OS_ANDROID) |
204 chrome::android::DataUseUITabModelFactory::GetInstance(); | 203 chrome::android::DataUseUITabModelFactory::GetInstance(); |
205 #endif | 204 #endif |
206 UINetworkQualityEstimatorServiceFactory::GetInstance(); | 205 ChromeBrowsingDataRemoverDelegateFactory::GetInstance(); |
| 206 #if !defined(OS_ANDROID) |
| 207 ChromeCryptAuthServiceFactory::GetInstance(); |
| 208 #endif |
207 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 209 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
208 CloudPrintProxyServiceFactory::GetInstance(); | 210 CloudPrintProxyServiceFactory::GetInstance(); |
209 #endif | 211 #endif |
210 CookieSettingsFactory::GetInstance(); | 212 CookieSettingsFactory::GetInstance(); |
211 #if !defined(OS_ANDROID) | |
212 ChromeCryptAuthServiceFactory::GetInstance(); | |
213 #endif | |
214 #if BUILDFLAG(ENABLE_EXTENSIONS) | 213 #if BUILDFLAG(ENABLE_EXTENSIONS) |
215 ExtensionWelcomeNotificationFactory::GetInstance(); | 214 ExtensionWelcomeNotificationFactory::GetInstance(); |
216 #endif | 215 #endif |
217 NotifierStateTrackerFactory::GetInstance(); | 216 NotifierStateTrackerFactory::GetInstance(); |
218 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance(); | 217 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance(); |
219 #if defined(OS_WIN) | 218 #if defined(OS_WIN) |
220 SMSServiceFactory::GetInstance(); | 219 SMSServiceFactory::GetInstance(); |
221 #endif | 220 #endif |
222 dom_distiller::DomDistillerServiceFactory::GetInstance(); | 221 dom_distiller::DomDistillerServiceFactory::GetInstance(); |
223 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); | 222 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 SpellcheckServiceFactory::GetInstance(); | 327 SpellcheckServiceFactory::GetInstance(); |
329 #endif | 328 #endif |
330 suggestions::SuggestionsServiceFactory::GetInstance(); | 329 suggestions::SuggestionsServiceFactory::GetInstance(); |
331 ThumbnailServiceFactory::GetInstance(); | 330 ThumbnailServiceFactory::GetInstance(); |
332 TabRestoreServiceFactory::GetInstance(); | 331 TabRestoreServiceFactory::GetInstance(); |
333 TemplateURLFetcherFactory::GetInstance(); | 332 TemplateURLFetcherFactory::GetInstance(); |
334 TemplateURLServiceFactory::GetInstance(); | 333 TemplateURLServiceFactory::GetInstance(); |
335 #if defined(OS_WIN) | 334 #if defined(OS_WIN) |
336 TriggeredProfileResetterFactory::GetInstance(); | 335 TriggeredProfileResetterFactory::GetInstance(); |
337 #endif | 336 #endif |
| 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 |