Index: third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h |
diff --git a/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h b/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h |
index bfc464e119c5b626ba0b0188c66210c2c921faf7..f9533f6f15026d3518cc70571f6a679d76a6dd5e 100644 |
--- a/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h |
+++ b/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h |
@@ -114,6 +114,11 @@ public: |
static void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme); |
static bool schemeShouldBypassContentSecurityPolicy(const String& scheme, PolicyAreas = PolicyAreaAll); |
+ // Schemes which bypass Secure Context checks defined in |
+ // https://w3c.github.io/webappsec/specs/powerfulfeatures/#is-origin-trustworthy. |
+ static void registerURLSchemeBypassingSecureContextCheck(const String& scheme); |
+ static bool schemeShouldBypassSecureContextCheck(const String& scheme); |
+ |
private: |
static const URLSchemesSet& localSchemes(); |
}; |