Chromium Code Reviews| Index: chrome/browser/profiles/profile_manager.cc |
| diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
| index 21df767c82daec0f7ffc68e9ed40f99aabd73297..0ce15038b77936e905c45f20a7992e806a791379 100644 |
| --- a/chrome/browser/profiles/profile_manager.cc |
| +++ b/chrome/browser/profiles/profile_manager.cc |
| @@ -25,6 +25,8 @@ |
| #include "chrome/browser/content_settings/host_content_settings_map.h" |
| #include "chrome/browser/download/download_service.h" |
| #include "chrome/browser/download/download_service_factory.h" |
| +#include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" |
| +#include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.h" |
| #include "chrome/browser/password_manager/password_store_factory.h" |
| #include "chrome/browser/prefs/incognito_mode_prefs.h" |
| #include "chrome/browser/profiles/bookmark_model_loaded_observer.h" |
| @@ -1010,6 +1012,11 @@ void ProfileManager::DoFinalInitForServices(Profile* profile, |
| StartupTaskRunnerServiceFactory::GetForProfile(profile)-> |
| StartDeferredTaskRunners(); |
| + // Activate data reduction proxy. This creates a request context and makes a |
| + // URL request to check if the data reduction proxy server is reachable. |
| + DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile)-> |
|
rpetterson
2014/10/23 19:57:04
Is there any risk of this call slowing down startu
Not at Google. Contact bengr
2014/10/23 20:08:50
This call is simply being moved from profile_impl.
|
| + MaybeActivateDataReductionProxy(true); |
| + |
| AccountTrackerServiceFactory::GetForProfile(profile); |
| AccountReconcilorFactory::GetForProfile(profile); |
| } |