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

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

Issue 99433004: Add a header when fetching pages under the DMServer URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed per willchan's feedback Created 7 years 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 #include "chrome/browser/extensions/menu_manager_factory.h" 111 #include "chrome/browser/extensions/menu_manager_factory.h"
112 #include "chrome/browser/extensions/plugin_manager.h" 112 #include "chrome/browser/extensions/plugin_manager.h"
113 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h" 113 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h"
114 #endif // defined(ENABLE_EXTENSIONS) 114 #endif // defined(ENABLE_EXTENSIONS)
115 115
116 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 116 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
117 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" 117 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
118 #endif 118 #endif
119 119
120 #if defined(ENABLE_CONFIGURATION_POLICY) 120 #if defined(ENABLE_CONFIGURATION_POLICY)
121 #include "chrome/browser/policy/cloud/policy_header_service_factory.h"
121 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" 122 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h"
122 #include "chrome/browser/policy/schema_registry_service_factory.h" 123 #include "chrome/browser/policy/schema_registry_service_factory.h"
123 #if defined(OS_CHROMEOS) 124 #if defined(OS_CHROMEOS)
124 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" 125 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h"
125 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" 126 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h"
126 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom eos.h" 127 #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" 128 #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" 129 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact ory.h"
129 #else 130 #else
130 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" 131 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 #if defined(OS_CHROMEOS) 347 #if defined(OS_CHROMEOS)
347 policy::PolicyCertServiceFactory::GetInstance(); 348 policy::PolicyCertServiceFactory::GetInstance();
348 policy::RecommendationRestorerFactory::GetInstance(); 349 policy::RecommendationRestorerFactory::GetInstance();
349 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); 350 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance();
350 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); 351 policy::UserCloudPolicyTokenForwarderFactory::GetInstance();
351 policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); 352 policy::UserNetworkConfigurationUpdaterFactory::GetInstance();
352 #else 353 #else
353 policy::UserCloudPolicyManagerFactory::GetInstance(); 354 policy::UserCloudPolicyManagerFactory::GetInstance();
354 policy::UserPolicySigninServiceFactory::GetInstance(); 355 policy::UserPolicySigninServiceFactory::GetInstance();
355 #endif 356 #endif
357 policy::PolicyHeaderServiceFactory::GetInstance();
356 policy::SchemaRegistryServiceFactory::GetInstance(); 358 policy::SchemaRegistryServiceFactory::GetInstance();
357 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); 359 policy::UserCloudPolicyInvalidatorFactory::GetInstance();
358 #endif 360 #endif
359 predictors::AutocompleteActionPredictorFactory::GetInstance(); 361 predictors::AutocompleteActionPredictorFactory::GetInstance();
360 predictors::PredictorDatabaseFactory::GetInstance(); 362 predictors::PredictorDatabaseFactory::GetInstance();
361 predictors::ResourcePrefetchPredictorFactory::GetInstance(); 363 predictors::ResourcePrefetchPredictorFactory::GetInstance();
362 prerender::PrerenderManagerFactory::GetInstance(); 364 prerender::PrerenderManagerFactory::GetInstance();
363 prerender::PrerenderLinkManagerFactory::GetInstance(); 365 prerender::PrerenderLinkManagerFactory::GetInstance();
364 ProfileSyncServiceFactory::GetInstance(); 366 ProfileSyncServiceFactory::GetInstance();
365 ProtocolHandlerRegistryFactory::GetInstance(); 367 ProtocolHandlerRegistryFactory::GetInstance();
(...skipping 14 matching lines...) Expand all
380 #endif 382 #endif
381 #if defined(ENABLE_EXTENSIONS) 383 #if defined(ENABLE_EXTENSIONS)
382 TokenCacheServiceFactory::GetInstance(); 384 TokenCacheServiceFactory::GetInstance();
383 #endif 385 #endif
384 WebDataServiceFactory::GetInstance(); 386 WebDataServiceFactory::GetInstance();
385 } 387 }
386 388
387 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 389 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
388 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 390 EnsureBrowserContextKeyedServiceFactoriesBuilt();
389 } 391 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud/user_policy_signin_service_base.cc ('k') | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698