Index: Source/platform/weborigin/SchemeRegistry.h |
diff --git a/Source/platform/weborigin/SchemeRegistry.h b/Source/platform/weborigin/SchemeRegistry.h |
index 3e1edd332be232ad97f390d51c9f61ec8e1a35fa..bfc464e119c5b626ba0b0188c66210c2c921faf7 100644 |
--- a/Source/platform/weborigin/SchemeRegistry.h |
+++ b/Source/platform/weborigin/SchemeRegistry.h |
@@ -95,6 +95,10 @@ public: |
static void registerURLSchemeAsSupportingFetchAPI(const String& scheme); |
static bool shouldTreatURLSchemeAsSupportingFetchAPI(const String& scheme); |
+ // Schemes which override the first-/third-party checks on a Document. |
+ static void registerURLSchemeAsFirstPartyWhenTopLevel(const String& scheme); |
+ static bool shouldTreatURLSchemeAsFirstPartyWhenTopLevel(const String& scheme); |
+ |
// Allow resources from some schemes to load on a page, regardless of its |
// Content Security Policy. |
// This enum should be kept in sync with public/web/WebSecurityPolicy.h. |