Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8474)

Unified Diff: components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.h

Issue 1140443002: Modify IPC call to properly record the PLT histograms for LoFi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor fixes to comments. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698