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..cc7bca4e3baf6e7766efc6fd41988b8e559de2c2 100644 |
--- a/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h |
+++ b/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.h |
@@ -114,6 +114,12 @@ 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(); |
}; |