Index: public/web/WebSecurityPolicy.h |
diff --git a/public/web/WebSecurityPolicy.h b/public/web/WebSecurityPolicy.h |
index cefac548b169aa49d0d1107b794a714e2edcb205..8e190aa4971a984ef9482177512e4709247ad05f 100644 |
--- a/public/web/WebSecurityPolicy.h |
+++ b/public/web/WebSecurityPolicy.h |
@@ -82,6 +82,9 @@ public: |
// Registers a URL scheme whose resources can be loaded regardless of a page's Content Security Policy. |
BLINK_EXPORT static void registerURLSchemeAsBypassingContentSecurityPolicy(const WebString&); |
+ // Registers a URL scheme which will always be considered the first-party when loaded in a top-level context. |
+ BLINK_EXPORT static void registerURLSchemeAsFirstPartyWhenTopLevel(const WebString&); |
+ |
// Registers a URL scheme for which some kinds of resources bypass Content Security Policy. |
// This enum should be kept in sync with Source/platform/weborigin/SchemeRegistry.h. |
// Enforced in AssertMatchingEnums.cpp. |