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

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

Issue 19733003: Implement cloud policy invalidations using the invalidation service framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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 "chrome/browser/apps/shortcut_manager_factory.h" 10 #include "chrome/browser/apps/shortcut_manager_factory.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" 95 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h"
96 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" 96 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h"
97 #include "chrome/browser/user_style_sheet_watcher_factory.h" 97 #include "chrome/browser/user_style_sheet_watcher_factory.h"
98 #include "chrome/browser/webdata/web_data_service_factory.h" 98 #include "chrome/browser/webdata/web_data_service_factory.h"
99 99
100 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 100 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
101 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" 101 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
102 #endif 102 #endif
103 103
104 #if defined(ENABLE_CONFIGURATION_POLICY) 104 #if defined(ENABLE_CONFIGURATION_POLICY)
105 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h"
105 #if defined(OS_CHROMEOS) 106 #if defined(OS_CHROMEOS)
106 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" 107 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h"
107 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom eos.h" 108 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom eos.h"
108 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto ry.h" 109 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto ry.h"
109 #else 110 #else
110 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" 111 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h"
111 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" 112 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h"
112 #endif 113 #endif
113 #endif 114 #endif
114 115
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 policy::ProfilePolicyConnectorFactory::GetInstance(); 278 policy::ProfilePolicyConnectorFactory::GetInstance();
278 #if defined(ENABLE_CONFIGURATION_POLICY) 279 #if defined(ENABLE_CONFIGURATION_POLICY)
279 #if defined(OS_CHROMEOS) 280 #if defined(OS_CHROMEOS)
280 policy::RecommendationRestorerFactory::GetInstance(); 281 policy::RecommendationRestorerFactory::GetInstance();
281 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); 282 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance();
282 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); 283 policy::UserCloudPolicyTokenForwarderFactory::GetInstance();
283 #else 284 #else
284 policy::UserCloudPolicyManagerFactory::GetInstance(); 285 policy::UserCloudPolicyManagerFactory::GetInstance();
285 policy::UserPolicySigninServiceFactory::GetInstance(); 286 policy::UserPolicySigninServiceFactory::GetInstance();
286 #endif 287 #endif
288 policy::UserCloudPolicyInvalidatorFactory::GetInstance();
287 #endif 289 #endif
288 predictors::AutocompleteActionPredictorFactory::GetInstance(); 290 predictors::AutocompleteActionPredictorFactory::GetInstance();
289 predictors::PredictorDatabaseFactory::GetInstance(); 291 predictors::PredictorDatabaseFactory::GetInstance();
290 predictors::ResourcePrefetchPredictorFactory::GetInstance(); 292 predictors::ResourcePrefetchPredictorFactory::GetInstance();
291 prerender::PrerenderManagerFactory::GetInstance(); 293 prerender::PrerenderManagerFactory::GetInstance();
292 prerender::PrerenderLinkManagerFactory::GetInstance(); 294 prerender::PrerenderLinkManagerFactory::GetInstance();
293 ProfileSyncServiceFactory::GetInstance(); 295 ProfileSyncServiceFactory::GetInstance();
294 ProtocolHandlerRegistryFactory::GetInstance(); 296 ProtocolHandlerRegistryFactory::GetInstance();
295 #if defined(ENABLE_SESSION_SERVICE) 297 #if defined(ENABLE_SESSION_SERVICE)
296 SessionServiceFactory::GetInstance(); 298 SessionServiceFactory::GetInstance();
(...skipping 12 matching lines...) Expand all
309 TokenServiceFactory::GetInstance(); 311 TokenServiceFactory::GetInstance();
310 #if !defined(OS_ANDROID) 312 #if !defined(OS_ANDROID)
311 UserStyleSheetWatcherFactory::GetInstance(); 313 UserStyleSheetWatcherFactory::GetInstance();
312 #endif 314 #endif
313 WebDataServiceFactory::GetInstance(); 315 WebDataServiceFactory::GetInstance();
314 } 316 }
315 317
316 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 318 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
317 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 319 EnsureBrowserContextKeyedServiceFactoriesBuilt();
318 } 320 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698