| Index: components/data_reduction_proxy/core/common/lofi_decider.h
|
| diff --git a/components/data_reduction_proxy/core/common/lofi_decider.h b/components/data_reduction_proxy/core/common/lofi_decider.h
|
| index 605df4bcbe75ef5934a34342e5622445ab386d1c..8a9d15b2872430fe09034040f12c07a0e735c998 100644
|
| --- a/components/data_reduction_proxy/core/common/lofi_decider.h
|
| +++ b/components/data_reduction_proxy/core/common/lofi_decider.h
|
| @@ -31,9 +31,11 @@ class LoFiDecider {
|
| // respectively. If a slow page preview is not triggered, "lite-page;if-heavy"
|
| // and "empty-image;if-heavy" are added in the respective aforementioned cases
|
| // to request that the server transform the page if it determines it to be
|
| - // heavy.
|
| + // heavy. Previews-related transformation headers are never added if
|
| + // |is_previews_disabled| is true.
|
| virtual void MaybeSetAcceptTransformHeader(
|
| const net::URLRequest& request,
|
| + bool is_previews_disabled,
|
| net::HttpRequestHeaders* headers) const = 0;
|
|
|
| // Returns true if |headers| contains the Chrome-Proxy-Accept-Transform
|
|
|