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

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: Update with OAuth2 support Created 7 years, 6 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_load_service_factory.h" 7 #include "apps/app_load_service_factory.h"
8 #include "apps/app_restore_service_factory.h" 8 #include "apps/app_restore_service_factory.h"
9 #include "apps/shell_window_geometry_cache.h" 9 #include "apps/shell_window_geometry_cache.h"
10 #include "apps/shortcut_manager_factory.h" 10 #include "apps/shortcut_manager_factory.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "chrome/browser/extensions/extension_system_factory.h" 50 #include "chrome/browser/extensions/extension_system_factory.h"
51 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h" 51 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h"
52 #include "chrome/browser/extensions/install_tracker_factory.h" 52 #include "chrome/browser/extensions/install_tracker_factory.h"
53 #include "chrome/browser/extensions/plugin_manager.h" 53 #include "chrome/browser/extensions/plugin_manager.h"
54 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h" 54 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h"
55 #include "chrome/browser/favicon/favicon_service_factory.h" 55 #include "chrome/browser/favicon/favicon_service_factory.h"
56 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h" 56 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h"
57 #include "chrome/browser/google/google_url_tracker_factory.h" 57 #include "chrome/browser/google/google_url_tracker_factory.h"
58 #include "chrome/browser/history/history_service_factory.h" 58 #include "chrome/browser/history/history_service_factory.h"
59 #include "chrome/browser/history/shortcuts_backend_factory.h" 59 #include "chrome/browser/history/shortcuts_backend_factory.h"
60 #include "chrome/browser/invalidation/invalidation_service_factory.h"
61 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
60 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 62 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
61 #include "chrome/browser/password_manager/password_store_factory.h" 63 #include "chrome/browser/password_manager/password_store_factory.h"
62 #include "chrome/browser/plugins/plugin_prefs_factory.h" 64 #include "chrome/browser/plugins/plugin_prefs_factory.h"
63 #include "chrome/browser/policy/profile_policy_connector_factory.h" 65 #include "chrome/browser/policy/profile_policy_connector_factory.h"
64 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 66 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
65 #include "chrome/browser/predictors/predictor_database_factory.h" 67 #include "chrome/browser/predictors/predictor_database_factory.h"
66 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" 68 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
67 #include "chrome/browser/prerender/prerender_link_manager_factory.h" 69 #include "chrome/browser/prerender/prerender_link_manager_factory.h"
68 #include "chrome/browser/prerender/prerender_manager_factory.h" 70 #include "chrome/browser/prerender/prerender_manager_factory.h"
69 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 71 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 FileBrowserPrivateAPIFactory::GetInstance(); 237 FileBrowserPrivateAPIFactory::GetInstance();
236 #endif 238 #endif
237 FindBarStateFactory::GetInstance(); 239 FindBarStateFactory::GetInstance();
238 GAIAInfoUpdateServiceFactory::GetInstance(); 240 GAIAInfoUpdateServiceFactory::GetInstance();
239 #if defined(USE_AURA) 241 #if defined(USE_AURA)
240 GesturePrefsObserverFactoryAura::GetInstance(); 242 GesturePrefsObserverFactoryAura::GetInstance();
241 #endif 243 #endif
242 GlobalErrorServiceFactory::GetInstance(); 244 GlobalErrorServiceFactory::GetInstance();
243 GoogleURLTrackerFactory::GetInstance(); 245 GoogleURLTrackerFactory::GetInstance();
244 HistoryServiceFactory::GetInstance(); 246 HistoryServiceFactory::GetInstance();
247 invalidation::InvalidationServiceFactory::GetInstance();
245 #if defined(ENABLE_MANAGED_USERS) 248 #if defined(ENABLE_MANAGED_USERS)
246 ManagedUserServiceFactory::GetInstance(); 249 ManagedUserServiceFactory::GetInstance();
247 #endif 250 #endif
248 #if !defined(OS_ANDROID) 251 #if !defined(OS_ANDROID)
249 MediaGalleriesPreferencesFactory::GetInstance(); 252 MediaGalleriesPreferencesFactory::GetInstance();
250 notifier::ChromeNotifierServiceFactory::GetInstance(); 253 notifier::ChromeNotifierServiceFactory::GetInstance();
251 #endif 254 #endif
252 NTPResourceCacheFactory::GetInstance(); 255 NTPResourceCacheFactory::GetInstance();
253 PasswordStoreFactory::GetInstance(); 256 PasswordStoreFactory::GetInstance();
254 #if !defined(OS_ANDROID) 257 #if !defined(OS_ANDROID)
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 TokenServiceFactory::GetInstance(); 294 TokenServiceFactory::GetInstance();
292 #if !defined(OS_ANDROID) 295 #if !defined(OS_ANDROID)
293 UserStyleSheetWatcherFactory::GetInstance(); 296 UserStyleSheetWatcherFactory::GetInstance();
294 #endif 297 #endif
295 WebDataServiceFactory::GetInstance(); 298 WebDataServiceFactory::GetInstance();
296 } 299 }
297 300
298 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 301 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
299 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 302 EnsureBrowserContextKeyedServiceFactoriesBuilt();
300 } 303 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698