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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.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/browser/data_reduction_proxy_mutable_config_values.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc
index b5f5cd2e2e500d255286efe1f7ee71ea4e139b2f..fed1729d659ff36fe703e82111d3ddcb9a9e84b8 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc
@@ -7,6 +7,7 @@
#include <vector>
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h"
+#include "components/data_reduction_proxy/core/common/data_reduction_proxy_server.h"
namespace data_reduction_proxy {
@@ -57,7 +58,7 @@ bool DataReductionProxyMutableConfigValues::fallback_allowed() const {
return fallback_allowed_;
}
-const std::vector<net::ProxyServer>&
+const std::vector<DataReductionProxyServer>
DataReductionProxyMutableConfigValues::proxies_for_http() const {
DCHECK(thread_checker_.CalledOnValidThread());
if (use_override_proxies_for_http_ && !proxies_for_http_.empty()) {
@@ -79,7 +80,7 @@ const GURL& DataReductionProxyMutableConfigValues::secure_proxy_check_url()
}
void DataReductionProxyMutableConfigValues::UpdateValues(
- const std::vector<net::ProxyServer>& proxies_for_http) {
+ const std::vector<DataReductionProxyServer>& proxies_for_http) {
DCHECK(thread_checker_.CalledOnValidThread());
proxies_for_http_ = proxies_for_http;
}

Powered by Google App Engine
This is Rietveld 408576698