| Index: net/http/http_auth_cache.cc
|
| diff --git a/net/http/http_auth_cache.cc b/net/http/http_auth_cache.cc
|
| index 1c8c03fbb2520ac6067369971e64df1ae68ef7c2..7b89a92a9e7ca8259a1a4b658575382915336ea5 100644
|
| --- a/net/http/http_auth_cache.cc
|
| +++ b/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.SchemeIs("ws") || origin.SchemeIs("wss"));
|
| DCHECK(origin.GetOrigin() == origin);
|
| }
|
|
|
|
|