| 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 d3e8e0d53116cdbc0d0945946929898bfcae7d4e..636aeb22c5c9dd165544ffb844580e9ecafe7209 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -42,6 +42,8 @@
|
| #include "chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.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"
|
| @@ -99,6 +101,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"
|
| @@ -937,6 +940,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()));
|
|
|
|
|