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

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

Issue 24153012: Fix cyclic dependency between ProfilePolicyConnector and PrefService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 #endif // defined(ENABLE_EXTENSIONS) 110 #endif // defined(ENABLE_EXTENSIONS)
111 111
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 #include "chrome/browser/policy/schema_registry_service_factory.h" 118 #include "chrome/browser/policy/schema_registry_service_factory.h"
119 #if defined(OS_CHROMEOS) 119 #if defined(OS_CHROMEOS)
120 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h"
120 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" 121 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h"
121 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom eos.h" 122 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom eos.h"
122 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto ry.h" 123 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto ry.h"
123 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact ory.h" 124 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact ory.h"
124 #else 125 #else
125 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" 126 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h"
126 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" 127 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h"
127 #endif 128 #endif
128 #endif 129 #endif
129 130
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 PasswordStoreFactory::GetInstance(); 327 PasswordStoreFactory::GetInstance();
327 #if !defined(OS_ANDROID) 328 #if !defined(OS_ANDROID)
328 PinnedTabServiceFactory::GetInstance(); 329 PinnedTabServiceFactory::GetInstance();
329 #endif 330 #endif
330 #if defined(ENABLE_PLUGINS) 331 #if defined(ENABLE_PLUGINS)
331 PluginPrefsFactory::GetInstance(); 332 PluginPrefsFactory::GetInstance();
332 #endif 333 #endif
333 policy::ProfilePolicyConnectorFactory::GetInstance(); 334 policy::ProfilePolicyConnectorFactory::GetInstance();
334 #if defined(ENABLE_CONFIGURATION_POLICY) 335 #if defined(ENABLE_CONFIGURATION_POLICY)
335 #if defined(OS_CHROMEOS) 336 #if defined(OS_CHROMEOS)
337 policy::PolicyCertServiceFactory::GetInstance();
336 policy::RecommendationRestorerFactory::GetInstance(); 338 policy::RecommendationRestorerFactory::GetInstance();
337 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); 339 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance();
338 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); 340 policy::UserCloudPolicyTokenForwarderFactory::GetInstance();
339 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); 341 policy::UserNetworkConfigurationUpdaterFactory::GetInstance();
340 #else 342 #else
341 policy::UserCloudPolicyManagerFactory::GetInstance(); 343 policy::UserCloudPolicyManagerFactory::GetInstance();
342 policy::UserPolicySigninServiceFactory::GetInstance(); 344 policy::UserPolicySigninServiceFactory::GetInstance();
343 #endif 345 #endif
344 policy::SchemaRegistryServiceFactory::GetInstance(); 346 policy::SchemaRegistryServiceFactory::GetInstance();
345 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); 347 policy::UserCloudPolicyInvalidatorFactory::GetInstance();
(...skipping 23 matching lines...) Expand all
369 #if defined(ENABLE_EXTENSIONS) 371 #if defined(ENABLE_EXTENSIONS)
370 TokenCacheServiceFactory::GetInstance(); 372 TokenCacheServiceFactory::GetInstance();
371 #endif 373 #endif
372 TokenServiceFactory::GetInstance(); 374 TokenServiceFactory::GetInstance();
373 WebDataServiceFactory::GetInstance(); 375 WebDataServiceFactory::GetInstance();
374 } 376 }
375 377
376 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 378 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
377 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 379 EnsureBrowserContextKeyedServiceFactoriesBuilt();
378 } 380 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/profile_policy_connector_stub.cc ('k') | chrome/browser/profiles/off_the_record_profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698