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

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: Rebase 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include "chrome/browser/extensions/extension_system_factory.h" 55 #include "chrome/browser/extensions/extension_system_factory.h"
56 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h" 56 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h"
57 #include "chrome/browser/extensions/install_tracker_factory.h" 57 #include "chrome/browser/extensions/install_tracker_factory.h"
58 #include "chrome/browser/extensions/plugin_manager.h" 58 #include "chrome/browser/extensions/plugin_manager.h"
59 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h" 59 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h"
60 #include "chrome/browser/favicon/favicon_service_factory.h" 60 #include "chrome/browser/favicon/favicon_service_factory.h"
61 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h" 61 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h"
62 #include "chrome/browser/google/google_url_tracker_factory.h" 62 #include "chrome/browser/google/google_url_tracker_factory.h"
63 #include "chrome/browser/history/history_service_factory.h" 63 #include "chrome/browser/history/history_service_factory.h"
64 #include "chrome/browser/history/shortcuts_backend_factory.h" 64 #include "chrome/browser/history/shortcuts_backend_factory.h"
65 #include "chrome/browser/invalidation/invalidation_service_factory.h"
66 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
65 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 67 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
66 #include "chrome/browser/password_manager/password_store_factory.h" 68 #include "chrome/browser/password_manager/password_store_factory.h"
67 #include "chrome/browser/plugins/plugin_prefs_factory.h" 69 #include "chrome/browser/plugins/plugin_prefs_factory.h"
68 #include "chrome/browser/policy/profile_policy_connector_factory.h" 70 #include "chrome/browser/policy/profile_policy_connector_factory.h"
69 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 71 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
70 #include "chrome/browser/predictors/predictor_database_factory.h" 72 #include "chrome/browser/predictors/predictor_database_factory.h"
71 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" 73 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
72 #include "chrome/browser/prerender/prerender_link_manager_factory.h" 74 #include "chrome/browser/prerender/prerender_link_manager_factory.h"
73 #include "chrome/browser/prerender/prerender_manager_factory.h" 75 #include "chrome/browser/prerender/prerender_manager_factory.h"
74 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 76 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 FileBrowserPrivateAPIFactory::GetInstance(); 251 FileBrowserPrivateAPIFactory::GetInstance();
250 #endif 252 #endif
251 FindBarStateFactory::GetInstance(); 253 FindBarStateFactory::GetInstance();
252 GAIAInfoUpdateServiceFactory::GetInstance(); 254 GAIAInfoUpdateServiceFactory::GetInstance();
253 #if defined(USE_AURA) 255 #if defined(USE_AURA)
254 GesturePrefsObserverFactoryAura::GetInstance(); 256 GesturePrefsObserverFactoryAura::GetInstance();
255 #endif 257 #endif
256 GlobalErrorServiceFactory::GetInstance(); 258 GlobalErrorServiceFactory::GetInstance();
257 GoogleURLTrackerFactory::GetInstance(); 259 GoogleURLTrackerFactory::GetInstance();
258 HistoryServiceFactory::GetInstance(); 260 HistoryServiceFactory::GetInstance();
261 invalidation::InvalidationServiceFactory::GetInstance();
259 #if defined(ENABLE_MANAGED_USERS) 262 #if defined(ENABLE_MANAGED_USERS)
260 ManagedUserServiceFactory::GetInstance(); 263 ManagedUserServiceFactory::GetInstance();
261 #endif 264 #endif
262 #if !defined(OS_ANDROID) 265 #if !defined(OS_ANDROID)
263 MediaGalleriesPreferencesFactory::GetInstance(); 266 MediaGalleriesPreferencesFactory::GetInstance();
264 notifier::ChromeNotifierServiceFactory::GetInstance(); 267 notifier::ChromeNotifierServiceFactory::GetInstance();
265 #endif 268 #endif
266 NTPResourceCacheFactory::GetInstance(); 269 NTPResourceCacheFactory::GetInstance();
267 PasswordStoreFactory::GetInstance(); 270 PasswordStoreFactory::GetInstance();
268 #if !defined(OS_ANDROID) 271 #if !defined(OS_ANDROID)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 TokenServiceFactory::GetInstance(); 309 TokenServiceFactory::GetInstance();
307 #if !defined(OS_ANDROID) 310 #if !defined(OS_ANDROID)
308 UserStyleSheetWatcherFactory::GetInstance(); 311 UserStyleSheetWatcherFactory::GetInstance();
309 #endif 312 #endif
310 WebDataServiceFactory::GetInstance(); 313 WebDataServiceFactory::GetInstance();
311 } 314 }
312 315
313 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 316 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
314 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 317 EnsureBrowserContextKeyedServiceFactoriesBuilt();
315 } 318 }
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/sync/glue/android_invalidator_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698