| Index: components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
|
| diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
|
| index 43d0795a573ce019e49491ef52d8bcc3a916862d..e42b14569ca87b9e955ff5f232eb31c34802b2fb 100644
|
| --- a/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
|
| +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
|
| @@ -37,8 +37,13 @@ bool DataReductionProxyParams::IsIncludedInFieldTrial() {
|
|
|
| // static
|
| bool DataReductionProxyParams::IsIncludedInAlternativeFieldTrial() {
|
| - return base::FieldTrialList::FindFullName(
|
| - "DataCompressionProxyAlternativeConfiguration") == kEnabled;
|
| + const std::string group_name = base::FieldTrialList::FindFullName(
|
| + "DataCompressionProxyAlternativeConfiguration");
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| + data_reduction_proxy::switches::kEnableDataReductionProxyAlt)) {
|
| + return true;
|
| + }
|
| + return group_name == kEnabled;
|
| }
|
|
|
| // static
|
|
|