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

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

Issue 1814923002: Nuke NotificationUIManager from PlatformNotificationServiceImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@profile_manager_load
Patch Set: Rebase Created 4 years, 9 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 <utility> 7 #include <utility>
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" 10 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/download/download_service_factory.h" 22 #include "chrome/browser/download/download_service_factory.h"
23 #include "chrome/browser/engagement/site_engagement_service.h" 23 #include "chrome/browser/engagement/site_engagement_service.h"
24 #include "chrome/browser/engagement/site_engagement_service_factory.h" 24 #include "chrome/browser/engagement/site_engagement_service_factory.h"
25 #include "chrome/browser/favicon/favicon_service_factory.h" 25 #include "chrome/browser/favicon/favicon_service_factory.h"
26 #include "chrome/browser/geolocation/geolocation_permission_context_factory.h" 26 #include "chrome/browser/geolocation/geolocation_permission_context_factory.h"
27 #include "chrome/browser/google/google_url_tracker_factory.h" 27 #include "chrome/browser/google/google_url_tracker_factory.h"
28 #include "chrome/browser/history/history_service_factory.h" 28 #include "chrome/browser/history/history_service_factory.h"
29 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" 29 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
30 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" 30 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
31 #include "chrome/browser/notifications/extension_welcome_notification_factory.h" 31 #include "chrome/browser/notifications/extension_welcome_notification_factory.h"
32 #include "chrome/browser/notifications/notification_display_service_factory.h"
32 #include "chrome/browser/notifications/notification_permission_context_factory.h " 33 #include "chrome/browser/notifications/notification_permission_context_factory.h "
33 #include "chrome/browser/notifications/notifier_state_tracker_factory.h" 34 #include "chrome/browser/notifications/notifier_state_tracker_factory.h"
34 #include "chrome/browser/ntp_snippets/ntp_snippets_service_factory.h" 35 #include "chrome/browser/ntp_snippets/ntp_snippets_service_factory.h"
35 #include "chrome/browser/password_manager/password_manager_setting_migrator_serv ice_factory.h" 36 #include "chrome/browser/password_manager/password_manager_setting_migrator_serv ice_factory.h"
36 #include "chrome/browser/password_manager/password_store_factory.h" 37 #include "chrome/browser/password_manager/password_store_factory.h"
37 #include "chrome/browser/plugins/plugin_prefs_factory.h" 38 #include "chrome/browser/plugins/plugin_prefs_factory.h"
38 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" 39 #include "chrome/browser/policy/cloud/policy_header_service_factory.h"
39 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" 40 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h"
40 #include "chrome/browser/policy/profile_policy_connector_factory.h" 41 #include "chrome/browser/policy/profile_policy_connector_factory.h"
41 #include "chrome/browser/policy/schema_registry_service_factory.h" 42 #include "chrome/browser/policy/schema_registry_service_factory.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 #endif 205 #endif
205 CookieSettingsFactory::GetInstance(); 206 CookieSettingsFactory::GetInstance();
206 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) 207 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
207 CrossDevicePromoFactory::GetInstance(); 208 CrossDevicePromoFactory::GetInstance();
208 #endif 209 #endif
209 #if defined(ENABLE_NOTIFICATIONS) 210 #if defined(ENABLE_NOTIFICATIONS)
210 #if defined(ENABLE_EXTENSIONS) 211 #if defined(ENABLE_EXTENSIONS)
211 ExtensionWelcomeNotificationFactory::GetInstance(); 212 ExtensionWelcomeNotificationFactory::GetInstance();
212 #endif 213 #endif
213 NotificationPermissionContextFactory::GetInstance(); 214 NotificationPermissionContextFactory::GetInstance();
215 NotificationDisplayServiceFactory::GetInstance();
214 NotifierStateTrackerFactory::GetInstance(); 216 NotifierStateTrackerFactory::GetInstance();
215 #endif // defined(ENABLE_NOTIFICATIONS) 217 #endif // defined(ENABLE_NOTIFICATIONS)
216 dom_distiller::DomDistillerServiceFactory::GetInstance(); 218 dom_distiller::DomDistillerServiceFactory::GetInstance();
217 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); 219 domain_reliability::DomainReliabilityServiceFactory::GetInstance();
218 DownloadServiceFactory::GetInstance(); 220 DownloadServiceFactory::GetInstance();
219 #if defined(ENABLE_EXTENSIONS) 221 #if defined(ENABLE_EXTENSIONS)
220 EasyUnlockServiceFactory::GetInstance(); 222 EasyUnlockServiceFactory::GetInstance();
221 EnhancedBookmarkKeyServiceFactory::GetInstance(); 223 EnhancedBookmarkKeyServiceFactory::GetInstance();
222 #endif 224 #endif
223 #if defined(OS_CHROMEOS) 225 #if defined(OS_CHROMEOS)
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 #endif 333 #endif
332 #if !defined(OS_ANDROID) 334 #if !defined(OS_ANDROID)
333 UsbChooserContextFactory::GetInstance(); 335 UsbChooserContextFactory::GetInstance();
334 #endif 336 #endif
335 WebDataServiceFactory::GetInstance(); 337 WebDataServiceFactory::GetInstance();
336 } 338 }
337 339
338 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 340 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
339 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 341 EnsureBrowserContextKeyedServiceFactoriesBuilt();
340 } 342 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698