Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc

Issue 2626963003: Remove kAllowed and kFallbackAllowed from data reduction proxy (Closed)
Patch Set: Addressed nits Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc
index c846d7263cfda4ede4732e382e5cfcd80dd21fe5..70390e396ac918ecea755a85650f212686a612d9 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc
@@ -113,7 +113,7 @@ class DataReductionProxyInterceptorTest : public testing::Test {
DataReductionProxyInterceptorTest() {
test_context_ =
DataReductionProxyTestContext::Builder()
- .WithParamsFlags(DataReductionProxyParams::kAllowed)
+ .WithParamsFlags(0)
.WithParamsDefinitions(TestDataReductionProxyParams::HAS_EVERYTHING)
.Build();
default_context_.reset(new TestURLRequestContextWithDataReductionProxy(
@@ -210,11 +210,10 @@ class DataReductionProxyInterceptorWithServerTest : public testing::Test {
ASSERT_TRUE(proxy_.Start());
ASSERT_TRUE(direct_.Start());
- test_context_ =
- DataReductionProxyTestContext::Builder()
- .WithParamsFlags(DataReductionProxyParams::kAllowed)
- .WithURLRequestContext(&context_)
- .Build();
+ test_context_ = DataReductionProxyTestContext::Builder()
+ .WithParamsFlags(0)
+ .WithURLRequestContext(&context_)
+ .Build();
std::string spec;
base::TrimString(proxy_.GetURL("/").spec(), "/", &spec);
net::ProxyServer origin =

Powered by Google App Engine
This is Rietveld 408576698