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..39d3ff08e3d76d0b819d9f0f905c315306dea483 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" |
| @@ -981,6 +983,9 @@ void ProfileManager::DoFinalInit(Profile* profile, bool go_off_the_record) { |
| AddProfileToCache(profile); |
| DoFinalInitLogging(profile); |
| + DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile)-> |
|
bengr
2014/10/22 00:46:43
What happens in incognito?
Not at Google. Contact bengr
2014/10/22 20:03:42
This code does not run for incognito.
|
| + MaybeActivateDataReductionProxy(true); |
| + |
| ProfileMetrics::LogNumberOfProfiles(this); |
| content::NotificationService::current()->Notify( |
| chrome::NOTIFICATION_PROFILE_ADDED, |