| OLD | NEW |
| 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 "chrome/browser/autocomplete/shortcuts_backend_factory.h" | 7 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" |
| 8 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 8 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 9 #include "chrome/browser/background/background_contents_service_factory.h" | 9 #include "chrome/browser/background/background_contents_service_factory.h" |
| 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" | 66 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" |
| 67 #endif | 67 #endif |
| 68 | 68 |
| 69 #if defined(ENABLE_CONFIGURATION_POLICY) | 69 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 70 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" | 70 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" |
| 71 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" | 71 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" |
| 72 #include "chrome/browser/policy/schema_registry_service_factory.h" | 72 #include "chrome/browser/policy/schema_registry_service_factory.h" |
| 73 #if defined(OS_CHROMEOS) | 73 #if defined(OS_CHROMEOS) |
| 74 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact
ory.h" | 74 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact
ory.h" |
| 75 #include "chrome/browser/chromeos/policy/consumer_enrollment_handler_factory.h" | 75 #include "chrome/browser/chromeos/policy/consumer_enrollment_handler_factory.h" |
| 76 #include "chrome/browser/chromeos/policy/consumer_management_notification_factor
y.h" |
| 76 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" | 77 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" |
| 77 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" | 78 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" |
| 78 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" | 79 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" |
| 79 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" | 80 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" |
| 80 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact
ory.h" | 81 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact
ory.h" |
| 81 #else | 82 #else |
| 82 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" | 83 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" |
| 83 #if !defined(OS_IOS) | 84 #if !defined(OS_IOS) |
| 84 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" | 85 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" |
| 85 #endif | 86 #endif |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 PinnedTabServiceFactory::GetInstance(); | 221 PinnedTabServiceFactory::GetInstance(); |
| 221 #endif | 222 #endif |
| 222 #if defined(ENABLE_PLUGINS) | 223 #if defined(ENABLE_PLUGINS) |
| 223 PluginPrefsFactory::GetInstance(); | 224 PluginPrefsFactory::GetInstance(); |
| 224 #endif | 225 #endif |
| 225 policy::ProfilePolicyConnectorFactory::GetInstance(); | 226 policy::ProfilePolicyConnectorFactory::GetInstance(); |
| 226 #if defined(ENABLE_CONFIGURATION_POLICY) | 227 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 227 #if defined(OS_CHROMEOS) | 228 #if defined(OS_CHROMEOS) |
| 228 chromeos::OwnerSettingsServiceChromeOSFactory::GetInstance(); | 229 chromeos::OwnerSettingsServiceChromeOSFactory::GetInstance(); |
| 229 policy::ConsumerEnrollmentHandlerFactory::GetInstance(); | 230 policy::ConsumerEnrollmentHandlerFactory::GetInstance(); |
| 231 policy::ConsumerManagementNotificationFactory::GetInstance(); |
| 230 policy::PolicyCertServiceFactory::GetInstance(); | 232 policy::PolicyCertServiceFactory::GetInstance(); |
| 231 policy::RecommendationRestorerFactory::GetInstance(); | 233 policy::RecommendationRestorerFactory::GetInstance(); |
| 232 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); | 234 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); |
| 233 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); | 235 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); |
| 234 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); | 236 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); |
| 235 #else | 237 #else |
| 236 policy::UserCloudPolicyManagerFactory::GetInstance(); | 238 policy::UserCloudPolicyManagerFactory::GetInstance(); |
| 237 #if !defined(OS_IOS) | 239 #if !defined(OS_IOS) |
| 238 policy::UserPolicySigninServiceFactory::GetInstance(); | 240 policy::UserPolicySigninServiceFactory::GetInstance(); |
| 239 #endif | 241 #endif |
| (...skipping 24 matching lines...) Expand all Loading... |
| 264 TemplateURLServiceFactory::GetInstance(); | 266 TemplateURLServiceFactory::GetInstance(); |
| 265 #if defined(ENABLE_THEMES) | 267 #if defined(ENABLE_THEMES) |
| 266 ThemeServiceFactory::GetInstance(); | 268 ThemeServiceFactory::GetInstance(); |
| 267 #endif | 269 #endif |
| 268 WebDataServiceFactory::GetInstance(); | 270 WebDataServiceFactory::GetInstance(); |
| 269 } | 271 } |
| 270 | 272 |
| 271 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 273 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 272 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 274 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 273 } | 275 } |
| OLD | NEW |