| Index: components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc
|
| diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc
|
| index 94aec4ce75cb06b28ca49ad29d49f38e9e665910..9b507c3fc9a48e58bf65bb26e730c3b9c0f18dff 100644
|
| --- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc
|
| +++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc
|
| @@ -120,7 +120,18 @@ const char* GetTrustedSpdyProxyFieldTrialName() {
|
| }
|
|
|
| bool IsIncludedInTrustedSpdyProxyFieldTrial() {
|
| - return IsIncludedInFieldTrial(GetTrustedSpdyProxyFieldTrialName());
|
| + if (base::StartsWith(
|
| + FieldTrialList::FindFullName(GetTrustedSpdyProxyFieldTrialName()),
|
| + kControl, base::CompareCase::SENSITIVE)) {
|
| + return false;
|
| + }
|
| + if (base::StartsWith(
|
| + FieldTrialList::FindFullName(GetTrustedSpdyProxyFieldTrialName()),
|
| + kDisabled, base::CompareCase::SENSITIVE)) {
|
| + return false;
|
| + }
|
| + // Trusted SPDY proxy experiment is enabled by default.
|
| + return true;
|
| }
|
|
|
| const char* GetLoFiFieldTrialName() {
|
|
|