| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index be00c5c456562636282576bdfb0288ac96e48f09..87cf210f5fb2e2e06140f2c09b2121a41346334a 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -43,6 +43,8 @@
|
| #include "chrome/browser/metrics/rappor/sampling.h"
|
| #include "chrome/browser/nacl_host/nacl_browser_delegate_impl.h"
|
| #include "chrome/browser/net/chrome_net_log.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/notifications/desktop_notification_service.h"
|
| #include "chrome/browser/notifications/desktop_notification_service_factory.h"
|
| #include "chrome/browser/notifications/platform_notification_service_impl.h"
|
| @@ -100,6 +102,7 @@
|
| #include "components/content_settings/core/browser/host_content_settings_map.h"
|
| #include "components/content_settings/core/common/content_settings.h"
|
| #include "components/content_settings/core/common/permission_request_id.h"
|
| +#include "components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h"
|
| #include "components/dom_distiller/core/url_constants.h"
|
| #include "components/google/core/browser/google_util.h"
|
| #include "components/metrics/client_info.h"
|
| @@ -938,6 +941,13 @@ void ChromeContentBrowserClient::RenderProcessWillLaunch(
|
| if (switches::IsEnableAccountConsistency())
|
| host->AddFilter(new PrincipalsMessageFilter(id));
|
|
|
| + DataReductionProxyChromeSettings* data_reduction_proxy_settings =
|
| + DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile);
|
| + if (data_reduction_proxy_settings) {
|
| + host->AddFilter(new data_reduction_proxy::DataReductionProxyMessageFilter(
|
| + data_reduction_proxy_settings));
|
| + }
|
| +
|
| host->Send(new ChromeViewMsg_SetIsIncognitoProcess(
|
| profile->IsOffTheRecord()));
|
|
|
|
|