| Index: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
| diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
| index ebddfcd6cb4684d64d41796502bada351df42957..8bf559c1a6eece3df09a3c6062f8c809270b2f32 100644
|
| --- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
| +++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
| @@ -92,6 +92,10 @@
|
| #include "components/navigation_interception/intercept_navigation_delegate.h"
|
| #endif
|
|
|
| +#if defined(ENABLE_DATA_REDUCTION_PROXY_DEBUGGING)
|
| +#include "components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.h"
|
| +#endif
|
| +
|
| #if defined(OS_CHROMEOS)
|
| #include "chrome/browser/chromeos/login/signin/merge_session_throttle.h"
|
| // TODO(oshima): Enable this for other platforms.
|
| @@ -527,6 +531,15 @@ void ChromeResourceDispatcherHostDelegate::AppendStandardResourceThrottles(
|
| }
|
| #endif
|
|
|
| +#if defined(ENABLE_DATA_REDUCTION_PROXY_DEBUGGING)
|
| + scoped_ptr<content::ResourceThrottle> data_reduction_proxy_throttle =
|
| + data_reduction_proxy::DataReductionProxyDebugResourceThrottle::
|
| + MaybeCreate(
|
| + request, resource_type, io_data->data_reduction_proxy_io_data());
|
| + if (data_reduction_proxy_throttle)
|
| + throttles->push_back(data_reduction_proxy_throttle.release());
|
| +#endif
|
| +
|
| #if defined(ENABLE_SUPERVISED_USERS)
|
| bool is_subresource_request =
|
| resource_type != content::RESOURCE_TYPE_MAIN_FRAME;
|
|
|