| 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 641f625974aba96811bc24520ff13e61fd2b7c3c..db73b0de69e078da9d78f7c8746fad9edf6c0aec 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
|
| @@ -15,7 +15,7 @@
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h"
|
| -#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h"
|
| +#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h"
|
| #include "net/base/net_log.h"
|
| #include "net/url_request/url_request_interceptor.h"
|
| #include "net/url_request/url_request_test_util.h"
|
| @@ -54,13 +54,7 @@ namespace data_reduction_proxy {
|
| class DataReductionProxyIODataTest : public testing::Test {
|
| public:
|
| void SetUp() override {
|
| - scoped_ptr<TestDataReductionProxyParams> params;
|
| - params.reset(new TestDataReductionProxyParams(
|
| - TestDataReductionProxyParams::kAllowed,
|
| - TestDataReductionProxyParams::HAS_EVERYTHING &
|
| - ~TestDataReductionProxyParams::HAS_DEV_ORIGIN &
|
| - ~TestDataReductionProxyParams::HAS_DEV_FALLBACK_ORIGIN));
|
| - settings_.reset(new DataReductionProxySettings(params.Pass()));
|
| + settings_.reset(new DataReductionProxySettings());
|
| RegisterSimpleProfilePrefs(prefs_.registry());
|
| }
|
|
|
| @@ -107,7 +101,8 @@ TEST_F(DataReductionProxyIODataTest, TestConstruction) {
|
| prefs(), message_loop_proxy(), base::TimeDelta());
|
| scoped_ptr<DataReductionProxyIOData> io_data(
|
| new DataReductionProxyIOData(
|
| - Client::UNKNOWN, make_scoped_ptr(statistics_prefs), settings(),
|
| + Client::UNKNOWN, DataReductionProxyParams::kAllowed,
|
| + make_scoped_ptr(statistics_prefs), settings(),
|
| net_log(), message_loop_proxy(), message_loop_proxy()));
|
|
|
| // Check that io_data creates an interceptor. Such an interceptor is
|
|
|