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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc

Issue 863203009: Store Proxy Servers as proxy servers and not GURLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months 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_config.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
index 0fbd744faeea3d609014ad8e2274aa32618e2758..b0021654a0a9c9e4921cea3dc85486b647929e77 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
@@ -92,12 +92,12 @@ void DataReductionProxyConfig::SetProxyConfigs(bool enabled,
if (alternative_enabled) {
configurator_->Enable(restricted,
!params()->alternative_fallback_allowed(),
- params()->alt_origin().spec(), std::string(),
- params()->ssl_origin().spec());
+ params()->alt_origin().ToURI(), std::string(),
bengr 2015/02/04 00:49:26 #include <string> #include proxy_server.h
tbansal1 2015/02/04 22:49:10 Done.
+ params()->ssl_origin().ToURI());
} else {
configurator_->Enable(restricted, !params()->fallback_allowed(),
- params()->origin().spec(),
- params()->fallback_origin().spec(), std::string());
+ params()->origin().ToURI(),
+ params()->fallback_origin().ToURI(), std::string());
}
} else {
configurator_->Disable();

Powered by Google App Engine
This is Rietveld 408576698