| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 59 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
| 60 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" | 60 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" |
| 61 #endif | 61 #endif |
| 62 | 62 |
| 63 #if defined(ENABLE_CONFIGURATION_POLICY) | 63 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 64 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" | 64 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" |
| 65 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" | 65 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" |
| 66 #include "chrome/browser/policy/schema_registry_service_factory.h" | 66 #include "chrome/browser/policy/schema_registry_service_factory.h" |
| 67 #if defined(OS_CHROMEOS) | 67 #if defined(OS_CHROMEOS) |
| 68 #include "chrome/browser/chromeos/ownership/owner_settings_service_factory.h" |
| 68 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" | 69 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" |
| 69 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" | 70 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" |
| 70 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" | 71 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" |
| 71 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" | 72 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" |
| 72 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact
ory.h" | 73 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact
ory.h" |
| 73 #else | 74 #else |
| 74 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" | 75 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" |
| 75 #if !defined(OS_IOS) | 76 #if !defined(OS_IOS) |
| 76 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" | 77 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" |
| 77 #endif | 78 #endif |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 PasswordStoreFactory::GetInstance(); | 208 PasswordStoreFactory::GetInstance(); |
| 208 #if !defined(OS_ANDROID) | 209 #if !defined(OS_ANDROID) |
| 209 PinnedTabServiceFactory::GetInstance(); | 210 PinnedTabServiceFactory::GetInstance(); |
| 210 #endif | 211 #endif |
| 211 #if defined(ENABLE_PLUGINS) | 212 #if defined(ENABLE_PLUGINS) |
| 212 PluginPrefsFactory::GetInstance(); | 213 PluginPrefsFactory::GetInstance(); |
| 213 #endif | 214 #endif |
| 214 policy::ProfilePolicyConnectorFactory::GetInstance(); | 215 policy::ProfilePolicyConnectorFactory::GetInstance(); |
| 215 #if defined(ENABLE_CONFIGURATION_POLICY) | 216 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 216 #if defined(OS_CHROMEOS) | 217 #if defined(OS_CHROMEOS) |
| 218 chromeos::OwnerSettingsServiceFactory::GetInstance(); |
| 217 policy::PolicyCertServiceFactory::GetInstance(); | 219 policy::PolicyCertServiceFactory::GetInstance(); |
| 218 policy::RecommendationRestorerFactory::GetInstance(); | 220 policy::RecommendationRestorerFactory::GetInstance(); |
| 219 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); | 221 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); |
| 220 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); | 222 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); |
| 221 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); | 223 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); |
| 222 #else | 224 #else |
| 223 policy::UserCloudPolicyManagerFactory::GetInstance(); | 225 policy::UserCloudPolicyManagerFactory::GetInstance(); |
| 224 #if !defined(OS_IOS) | 226 #if !defined(OS_IOS) |
| 225 policy::UserPolicySigninServiceFactory::GetInstance(); | 227 policy::UserPolicySigninServiceFactory::GetInstance(); |
| 226 #endif | 228 #endif |
| (...skipping 22 matching lines...) Expand all Loading... |
| 249 TemplateURLServiceFactory::GetInstance(); | 251 TemplateURLServiceFactory::GetInstance(); |
| 250 #if defined(ENABLE_THEMES) | 252 #if defined(ENABLE_THEMES) |
| 251 ThemeServiceFactory::GetInstance(); | 253 ThemeServiceFactory::GetInstance(); |
| 252 #endif | 254 #endif |
| 253 WebDataServiceFactory::GetInstance(); | 255 WebDataServiceFactory::GetInstance(); |
| 254 } | 256 } |
| 255 | 257 |
| 256 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 258 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 257 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 259 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 258 } | 260 } |
| OLD | NEW |