| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc
|
| index c50e743301e69e947cad15577a5f7d2487692f5b..f0135e8f83c529894156b9394d98caa07d38e0fc 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc
|
| @@ -44,6 +44,7 @@ TestDataReductionProxyConfig::TestDataReductionProxyConfig(
|
| configurator,
|
| event_creator),
|
| auto_lofi_enabled_group_(false),
|
| + auto_lofi_control_group_(false),
|
| network_quality_prohibitively_slow_(false) {
|
| network_interfaces_.reset(new net::NetworkInterfaceList());
|
| }
|
| @@ -102,11 +103,20 @@ bool TestDataReductionProxyConfig::IsIncludedInLoFiEnabledFieldTrial() const {
|
| return auto_lofi_enabled_group_;
|
| }
|
|
|
| +bool TestDataReductionProxyConfig::IsIncludedInLoFiControlFieldTrial() const {
|
| + return auto_lofi_control_group_;
|
| +}
|
| +
|
| void TestDataReductionProxyConfig::SetIncludedInLoFiEnabledFieldTrial(
|
| bool auto_lofi_enabled_group) {
|
| auto_lofi_enabled_group_ = auto_lofi_enabled_group;
|
| }
|
|
|
| +void TestDataReductionProxyConfig::SetIncludedInLoFiControlFieldTrial(
|
| + bool auto_lofi_control_group) {
|
| + auto_lofi_control_group_ = auto_lofi_control_group;
|
| +}
|
| +
|
| void TestDataReductionProxyConfig::SetNetworkProhibitivelySlow(
|
| bool network_quality_prohibitively_slow) {
|
| network_quality_prohibitively_slow_ = network_quality_prohibitively_slow;
|
|
|