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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h

Issue 1380933002: Set exp id in the CP header if user is in Lo-Fi control. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/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 46a301c7b2e3b37f46648e05f6d12e0b75a60e19..677172bc1f7b39ab4eac1ae3e8d9e1d6e78c2065 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
@@ -221,6 +221,10 @@ class DataReductionProxyConfig
// Should be called on all URL requests (main frame and non main frame).
bool ShouldUseLoFiHeaderForRequests() const;
+ // Returns true if the session is in Lo-Fi control experiment. This happens
bengr 2015/10/02 19:34:29 // Returns true if the session is in the control g
+ // if user is in Control group, and connection is slow.
+ bool IsInLoFiControlExperiment() const;
bengr 2015/10/02 19:34:29 I don't like the name, probably because I don't li
tbansal1 2015/10/02 20:28:38 It will be: IsInLoFiControlFieldTrial() && IsLofiA
+
// Sets |lofi_status_| to LOFI_STATUS_OFF.
void SetLoFiModeOff();

Powered by Google App Engine
This is Rietveld 408576698