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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_config_values.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/common/data_reduction_proxy_config_values.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_config_values.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_config_values.h
index 9fd31c5f01633d4bcf51c6a1f1583d9ff455f637..28bc3f004b7953ccbfa3274f5934ace7913ebefd 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_config_values.h
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_config_values.h
@@ -9,12 +9,10 @@
class GURL;
-namespace net {
-class ProxyServer;
-}
-
namespace data_reduction_proxy {
+class DataReductionProxyServer;
+
class DataReductionProxyConfigValues {
public:
virtual ~DataReductionProxyConfigValues() {}
@@ -35,7 +33,8 @@ class DataReductionProxyConfigValues {
virtual bool fallback_allowed() const = 0;
// Returns the HTTP proxy servers to be used.
- virtual const std::vector<net::ProxyServer>& proxies_for_http() const = 0;
+ virtual const std::vector<DataReductionProxyServer> proxies_for_http()
+ const = 0;
// Returns the URL to check to decide if the secure proxy origin should be
// used.

Powered by Google App Engine
This is Rietveld 408576698