Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc |
index 44746c1e2ced5f9a71cf32afe6701d04b5423a61..7b61eed20973ee548f7fb1bc124cc6ba2f076f30 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc |
@@ -127,13 +127,11 @@ class DataReductionProxyConfigTest : public testing::Test { |
!config()->restricted_by_carrier_, |
request_succeeded && (response == "OK")), |
request_succeeded, 1); |
- MockDataReductionProxyService* service = |
- test_context_->mock_data_reduction_proxy_service(); |
TestResponder responder; |
responder.response = response; |
responder.status = |
net::URLRequestStatus(net::URLRequestStatus::SUCCESS, net::OK); |
- EXPECT_CALL(*service, SecureProxyCheck(_, _)) |
+ EXPECT_CALL(*config(), SecureProxyCheck(_, _)) |
.Times(1) |
.WillRepeatedly(testing::WithArgs<1>( |
testing::Invoke(&responder, &TestResponder::ExecuteCallback))); |
@@ -161,9 +159,8 @@ class DataReductionProxyConfigTest : public testing::Test { |
scoped_ptr<DataReductionProxyParams> params) { |
params->EnableQuic(false); |
return make_scoped_ptr(new DataReductionProxyConfig( |
- test_context_->task_runner(), test_context_->task_runner(), |
- test_context_->net_log(), params.Pass(), test_context_->configurator(), |
- test_context_->event_store())); |
+ test_context_->task_runner(), test_context_->net_log(), params.Pass(), |
+ test_context_->configurator(), test_context_->event_store())); |
} |
MockDataReductionProxyConfig* config() { |