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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params.h

Issue 1363673004: [DRP] Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing tbansal comments 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/common/data_reduction_proxy_params.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
index 773e7b22fd64ab7f46b2061d54f8639124bc75a8..c86d311b87fba2e062c37d986bd9bc354d3a3b48 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
@@ -74,6 +74,14 @@ std::string GetLoFiFieldTrialName();
// is force enabled through flags.
std::string GetLoFiFlagFieldTrialName();
+// Returns true if this client is part of Lo-Fi enabled field trial.
+// Virtualized for unit testing.
+bool IsIncludedInLoFiEnabledFieldTrial();
+
+// Returns true if this client is part of Lo-Fi control field trial.
+// Virtualized for unit testing.
+bool IsIncludedInLoFiControlFieldTrial();
+
std::string GetQuicFieldTrialName();
// Returns true if this client is part of a field trial that allows Data Saver

Powered by Google App Engine
This is Rietveld 408576698