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 b3eefde99dfdcc8335d5f2bcd1eef762575c6d91..d66f26130773da651bcb6db3bd8f6576c2037eb8 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 |
@@ -43,6 +43,26 @@ bool IsIncludedInHoldbackFieldTrial(); |
// a promotion for the data reduction proxy on Android One devices. |
bool IsIncludedInAndroidOnePromoFieldTrial(const char* build_fingerprint); |
+// Returns the name of the Lo-Fi field trial. |
+std::string GetLoFiFieldTrialName(); |
+ |
+// Returns the name of the Lo-Fi field trial that configures LoFi flags when it |
+// is force enabled through flags. |
+std::string GetLoFiFlagFieldTrialName(); |
+ |
+// Returns true if this client is part of the "Enabled" group of the Lo-Fi field |
+// trial. |
+bool IsIncludedInLoFiEnabledFieldTrial(); |
+ |
+// Returns true if this client is part of the "Control" group of the Lo-Fi field |
+// trial. |
+bool IsIncludedInLoFiControlFieldTrial(); |
+ |
+// Returns true if this client has any of the values to enable Lo-Fi mode for |
+// the "data-reduction-proxy-lo-fi" command line switch. This includes the |
+// "always-on", "cellular-only", and "slow-connections-only" values. |
+bool IsLoFiOnViaFlags(); |
+ |
// Returns true if this client has the command line switch to enable Lo-Fi |
// mode always on. |
bool IsLoFiAlwaysOnViaFlags(); |
@@ -71,13 +91,6 @@ bool IsIncludedInQuicFieldTrial(); |
// line switch or as a part of field trial. |
bool IsDevRolloutEnabled(); |
-// Returns the name of the Lo-Fi field trial. |
-std::string GetLoFiFieldTrialName(); |
- |
-// Returns the name of the Lo-Fi field trial that configures LoFi flags when it |
-// is force enabled through flags. |
-std::string GetLoFiFlagFieldTrialName(); |
- |
std::string GetQuicFieldTrialName(); |
// Returns the name of the client config field trial. |