Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc |
index d28ba9f4903811fbeb5709b5495a97ec69277fc4..491d87fee647bd9d80b81c2f1ceb31e87711e966 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc |
@@ -70,16 +70,7 @@ class DataReductionProxyBypassStatsTest : public testing::Test { |
context_.set_job_factory(&test_job_factory_); |
test_context_ = |
- DataReductionProxyTestContext::Builder() |
- .WithParamsFlags(DataReductionProxyParams::kAllowed | |
- DataReductionProxyParams::kFallbackAllowed | |
- DataReductionProxyParams::kPromoAllowed) |
- .WithParamsDefinitions( |
- TestDataReductionProxyParams::HAS_EVERYTHING & |
- ~TestDataReductionProxyParams::HAS_DEV_ORIGIN & |
- ~TestDataReductionProxyParams::HAS_DEV_FALLBACK_ORIGIN) |
- .WithMockConfig() |
- .Build(); |
+ DataReductionProxyTestContext::Builder().WithMockConfig().Build(); |
mock_url_request_ = context_.CreateRequest(GURL(), net::IDLE, &delegate_); |
} |
@@ -565,10 +556,6 @@ class DataReductionProxyBypassStatsEndToEndTest : public testing::Test { |
drp_test_context_ = |
DataReductionProxyTestContext::Builder() |
.WithParamsFlags(DataReductionProxyParams::kAllowed) |
- .WithParamsDefinitions( |
- TestDataReductionProxyParams::HAS_EVERYTHING & |
- ~TestDataReductionProxyParams::HAS_DEV_ORIGIN & |
- ~TestDataReductionProxyParams::HAS_DEV_FALLBACK_ORIGIN) |
.WithURLRequestContext(&context_) |
.WithMockClientSocketFactory(&mock_socket_factory_) |
.Build(); |