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" | |
17 #include "chrome/browser/chrome_browser_main.h" | 16 #include "chrome/browser/chrome_browser_main.h" |
18 #include "chrome/browser/content_settings/cookie_settings_factory.h" | 17 #include "chrome/browser/content_settings/cookie_settings_factory.h" |
19 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" | 18 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" |
20 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" | 19 #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" | 20 #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" | 21 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" |
23 #include "chrome/browser/domain_reliability/service_factory.h" | 22 #include "chrome/browser/domain_reliability/service_factory.h" |
24 #include "chrome/browser/download/download_service_factory.h" | 23 #include "chrome/browser/download/download_service_factory.h" |
25 #include "chrome/browser/engagement/site_engagement_service.h" | 24 #include "chrome/browser/engagement/site_engagement_service.h" |
26 #include "chrome/browser/engagement/site_engagement_service_factory.h" | 25 #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(); | 191 AboutSigninInternalsFactory::GetInstance(); |
193 AccountInvestigatorFactory::GetInstance(); | 192 AccountInvestigatorFactory::GetInstance(); |
194 AccountTrackerServiceFactory::GetInstance(); | 193 AccountTrackerServiceFactory::GetInstance(); |
195 AccountFetcherServiceFactory::GetInstance(); | 194 AccountFetcherServiceFactory::GetInstance(); |
196 autofill::PersonalDataManagerFactory::GetInstance(); | 195 autofill::PersonalDataManagerFactory::GetInstance(); |
197 #if BUILDFLAG(ENABLE_BACKGROUND) | 196 #if BUILDFLAG(ENABLE_BACKGROUND) |
198 BackgroundContentsServiceFactory::GetInstance(); | 197 BackgroundContentsServiceFactory::GetInstance(); |
199 #endif | 198 #endif |
200 BookmarkModelFactory::GetInstance(); | 199 BookmarkModelFactory::GetInstance(); |
201 BookmarkUndoServiceFactory::GetInstance(); | 200 BookmarkUndoServiceFactory::GetInstance(); |
202 BrowsingDataRemoverFactory::GetInstance(); | |
Bernhard Bauer
2017/04/19 09:42:41
Add ChromeBrowsingDataRemoverDelegateFactory::GetI
msramek
2017/04/19 11:31:02
Done. Thanks for noticing!
| |
203 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) | 201 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) |
204 CaptivePortalServiceFactory::GetInstance(); | 202 CaptivePortalServiceFactory::GetInstance(); |
205 #endif | 203 #endif |
206 CertificateReportingServiceFactory::GetInstance(); | 204 CertificateReportingServiceFactory::GetInstance(); |
207 #if defined(OS_ANDROID) | 205 #if defined(OS_ANDROID) |
208 chrome::android::DataUseUITabModelFactory::GetInstance(); | 206 chrome::android::DataUseUITabModelFactory::GetInstance(); |
209 #endif | 207 #endif |
210 UINetworkQualityEstimatorServiceFactory::GetInstance(); | 208 UINetworkQualityEstimatorServiceFactory::GetInstance(); |
211 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 209 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
212 CloudPrintProxyServiceFactory::GetInstance(); | 210 CloudPrintProxyServiceFactory::GetInstance(); |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
342 #endif | 340 #endif |
343 #if !defined(OS_ANDROID) | 341 #if !defined(OS_ANDROID) |
344 UsbChooserContextFactory::GetInstance(); | 342 UsbChooserContextFactory::GetInstance(); |
345 #endif | 343 #endif |
346 WebDataServiceFactory::GetInstance(); | 344 WebDataServiceFactory::GetInstance(); |
347 } | 345 } |
348 | 346 |
349 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 347 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
350 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 348 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
351 } | 349 } |
OLD | NEW |