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

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

Issue 53923004: policy: Make UserNetworkConfigurationUpdater a BCKS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 1 month 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 | Annotate | Revision Log
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_keep_alive_service_factory.h" 7 #include "apps/app_keep_alive_service_factory.h"
8 #include "apps/app_load_service_factory.h" 8 #include "apps/app_load_service_factory.h"
9 #include "apps/app_restore_service_factory.h" 9 #include "apps/app_restore_service_factory.h"
10 #include "apps/shell_window_geometry_cache.h" 10 #include "apps/shell_window_geometry_cache.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 112 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
113 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" 113 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
114 #endif 114 #endif
115 115
116 #if defined(ENABLE_CONFIGURATION_POLICY) 116 #if defined(ENABLE_CONFIGURATION_POLICY)
117 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" 117 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h"
118 #if defined(OS_CHROMEOS) 118 #if defined(OS_CHROMEOS)
119 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" 119 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h"
120 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom eos.h" 120 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom eos.h"
121 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto ry.h" 121 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto ry.h"
122 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact ory.h"
122 #else 123 #else
123 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" 124 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h"
124 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" 125 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h"
125 #endif 126 #endif
126 #endif 127 #endif
127 128
128 #if defined(ENABLE_MANAGED_USERS) 129 #if defined(ENABLE_MANAGED_USERS)
129 #include "chrome/browser/managed_mode/managed_user_service_factory.h" 130 #include "chrome/browser/managed_mode/managed_user_service_factory.h"
130 #include "chrome/browser/managed_mode/managed_user_sync_service_factory.h" 131 #include "chrome/browser/managed_mode/managed_user_sync_service_factory.h"
131 #endif 132 #endif
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 #endif 327 #endif
327 #if defined(ENABLE_PLUGINS) 328 #if defined(ENABLE_PLUGINS)
328 PluginPrefsFactory::GetInstance(); 329 PluginPrefsFactory::GetInstance();
329 #endif 330 #endif
330 policy::ProfilePolicyConnectorFactory::GetInstance(); 331 policy::ProfilePolicyConnectorFactory::GetInstance();
331 #if defined(ENABLE_CONFIGURATION_POLICY) 332 #if defined(ENABLE_CONFIGURATION_POLICY)
332 #if defined(OS_CHROMEOS) 333 #if defined(OS_CHROMEOS)
333 policy::RecommendationRestorerFactory::GetInstance(); 334 policy::RecommendationRestorerFactory::GetInstance();
334 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); 335 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance();
335 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); 336 policy::UserCloudPolicyTokenForwarderFactory::GetInstance();
337 policy::UserNetworkConfigurationUpdaterFactory::GetInstance();
336 #else 338 #else
337 policy::UserCloudPolicyManagerFactory::GetInstance(); 339 policy::UserCloudPolicyManagerFactory::GetInstance();
338 policy::UserPolicySigninServiceFactory::GetInstance(); 340 policy::UserPolicySigninServiceFactory::GetInstance();
339 #endif 341 #endif
340 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); 342 policy::UserCloudPolicyInvalidatorFactory::GetInstance();
341 #endif 343 #endif
342 predictors::AutocompleteActionPredictorFactory::GetInstance(); 344 predictors::AutocompleteActionPredictorFactory::GetInstance();
343 predictors::PredictorDatabaseFactory::GetInstance(); 345 predictors::PredictorDatabaseFactory::GetInstance();
344 predictors::ResourcePrefetchPredictorFactory::GetInstance(); 346 predictors::ResourcePrefetchPredictorFactory::GetInstance();
345 prerender::PrerenderManagerFactory::GetInstance(); 347 prerender::PrerenderManagerFactory::GetInstance();
(...skipping 21 matching lines...) Expand all
367 TokenServiceFactory::GetInstance(); 369 TokenServiceFactory::GetInstance();
368 #if !defined(OS_ANDROID) 370 #if !defined(OS_ANDROID)
369 UserStyleSheetWatcherFactory::GetInstance(); 371 UserStyleSheetWatcherFactory::GetInstance();
370 #endif 372 #endif
371 WebDataServiceFactory::GetInstance(); 373 WebDataServiceFactory::GetInstance();
372 } 374 }
373 375
374 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 376 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
375 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 377 EnsureBrowserContextKeyedServiceFactoriesBuilt();
376 } 378 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/profile_policy_connector.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698