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 "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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" | 121 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" |
122 #include "chrome/browser/policy/schema_registry_service_factory.h" | 122 #include "chrome/browser/policy/schema_registry_service_factory.h" |
123 #if defined(OS_CHROMEOS) | 123 #if defined(OS_CHROMEOS) |
124 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" | 124 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" |
125 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" | 125 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" |
126 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" | 126 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" |
127 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" | 127 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" |
128 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact
ory.h" | 128 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact
ory.h" |
129 #else | 129 #else |
130 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" | 130 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" |
| 131 #if !defined(OS_IOS) |
131 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" | 132 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" |
132 #endif | 133 #endif |
133 #endif | 134 #endif |
| 135 #endif |
134 | 136 |
135 #if defined(ENABLE_MANAGED_USERS) | 137 #if defined(ENABLE_MANAGED_USERS) |
136 #include "chrome/browser/managed_mode/managed_user_service_factory.h" | 138 #include "chrome/browser/managed_mode/managed_user_service_factory.h" |
137 #include "chrome/browser/managed_mode/managed_user_sync_service_factory.h" | 139 #include "chrome/browser/managed_mode/managed_user_sync_service_factory.h" |
138 #endif | 140 #endif |
139 | 141 |
140 #if defined(OS_CHROMEOS) | 142 #if defined(OS_CHROMEOS) |
141 #include "chrome/browser/chromeos/extensions/input_method_api.h" | 143 #include "chrome/browser/chromeos/extensions/input_method_api.h" |
142 #include "chrome/browser/chromeos/extensions/media_player_api.h" | 144 #include "chrome/browser/chromeos/extensions/media_player_api.h" |
143 #include "chrome/browser/chromeos/extensions/screenlock_private_api.h" | 145 #include "chrome/browser/chromeos/extensions/screenlock_private_api.h" |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 policy::ProfilePolicyConnectorFactory::GetInstance(); | 346 policy::ProfilePolicyConnectorFactory::GetInstance(); |
345 #if defined(ENABLE_CONFIGURATION_POLICY) | 347 #if defined(ENABLE_CONFIGURATION_POLICY) |
346 #if defined(OS_CHROMEOS) | 348 #if defined(OS_CHROMEOS) |
347 policy::PolicyCertServiceFactory::GetInstance(); | 349 policy::PolicyCertServiceFactory::GetInstance(); |
348 policy::RecommendationRestorerFactory::GetInstance(); | 350 policy::RecommendationRestorerFactory::GetInstance(); |
349 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); | 351 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); |
350 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); | 352 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); |
351 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); | 353 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); |
352 #else | 354 #else |
353 policy::UserCloudPolicyManagerFactory::GetInstance(); | 355 policy::UserCloudPolicyManagerFactory::GetInstance(); |
| 356 #if !defined(OS_IOS) |
354 policy::UserPolicySigninServiceFactory::GetInstance(); | 357 policy::UserPolicySigninServiceFactory::GetInstance(); |
355 #endif | 358 #endif |
| 359 #endif |
356 policy::PolicyHeaderServiceFactory::GetInstance(); | 360 policy::PolicyHeaderServiceFactory::GetInstance(); |
357 policy::SchemaRegistryServiceFactory::GetInstance(); | 361 policy::SchemaRegistryServiceFactory::GetInstance(); |
358 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); | 362 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); |
359 #endif | 363 #endif |
360 predictors::AutocompleteActionPredictorFactory::GetInstance(); | 364 predictors::AutocompleteActionPredictorFactory::GetInstance(); |
361 predictors::PredictorDatabaseFactory::GetInstance(); | 365 predictors::PredictorDatabaseFactory::GetInstance(); |
362 prerender::PrerenderManagerFactory::GetInstance(); | 366 prerender::PrerenderManagerFactory::GetInstance(); |
363 prerender::PrerenderLinkManagerFactory::GetInstance(); | 367 prerender::PrerenderLinkManagerFactory::GetInstance(); |
364 ProfileSyncServiceFactory::GetInstance(); | 368 ProfileSyncServiceFactory::GetInstance(); |
365 ProtocolHandlerRegistryFactory::GetInstance(); | 369 ProtocolHandlerRegistryFactory::GetInstance(); |
(...skipping 14 matching lines...) Expand all Loading... |
380 #endif | 384 #endif |
381 #if defined(ENABLE_EXTENSIONS) | 385 #if defined(ENABLE_EXTENSIONS) |
382 TokenCacheServiceFactory::GetInstance(); | 386 TokenCacheServiceFactory::GetInstance(); |
383 #endif | 387 #endif |
384 WebDataServiceFactory::GetInstance(); | 388 WebDataServiceFactory::GetInstance(); |
385 } | 389 } |
386 | 390 |
387 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 391 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
388 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 392 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
389 } | 393 } |
OLD | NEW |