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

Unified Diff: components/data_reduction_proxy/browser/data_reduction_proxy_params.cc

Issue 607163002: Copy latest data reduction proxy urls to params. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comment for kDefaultSslOrigin. Created 6 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
index d3248cb1bc42b5cf63ceacd937da7873ae6808d0..d7dcde52008fafbb71e7c325cd58e0702982312c 100644
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
@@ -27,12 +27,15 @@ namespace {
const char kEnabled[] = "Enabled";
const char kDefaultOrigin[] = "https://proxy.googlezip.net:443/";
-const char kDevOrigin[] = "http://proxy-dev.googlezip.net:443/";
+const char kDevOrigin[] = "https://proxy-dev.googlezip.net:443/";
const char kDevFallbackOrigin[] = "http://proxy-dev.googlezip.net:80/";
const char kDefaultFallbackOrigin[] = "http://compress.googlezip.net:80/";
-const char kDefaultSslOrigin[] = "http://ssl.googlezip.net:1043/";
-const char kDefaultAltOrigin[] = "https://proxy.googlezip.net:443/";
-const char kDefaultAltFallbackOrigin[] = "http://compress.googlezip.net:80/";
+// This is for a proxy that supports HTTP CONNECT to tunnel SSL traffic.
+// The proxy listens on port 443, but uses the HTTP protocol to set up
+// the tunnel, not HTTPS.
+const char kDefaultSslOrigin[] = "http://ssl.googlezip.net:443/";
+const char kDefaultAltOrigin[] = "http://ssl.googlezip.net:80/";
+const char kDefaultAltFallbackOrigin[] = "http://ssl.googlezip.net:80/";
const char kDefaultProbeUrl[] = "http://check.googlezip.net/connect";
const char kDefaultWarmupUrl[] = "http://www.gstatic.com/generate_204";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698