| 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 6eb8e51dabb18aa6742a33cd6d7e79dd5c5f3485..3f0db84306049e08424a9f8339f624a18172e5c4 100644
|
| --- a/components/data_reduction_proxy/core/common/lofi_decider.h
|
| +++ b/components/data_reduction_proxy/core/common/lofi_decider.h
|
| @@ -9,14 +9,11 @@
|
|
|
| namespace net {
|
| class HttpRequestHeaders;
|
| -class ProxyServer;
|
| class URLRequest;
|
| }
|
|
|
| namespace data_reduction_proxy {
|
|
|
| -class DataReductionProxyConfig;
|
| -
|
| // Interface to determine if a request should be made for a low fidelity version
|
| // of the resource.
|
| class LoFiDecider {
|
| @@ -31,13 +28,10 @@ class LoFiDecider {
|
| // |request| is using Lo-Fi mode, adds the "q=low" directive to the |headers|.
|
| // If the |request| is using Lo-Fi preview mode, and it is a main frame
|
| // request adds the "q=preview" and it is a main frame request directive to
|
| - // the |headers|. Only adds this header if the provided |proxy_server| is a
|
| - // data reduction proxy as identified by the given |config|.
|
| + // the |headers|.
|
| virtual bool MaybeAddLoFiDirectiveToHeaders(
|
| const net::URLRequest& request,
|
| - net::HttpRequestHeaders* headers,
|
| - const net::ProxyServer& proxy_server,
|
| - DataReductionProxyConfig* config) const = 0;
|
| + net::HttpRequestHeaders* headers) const = 0;
|
| };
|
|
|
| } // namespace data_reduction_proxy
|
|
|