summaryrefslogtreecommitdiff
path: root/chromium/net/http/http_auth_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/http/http_auth_cache.cc')
-rw-r--r--chromium/net/http/http_auth_cache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/net/http/http_auth_cache.cc b/chromium/net/http/http_auth_cache.cc
index 1c8c03fbb25..63bad076df1 100644
--- a/chromium/net/http/http_auth_cache.cc
+++ b/chromium/net/http/http_auth_cache.cc
@@ -43,7 +43,8 @@ bool IsEnclosingPath(const std::string& container, const std::string& path) {
void CheckOriginIsValid(const GURL& origin) {
DCHECK(origin.is_valid());
// Note that the scheme may be FTP when we're using a HTTP proxy.
- DCHECK(origin.SchemeIsHTTPOrHTTPS() || origin.SchemeIs("ftp"));
+ DCHECK(origin.SchemeIsHTTPOrHTTPS() || origin.SchemeIs("ftp") ||
+ origin.SchemeIsWSOrWSS());
DCHECK(origin.GetOrigin() == origin);
}