Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc |
index 4caf2158601f6d64b02c9d96e32a02d0fb20fee5..24fc634a62cd416aa07ee610321836c958012a08 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc |
@@ -94,8 +94,8 @@ class DataReductionProxyIODataTest : public testing::Test { |
TEST_F(DataReductionProxyIODataTest, TestConstruction) { |
scoped_ptr<DataReductionProxyIOData> io_data(new DataReductionProxyIOData( |
Client::UNKNOWN, DataReductionProxyParams::kAllowed, net_log(), |
- message_loop_proxy(), message_loop_proxy(), false /* enable_quic */, |
- std::string() /* user_agent */)); |
+ message_loop_proxy(), message_loop_proxy(), false /* enabled */, |
+ false /* enable_quic */, std::string() /* user_agent */)); |
// Check that the SimpleURLRequestContextGetter uses vanilla HTTP. |
net::URLRequestContext* request_context = |
@@ -141,9 +141,6 @@ TEST_F(DataReductionProxyIODataTest, TestConstruction) { |
true); |
EXPECT_NE(nullptr, io_data->bypass_stats()); |
- // The Data Reduction Proxy isn't actually enabled here. |
- io_data->InitOnUIThread(prefs()); |
- EXPECT_FALSE(io_data->IsEnabled()); |
io_data->ShutdownOnUIThread(); |
} |