| Index: components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc
|
| diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc
|
| index df2bc11a5962fa21952c9198229a93d3fc7ffe65..87863acbb6d857576a9e7d09fc3c229342ff4d16 100644
|
| --- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc
|
| +++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc
|
| @@ -39,6 +39,12 @@ bool TestDataReductionProxyParams::init_result() const {
|
| return init_result_;
|
| }
|
|
|
| +void TestDataReductionProxyParams::SetProxiesForHttp(
|
| + const std::vector<net::ProxyServer>& proxies,
|
| + const std::vector<net::ProxyServer>& alt_proxies) {
|
| + proxies_for_http_ = proxies;
|
| + alt_proxies_for_http_ = alt_proxies;
|
| +}
|
| // Test values to replace the values specified in preprocessor defines.
|
| std::string TestDataReductionProxyParams::DefaultDevOrigin() {
|
| return kDefaultDevOrigin;
|
| @@ -96,15 +102,6 @@ std::string TestDataReductionProxyParams::FlagSecureProxyCheckURL() {
|
| return kFlagSecureProxyCheckURL;
|
| }
|
|
|
| -void TestDataReductionProxyParams::set_origin(const net::ProxyServer& origin) {
|
| - origin_ = origin;
|
| -}
|
| -
|
| -void TestDataReductionProxyParams::set_fallback_origin(
|
| - const net::ProxyServer& fallback_origin) {
|
| - fallback_origin_ = fallback_origin;
|
| -}
|
| -
|
| std::string TestDataReductionProxyParams::GetDefaultDevOrigin() const {
|
| return GetDefinition(
|
| TestDataReductionProxyParams::HAS_DEV_ORIGIN, kDefaultDevOrigin);
|
|
|