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

Unified Diff: net/http/http_auth_cache.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: net/http/http_auth_cache.cc
diff --git a/net/http/http_auth_cache.cc b/net/http/http_auth_cache.cc
index 3e5007f3517b9956c7d3913cc835d59732e9bbe2..6fac5303ce605052b817c70e5b9fa821346923e2 100644
--- a/net/http/http_auth_cache.cc
+++ b/net/http/http_auth_cache.cc
@@ -42,7 +42,8 @@ bool IsEnclosingPath(const std::string& container, const std::string& path) {
// Debug helper to check that |origin| arguments are properly formed.
void CheckOriginIsValid(const GURL& origin) {
DCHECK(origin.is_valid());
- DCHECK(origin.SchemeIs("http") || origin.SchemeIs("https"));
+ DCHECK(origin.SchemeIs("http") || origin.SchemeIs("https") ||
+ origin.SchemeIs("httpsv"));
DCHECK(origin.GetOrigin() == origin);
}

Powered by Google App Engine
This is Rietveld 408576698