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

Unified Diff: src/gurl.h

Issue 11092076: SchemeIsSecure must return true for "wss" (Closed) Base URL: http://git.chromium.org/external/google-url.git@master
Patch Set: Created 8 years, 2 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: src/gurl.h
diff --git a/src/gurl.h b/src/gurl.h
index 2207330c33fdc161c3e89276ebd8a2c2945b55ac..76c595dba921ecd5327b104d4b087f54974ee8a2 100644
--- a/src/gurl.h
+++ b/src/gurl.h
@@ -235,7 +235,7 @@ class GURL {
// If the scheme indicates a secure connection
bool SchemeIsSecure() const {
- return SchemeIs("https") ||
+ return SchemeIs("https") || SchemeIs("wss") ||
(SchemeIsFileSystem() && inner_url() && inner_url()->SchemeIsSecure());
}
« 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