Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(871)

Side by Side Diff: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc

Issue 2827523003: Move BrowsingDataRemover to content/ (Closed)
Patch Set: Addressed comments, fixed Win compilation Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 UINetworkQualityEstimatorServiceFactory::GetInstance();
211 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) 210 #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
212 CloudPrintProxyServiceFactory::GetInstance(); 211 CloudPrintProxyServiceFactory::GetInstance();
213 #endif 212 #endif
214 CookieSettingsFactory::GetInstance(); 213 CookieSettingsFactory::GetInstance();
214 ChromeBrowsingDataRemoverDelegateFactory::GetInstance();
Bernhard Bauer 2017/04/19 12:39:38 Nit: Move this further up, before CloudPrintProxy
msramek 2017/04/19 13:39:18 Yeah... binary search insert into an array that is
215 #if !defined(OS_ANDROID) 215 #if !defined(OS_ANDROID)
216 ChromeCryptAuthServiceFactory::GetInstance(); 216 ChromeCryptAuthServiceFactory::GetInstance();
217 #endif 217 #endif
218 #if BUILDFLAG(ENABLE_EXTENSIONS) 218 #if BUILDFLAG(ENABLE_EXTENSIONS)
219 ExtensionWelcomeNotificationFactory::GetInstance(); 219 ExtensionWelcomeNotificationFactory::GetInstance();
220 #endif 220 #endif
221 NotifierStateTrackerFactory::GetInstance(); 221 NotifierStateTrackerFactory::GetInstance();
222 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance(); 222 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance();
223 #if defined(OS_WIN) 223 #if defined(OS_WIN)
224 SMSServiceFactory::GetInstance(); 224 SMSServiceFactory::GetInstance();
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 #endif 342 #endif
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698