Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h |
index 339e8764554dabc2d40541cddb460a23acaf7a7c..22a90a8397ef904afa505e90fc2191e04653bade 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h |
@@ -95,10 +95,15 @@ class DataReductionProxyIOData : public DataReductionProxyEventStorageDelegate { |
// Applies a serialized Data Reduction Proxy configuration. |
void SetDataReductionProxyConfiguration(const std::string& serialized_config); |
- // Returns true when Lo-Fi mode should be activated. When Lo-Fi mode is |
+ // Returns true when Lo-Fi Previews should be activated. When Lo-Fi is |
// active, URL requests are modified to request low fidelity versions of the |
// resources, except when the user is in the Lo-Fi control group. |
- bool ShouldEnableLoFiMode(const net::URLRequest& request); |
+ bool ShouldEnableLoFi(const net::URLRequest& request); |
+ |
+ // Returns true when Lite Page Previews should be activated. When Lite Pages |
+ // are active, a low fidelity transcoded page is requested on the main frame |
+ // resource, except when the user is in the control group. |
+ bool ShouldEnableLitePages(const net::URLRequest& request); |
// Sets Lo-Fi mode off in |config_|. |
void SetLoFiModeOff(); |