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

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

Issue 2285903002: Framework to ascribe all network data use to a source. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits Created 4 years, 3 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
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/ui/tab_helpers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/browsing_data_remover_factory.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/dom_distiller/dom_distiller_service_factory.h" 22 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h"
22 #include "chrome/browser/domain_reliability/service_factory.h" 23 #include "chrome/browser/domain_reliability/service_factory.h"
23 #include "chrome/browser/download/download_service_factory.h" 24 #include "chrome/browser/download/download_service_factory.h"
24 #include "chrome/browser/engagement/site_engagement_service.h" 25 #include "chrome/browser/engagement/site_engagement_service.h"
25 #include "chrome/browser/engagement/site_engagement_service_factory.h" 26 #include "chrome/browser/engagement/site_engagement_service_factory.h"
26 #include "chrome/browser/favicon/favicon_service_factory.h" 27 #include "chrome/browser/favicon/favicon_service_factory.h"
27 #include "chrome/browser/google/google_url_tracker_factory.h" 28 #include "chrome/browser/google/google_url_tracker_factory.h"
28 #include "chrome/browser/history/history_service_factory.h" 29 #include "chrome/browser/history/history_service_factory.h"
29 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" 30 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
30 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" 31 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 CookieSettingsFactory::GetInstance(); 202 CookieSettingsFactory::GetInstance();
202 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) 203 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
203 CrossDevicePromoFactory::GetInstance(); 204 CrossDevicePromoFactory::GetInstance();
204 #endif 205 #endif
205 #if defined(ENABLE_NOTIFICATIONS) 206 #if defined(ENABLE_NOTIFICATIONS)
206 #if defined(ENABLE_EXTENSIONS) 207 #if defined(ENABLE_EXTENSIONS)
207 ExtensionWelcomeNotificationFactory::GetInstance(); 208 ExtensionWelcomeNotificationFactory::GetInstance();
208 #endif 209 #endif
209 NotifierStateTrackerFactory::GetInstance(); 210 NotifierStateTrackerFactory::GetInstance();
210 #endif // defined(ENABLE_NOTIFICATIONS) 211 #endif // defined(ENABLE_NOTIFICATIONS)
212 data_use_measurement::ChromeDataUseAscriberServiceFactory::GetInstance();
211 dom_distiller::DomDistillerServiceFactory::GetInstance(); 213 dom_distiller::DomDistillerServiceFactory::GetInstance();
212 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); 214 domain_reliability::DomainReliabilityServiceFactory::GetInstance();
213 DownloadServiceFactory::GetInstance(); 215 DownloadServiceFactory::GetInstance();
214 #if defined(ENABLE_EXTENSIONS) 216 #if defined(ENABLE_EXTENSIONS)
215 EasyUnlockServiceFactory::GetInstance(); 217 EasyUnlockServiceFactory::GetInstance();
216 EnhancedBookmarkKeyServiceFactory::GetInstance(); 218 EnhancedBookmarkKeyServiceFactory::GetInstance();
217 #endif 219 #endif
218 #if defined(OS_CHROMEOS) 220 #if defined(OS_CHROMEOS)
219 chromeos::PrinterDetectorFactory::GetInstance(); 221 chromeos::PrinterDetectorFactory::GetInstance();
220 chromeos::PrinterPrefManagerFactory::GetInstance(); 222 chromeos::PrinterPrefManagerFactory::GetInstance();
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 #endif 327 #endif
326 #if !defined(OS_ANDROID) 328 #if !defined(OS_ANDROID)
327 UsbChooserContextFactory::GetInstance(); 329 UsbChooserContextFactory::GetInstance();
328 #endif 330 #endif
329 WebDataServiceFactory::GetInstance(); 331 WebDataServiceFactory::GetInstance();
330 } 332 }
331 333
332 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 334 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
333 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 335 EnsureBrowserContextKeyedServiceFactoriesBuilt();
334 } 336 }
OLDNEW
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/ui/tab_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698