| 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 16629239156530d5ac7a0d73d16178c2a3355aba..dd1e22ee7e1f47a00c2312ad8bd53b7456bc0da0 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,11 @@ bool IsIncludedInHoldbackFieldTrial();
|
| // a promotion for the data reduction proxy on Android One devices.
|
| bool IsIncludedInAndroidOnePromoFieldTrial(const char* build_fingerprint);
|
|
|
| +// Returns true if this client has any of the the command line switches to
|
| +// enable Lo-Fi mode. This includes the always on, cellular only, and slow
|
| +// connections switches.
|
| +bool IsLoFiOnViaFlags();
|
| +
|
| // Returns true if this client has the command line switch to enable Lo-Fi
|
| // mode always on.
|
| bool IsLoFiAlwaysOnViaFlags();
|
| @@ -74,6 +79,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 the name of the client config field trial.
|
|
|