| 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 64f75897543b26c1eae903f3b253e1ef41fcdad4..c0083cb1dbfe0e36040a9e2096cbd84a1b871ac8 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
|
| @@ -186,6 +186,19 @@ class DataReductionProxyConfig
|
| // tied to whether the Data Reduction Proxy is enabled.
|
| bool promo_allowed() const;
|
|
|
| + // Returns true if current network conditions are worse than the ones
|
| + // specified in the enabled or control field trial group parameters.
|
| + // Virtualized for mocking.
|
| + virtual bool IsNetworkBad() const;
|
| +
|
| + // Returns true if this client is part of LoFi enabled field trial.
|
| + // Virtualized for mocking.
|
| + virtual bool IsIncludedInLoFiEnabledFieldTrial() const;
|
| +
|
| + // Returns true if this client is part of LoFi control field trial.
|
| + // Virtualized for mocking.
|
| + virtual bool IsIncludedInLoFiControlFieldTrial() const;
|
| +
|
| protected:
|
| // Writes a warning to the log that is used in backend processing of
|
| // customer feedback. Virtual so tests can mock it for verification.
|
|
|