Index: content/browser/loader/resource_dispatcher_host_impl.cc |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc |
index d342ec3c84d389dd0e5563a048a1a4be21813b14..c8ad28b50424cdc45902c650ff0655a64bee5d50 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.cc |
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
@@ -23,6 +23,7 @@ |
#include "base/metrics/sparse_histogram.h" |
#include "base/stl_util.h" |
#include "base/third_party/dynamic_annotations/dynamic_annotations.h" |
+#include "components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h" |
#include "content/browser/appcache/appcache_interceptor.h" |
#include "content/browser/appcache/chrome_appcache_service.h" |
#include "content/browser/cert_store_impl.h" |
@@ -1987,6 +1988,9 @@ int ResourceDispatcherHostImpl::BuildLoadFlagsForRequest( |
load_flags &= ~net::LOAD_REPORT_RAW_HEADERS; |
} |
+ load_flags |= data_reduction_proxy::BuildLoadFlagsForRequest( |
+ request_data.resource_type); |
+ |
return load_flags; |
} |