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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h

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/browser/data_reduction_proxy_test_utils.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h
index 47a2df688ef9b67e3cae1d230b089395b4206270..e13113fb75d40d5ad510d1afa9b7b2e92a2bf643 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h
@@ -50,6 +50,7 @@ class DataReductionProxyConfigurator;
class DataReductionProxyEventCreator;
class DataReductionProxyMutableConfigValues;
class DataReductionProxyRequestOptions;
+class DataReductionProxyServer;
class DataReductionProxySettings;
class MockDataReductionProxyConfig;
class TestDataReductionProxyConfig;
@@ -317,7 +318,7 @@ class DataReductionProxyTestContext {
// Specifies the data reduction proxy servers.
Builder& WithProxiesForHttp(
- const std::vector<net::ProxyServer>& proxy_servers);
+ const std::vector<DataReductionProxyServer>& proxy_servers);
// Creates a |DataReductionProxyTestContext|. Owned by the caller.
std::unique_ptr<DataReductionProxyTestContext> Build();
@@ -335,7 +336,7 @@ class DataReductionProxyTestContext {
bool use_config_client_;
bool use_test_config_client_;
bool skip_settings_initialization_;
- std::vector<net::ProxyServer> proxy_servers_;
+ std::vector<DataReductionProxyServer> proxy_servers_;
};
virtual ~DataReductionProxyTestContext();

Powered by Google App Engine
This is Rietveld 408576698