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

Unified Diff: Source/platform/weborigin/SchemeRegistry.h

Issue 1049923002: Export shouldTreatURLSchemeAsSecure. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 | Source/web/WebSecurityPolicy.cpp » ('j') | public/web/WebSecurityPolicy.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/weborigin/SchemeRegistry.h
diff --git a/Source/platform/weborigin/SchemeRegistry.h b/Source/platform/weborigin/SchemeRegistry.h
index 8a69f46224b5da264e19d3fde2c39a4422c6ebc1..56d7dc7a73a897ea477dc03dffcfb4196390ebd5 100644
--- a/Source/platform/weborigin/SchemeRegistry.h
+++ b/Source/platform/weborigin/SchemeRegistry.h
@@ -48,9 +48,10 @@ public:
static void registerURLSchemeAsRestrictingMixedContent(const String&);
static bool shouldTreatURLSchemeAsRestrictingMixedContent(const String&);
- // Secure schemes do not trigger mixed content warnings. For example,
- // https and data are secure schemes because they cannot be corrupted by
- // active network attackers.
+ // For example, https and wss are secure schemes because they cannot be
Tom Sepez 2015/04/01 17:11:49 nit: It's weird to start a comment with "For examp
palmer 2015/04/03 19:21:44 Done.
+ // corrupted by active network attackers, nor eavesdropped on by passive
+ // network attackers.. Subresources transported by secure schemes do not
Tom Sepez 2015/04/01 17:11:49 nit: ..
palmer 2015/04/03 19:21:44 Done.
+ // trigger mixed content warnings.
static void registerURLSchemeAsSecure(const String&);
static bool shouldTreatURLSchemeAsSecure(const String&);
« no previous file with comments | « no previous file | Source/web/WebSecurityPolicy.cpp » ('j') | public/web/WebSecurityPolicy.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698