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

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

Issue 15580002: Make use of InvalidationService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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 "apps/app_restore_service_factory.h" 7 #include "apps/app_restore_service_factory.h"
8 #include "apps/shell_window_geometry_cache.h" 8 #include "apps/shell_window_geometry_cache.h"
9 #include "apps/shortcut_manager_factory.h" 9 #include "apps/shortcut_manager_factory.h"
10 #include "chrome/browser/autofill/autocheckout_whitelist_manager_factory.h" 10 #include "chrome/browser/autofill/autocheckout_whitelist_manager_factory.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "chrome/browser/extensions/extension_prefs_factory.h" 48 #include "chrome/browser/extensions/extension_prefs_factory.h"
49 #include "chrome/browser/extensions/extension_system_factory.h" 49 #include "chrome/browser/extensions/extension_system_factory.h"
50 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h" 50 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h"
51 #include "chrome/browser/extensions/install_tracker_factory.h" 51 #include "chrome/browser/extensions/install_tracker_factory.h"
52 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h" 52 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h"
53 #include "chrome/browser/favicon/favicon_service_factory.h" 53 #include "chrome/browser/favicon/favicon_service_factory.h"
54 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h" 54 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h"
55 #include "chrome/browser/google/google_url_tracker_factory.h" 55 #include "chrome/browser/google/google_url_tracker_factory.h"
56 #include "chrome/browser/history/history_service_factory.h" 56 #include "chrome/browser/history/history_service_factory.h"
57 #include "chrome/browser/history/shortcuts_backend_factory.h" 57 #include "chrome/browser/history/shortcuts_backend_factory.h"
58 #include "chrome/browser/invalidation/invalidation_service_factory.h"
59 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
58 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 60 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
59 #include "chrome/browser/password_manager/password_store_factory.h" 61 #include "chrome/browser/password_manager/password_store_factory.h"
60 #include "chrome/browser/plugins/plugin_prefs_factory.h" 62 #include "chrome/browser/plugins/plugin_prefs_factory.h"
61 #include "chrome/browser/policy/profile_policy_connector_factory.h" 63 #include "chrome/browser/policy/profile_policy_connector_factory.h"
62 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 64 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
63 #include "chrome/browser/predictors/predictor_database_factory.h" 65 #include "chrome/browser/predictors/predictor_database_factory.h"
64 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" 66 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
65 #include "chrome/browser/prerender/prerender_link_manager_factory.h" 67 #include "chrome/browser/prerender/prerender_link_manager_factory.h"
66 #include "chrome/browser/prerender/prerender_manager_factory.h" 68 #include "chrome/browser/prerender/prerender_manager_factory.h"
67 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 69 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 FileBrowserPrivateAPIFactory::GetInstance(); 231 FileBrowserPrivateAPIFactory::GetInstance();
230 #endif 232 #endif
231 FindBarStateFactory::GetInstance(); 233 FindBarStateFactory::GetInstance();
232 GAIAInfoUpdateServiceFactory::GetInstance(); 234 GAIAInfoUpdateServiceFactory::GetInstance();
233 #if defined(USE_AURA) 235 #if defined(USE_AURA)
234 GesturePrefsObserverFactoryAura::GetInstance(); 236 GesturePrefsObserverFactoryAura::GetInstance();
235 #endif 237 #endif
236 GlobalErrorServiceFactory::GetInstance(); 238 GlobalErrorServiceFactory::GetInstance();
237 GoogleURLTrackerFactory::GetInstance(); 239 GoogleURLTrackerFactory::GetInstance();
238 HistoryServiceFactory::GetInstance(); 240 HistoryServiceFactory::GetInstance();
241 invalidation::InvalidationServiceFactory::GetInstance();
239 #if defined(ENABLE_MANAGED_USERS) 242 #if defined(ENABLE_MANAGED_USERS)
240 ManagedUserServiceFactory::GetInstance(); 243 ManagedUserServiceFactory::GetInstance();
241 #endif 244 #endif
242 #if !defined(OS_ANDROID) 245 #if !defined(OS_ANDROID)
243 MediaGalleriesPreferencesFactory::GetInstance(); 246 MediaGalleriesPreferencesFactory::GetInstance();
244 notifier::ChromeNotifierServiceFactory::GetInstance(); 247 notifier::ChromeNotifierServiceFactory::GetInstance();
245 #endif 248 #endif
246 NTPResourceCacheFactory::GetInstance(); 249 NTPResourceCacheFactory::GetInstance();
247 PasswordStoreFactory::GetInstance(); 250 PasswordStoreFactory::GetInstance();
248 #if !defined(OS_ANDROID) 251 #if !defined(OS_ANDROID)
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 TokenServiceFactory::GetInstance(); 288 TokenServiceFactory::GetInstance();
286 #if !defined(OS_ANDROID) 289 #if !defined(OS_ANDROID)
287 UserStyleSheetWatcherFactory::GetInstance(); 290 UserStyleSheetWatcherFactory::GetInstance();
288 #endif 291 #endif
289 WebDataServiceFactory::GetInstance(); 292 WebDataServiceFactory::GetInstance();
290 } 293 }
291 294
292 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 295 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
293 EnsureProfileKeyedServiceFactoriesBuilt(); 296 EnsureProfileKeyedServiceFactoriesBuilt();
294 } 297 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698