| 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 7b61eed20973ee548f7fb1bc124cc6ba2f076f30..44746c1e2ced5f9a71cf32afe6701d04b5423a61 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,11 +127,13 @@ 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(*config(), SecureProxyCheck(_, _))
|
| + EXPECT_CALL(*service, SecureProxyCheck(_, _))
|
| .Times(1)
|
| .WillRepeatedly(testing::WithArgs<1>(
|
| testing::Invoke(&responder, &TestResponder::ExecuteCallback)));
|
| @@ -159,8 +161,9 @@ class DataReductionProxyConfigTest : public testing::Test {
|
| scoped_ptr<DataReductionProxyParams> params) {
|
| params->EnableQuic(false);
|
| return make_scoped_ptr(new DataReductionProxyConfig(
|
| - test_context_->task_runner(), test_context_->net_log(), params.Pass(),
|
| - test_context_->configurator(), test_context_->event_store()));
|
| + test_context_->task_runner(), test_context_->task_runner(),
|
| + test_context_->net_log(), params.Pass(), test_context_->configurator(),
|
| + test_context_->event_store()));
|
| }
|
|
|
| MockDataReductionProxyConfig* config() {
|
|
|