| 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 561b2159a17d2d064347eec7e0c828bf5a18bb1d..c900cd82c5e8713db96f2407e3a2b8c6571b93f1 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -1987,6 +1987,11 @@ int ResourceDispatcherHostImpl::BuildLoadFlagsForRequest(
|
| load_flags &= ~net::LOAD_REPORT_RAW_HEADERS;
|
| }
|
|
|
| + // Add a flag to selectively bypass the data reduction proxy if the resource
|
| + // type is not an image.
|
| + if (request_data.resource_type != ResourceType::IMAGE)
|
| + load_flags |= net::LOAD_BYPASS_DATA_REDUCTION_PROXY;
|
| +
|
| return load_flags;
|
| }
|
|
|
|
|