| 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 8a9d15b2872430fe09034040f12c07a0e735c998..2eca7590fdb2d5545c9dd490b95edeecfb31c5ef 100644
|
| --- a/components/data_reduction_proxy/core/common/lofi_decider.h
|
| +++ b/components/data_reduction_proxy/core/common/lofi_decider.h
|
| @@ -20,9 +20,9 @@ class LoFiDecider {
|
| public:
|
| virtual ~LoFiDecider() {}
|
|
|
| - // Returns true when Lo-Fi mode is on for the given |request|. This means the
|
| - // Lo-Fi header should be added to the given request.
|
| - virtual bool IsUsingLoFiMode(const net::URLRequest& request) const = 0;
|
| + // Returns true when Lo-Fi Previews are on for the given |request|. This means
|
| + // the Lo-Fi header should be added to the given request.
|
| + virtual bool IsUsingLoFi(const net::URLRequest& request) const = 0;
|
|
|
| // Adds a previews-specific directive to the Chrome-Proxy-Accept-Transform
|
| // header if needed. If a slow page preview is triggered, adds "lite-page" or
|
| @@ -35,7 +35,7 @@ class LoFiDecider {
|
| // |is_previews_disabled| is true.
|
| virtual void MaybeSetAcceptTransformHeader(
|
| const net::URLRequest& request,
|
| - bool is_previews_disabled,
|
| + bool are_previews_disabled,
|
| net::HttpRequestHeaders* headers) const = 0;
|
|
|
| // Returns true if |headers| contains the Chrome-Proxy-Accept-Transform
|
|
|