| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h
|
| index df01795fcaf93e5281e71137da129764b055ba88..e48c9184d1c7b5e6ede56236cf596837af4c831d 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h
|
| @@ -190,6 +190,10 @@ class DataReductionProxyConfig
|
| // the URLRequestContext.
|
| bool ShouldEnableLoFiMode(const net::URLRequest& request);
|
|
|
| + // Returns true if the data saver has been enabled by the user, and the data
|
| + // saver proxy is reachable.
|
| + bool enabled_by_user_and_reachable() const;
|
| +
|
| protected:
|
| // Virtualized for mocking. Records UMA containing the result of requesting
|
| // the secure proxy check.
|
|
|