| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.cc
|
| index cf0956052c334d6f234b0b387c5cd43f5baf2f80..763333e351c02bf2547ac4a879754143fe305031 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.cc
|
| @@ -22,13 +22,19 @@ void TestDataReductionProxyConfigurator::Enable(
|
| const std::vector<net::ProxyServer>& proxies_for_http) {
|
| enabled_ = true;
|
| restricted_ = secure_transport_restricted;
|
| - proxies_for_http_ = proxies_for_http;
|
| + DataReductionProxyConfigurator::Enable(secure_transport_restricted,
|
| + proxies_for_http);
|
| }
|
|
|
| void TestDataReductionProxyConfigurator::Disable() {
|
| enabled_ = false;
|
| restricted_ = false;
|
| - proxies_for_http_ = std::vector<net::ProxyServer>();
|
| + DataReductionProxyConfigurator::Disable();
|
| +}
|
| +
|
| +const std::vector<net::ProxyServer>&
|
| +TestDataReductionProxyConfigurator::proxies_for_http() const {
|
| + return GetProxyConfig().proxy_rules().proxies_for_http.GetAll();
|
| }
|
|
|
| } // namespace data_reduction_proxy
|
|
|