| 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..a8f1a59cb07da1a2c57ad4ef334a7dce2f9cc2ac 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,10 @@ void ChromeContentBrowserClient::RenderProcessWillLaunch(
|
| if (switches::IsEnableAccountConsistency())
|
| host->AddFilter(new PrincipalsMessageFilter(id));
|
|
|
| + host->AddFilter(new data_reduction_proxy::DataReductionProxyMessageFilter(
|
| + DataReductionProxyChromeSettingsFactory::GetForBrowserContext(
|
| + profile)));
|
| +
|
| host->Send(new ChromeViewMsg_SetIsIncognitoProcess(
|
| profile->IsOffTheRecord()));
|
|
|
|
|