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

Unified Diff: chrome/browser/net/predictor.cc

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: use system srp and mpi libs, not local copies Created 9 years, 8 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: chrome/browser/net/predictor.cc
diff --git a/chrome/browser/net/predictor.cc b/chrome/browser/net/predictor.cc
index 46dcf1ff5a6e167071867223a336c9b76710f2b7..18e76f31fb91182bc74c8b9bae390e977108080b 100644
--- a/chrome/browser/net/predictor.cc
+++ b/chrome/browser/net/predictor.cc
@@ -679,7 +679,7 @@ GURL Predictor::CanonicalizeUrl(const GURL& url) {
std::string scheme;
if (url.has_scheme()) {
scheme = url.scheme();
- if (scheme != "http" && scheme != "https")
+ if (scheme != "http" && scheme != "https" && scheme != "httpsv")
return GURL::EmptyGURL();
if (url.has_port())
return url.GetWithEmptyPath();

Powered by Google App Engine
This is Rietveld 408576698