| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc
|
| index 5c4f2c15a4a6e9e4a3ae02c7cd3beb79070d1b22..8576bc7770aaecd22d6ce4535c760b2ae0e27a17 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc
|
| @@ -225,9 +225,14 @@ TEST(DataReductionProxyDelegate, IsTrustedSpdyProxy) {
|
| test_context->io_data()->net_log());
|
|
|
| base::FieldTrialList field_trial_list(nullptr);
|
| - base::FieldTrialList::CreateFieldTrial(
|
| - params::GetTrustedSpdyProxyFieldTrialName(),
|
| - test.is_in_trusted_spdy_proxy_field_trial ? "Enabled" : "Control");
|
| + EXPECT_TRUE(params::IsIncludedInTrustedSpdyProxyFieldTrial());
|
| + if (!test.is_in_trusted_spdy_proxy_field_trial) {
|
| + // Trusted Spdy proxy field trial experiment is enabled by default.
|
| + base::FieldTrialList::CreateFieldTrial(
|
| + params::GetTrustedSpdyProxyFieldTrialName(), "Control");
|
| + }
|
| + EXPECT_EQ(test.is_in_trusted_spdy_proxy_field_trial,
|
| + params::IsIncludedInTrustedSpdyProxyFieldTrial());
|
|
|
| EXPECT_EQ(test.expect_proxy_is_trusted,
|
| delegate.IsTrustedSpdyProxy(first_proxy) ||
|
|
|