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

Unified Diff: third_party/WebKit/public/web/WebSecurityPolicy.h

Issue 2475673003: Clean registering mixed content restricting schemes (Closed)
Patch Set: Clean registering mixed content restricting schemes Created 4 years, 1 month 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 | « third_party/WebKit/Source/web/WebSecurityPolicy.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebSecurityPolicy.h
diff --git a/third_party/WebKit/public/web/WebSecurityPolicy.h b/third_party/WebKit/public/web/WebSecurityPolicy.h
index 77aecf9aa8a342ed427afe6e285298ab8aab44d2..95de870daf197fdaa89394e99966eddfe2f35d26 100644
--- a/third_party/WebKit/public/web/WebSecurityPolicy.h
+++ b/third_party/WebKit/public/web/WebSecurityPolicy.h
@@ -58,19 +58,11 @@ class WebSecurityPolicy {
// hyperlinks to URLs with the scheme.
BLINK_EXPORT static void registerURLSchemeAsDisplayIsolated(const WebString&);
- // Registers a URL scheme to generate mixed content warnings when resources
- // whose schemes are not registered as "secure" are embedded.
- BLINK_EXPORT static void registerURLSchemeAsRestrictingMixedContent(
- const WebString&);
-
// Subresources transported by 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.
BLINK_EXPORT static void registerURLSchemeAsSecure(const WebString&);
- // Returns true if the scheme has been registered as a secure scheme.
- BLINK_EXPORT static bool shouldTreatURLSchemeAsSecure(const WebString&);
-
// Registers a non-HTTP URL scheme which can be sent CORS requests.
BLINK_EXPORT static void registerURLSchemeAsCORSEnabled(const WebString&);
« no previous file with comments | « third_party/WebKit/Source/web/WebSecurityPolicy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698