| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc
|
| index 416dcb27c92d56e15e5eaf7226e229ab4d98532c..2505105e451cfda52b3f5c12705bff3c835e8bb6 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc
|
| @@ -26,7 +26,7 @@ TestDataReductionProxyConfig::TestDataReductionProxyConfig(
|
| make_scoped_ptr(
|
| new TestDataReductionProxyParams(params_flags, params_definitions))
|
| .Pass(),
|
| - configurator, event_store) {
|
| + configurator, event_store, false /* enable_quic */) {
|
| network_interfaces_.reset(new net::NetworkInterfaceList());
|
| }
|
|
|
| @@ -40,6 +40,10 @@ void TestDataReductionProxyConfig::GetNetworkList(
|
| interfaces->push_back(network_interfaces_->at(i));
|
| }
|
|
|
| +void TestDataReductionProxyConfig::EnableQuic(bool enable) {
|
| + params_->EnableQuic(enable);
|
| +}
|
| +
|
| void TestDataReductionProxyConfig::ResetParamFlagsForTest(int flags) {
|
| params_ = make_scoped_ptr(
|
| new TestDataReductionProxyParams(
|
| @@ -50,11 +54,6 @@ void TestDataReductionProxyConfig::ResetParamFlagsForTest(int flags) {
|
| .Pass();
|
| }
|
|
|
| -void TestDataReductionProxyConfig::ResetParamsForTest(
|
| - scoped_ptr<TestDataReductionProxyParams> params) {
|
| - params_ = params.Pass();
|
| -}
|
| -
|
| TestDataReductionProxyParams* TestDataReductionProxyConfig::test_params() {
|
| return static_cast<TestDataReductionProxyParams*>(params_.get());
|
| }
|
|
|