Index: components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h |
diff --git a/components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h b/components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h |
index e9ede87d8d6e4407ea1d8d2d7c2a51dda9cbe259..be78df592e5383be341f556b0ee0c93ddaf2d586 100644 |
--- a/components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h |
+++ b/components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h |
@@ -24,10 +24,18 @@ class DataReductionProxyMessageFilter |
// |settings| may be null. |
DataReductionProxyMessageFilter(DataReductionProxySettings* settings); |
- // Sets |response| to true if the |proxy_server| corresponds to a Data |
- // Reduction Proxy. |
- void OnIsDataReductionProxy(const net::HostPortPair& proxy_server, |
- bool* response); |
+ // Sets |is_data_reduction_proxy| to true if the |proxy_server| corresponds to |
+ // a Data Reduction Proxy. |
+ // Sets |lofi_enabled| to true if the |proxy_server| corresponds to a Data |
+ // Reduction Proxy, current session is in LoFi enabled finch group and |
+ // the current network quality is bad. |
+ // Sets |lofi_control| to true if the |proxy_server| corresponds to a Data |
+ // Reduction Proxy, current session is in LoFi control finch group and |
+ // the current network quality is bad. |
+ void OnDataReductionProxyStatus(const net::HostPortPair& proxy_server, |
+ bool* is_data_reduction_proxy, |
+ bool* lofi_enabled, |
+ bool* lofi_control); |
private: |
~DataReductionProxyMessageFilter() override; |