Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc

Issue 2575323002: Store data reduction proxy server in a separate class (Closed)
Patch Set: ryansturm comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d8e7a08de2946ebc35f31519839e5d70bfeea2ce..95c7213b8bb5f17f6d78d80a2c15e880740d2245 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
@@ -29,8 +29,8 @@ bool TestDataReductionProxyParams::init_result() const {
}
void TestDataReductionProxyParams::SetProxiesForHttp(
- const std::vector<net::ProxyServer>& proxies) {
- proxies_for_http_ = proxies;
+ const std::vector<DataReductionProxyServer>& proxies) {
+ SetProxiesForHttpForTesting(proxies);
}
// Test values to replace the values specified in preprocessor defines.
std::string TestDataReductionProxyParams::DefaultOrigin() {

Powered by Google App Engine
This is Rietveld 408576698