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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.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_settings.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
index 88aa3176d0f6ae6ec6f3c7122300840a353426b4..6a390105735f1b92eaa5b5c0384c58d4b1925982 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
@@ -437,14 +437,14 @@ void DataReductionProxySettings::SetProxyConfigs(bool enabled,
if (alternative_enabled) {
configurator_->Enable(restricted,
!params()->alternative_fallback_allowed(),
- params()->alt_origin().spec(),
+ params()->alt_origin().ToURI(),
bengr 2015/02/04 00:49:26 #include "net/proxy/proxy_server.h"
tbansal1 2015/02/04 22:49:11 Done.
std::string(),
- params()->ssl_origin().spec());
+ params()->ssl_origin().ToURI());
} else {
configurator_->Enable(restricted,
!params()->fallback_allowed(),
- params()->origin().spec(),
- params()->fallback_origin().spec(),
+ params()->origin().ToURI(),
+ params()->fallback_origin().ToURI(),
std::string());
}
} else {

Powered by Google App Engine
This is Rietveld 408576698