X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebKit%2Fchromium%2Fpublic%2FWebSecurityPolicy.h;h=babd9bfba27f1a65d80f4d41e8b9fdf3ed09502e;hp=4063f91cc11efb06a38a549a4d041ff4b5689fc3;hb=f076c392d22a929ac923271397596e583aa04d21;hpb=fbc45b939525875dd054a1ecbd79c48e93214494;ds=sidebyside diff --git a/Source/WebKit/chromium/public/WebSecurityPolicy.h b/Source/WebKit/chromium/public/WebSecurityPolicy.h index 4063f91cc11e..babd9bfba27f 100644 --- a/Source/WebKit/chromium/public/WebSecurityPolicy.h +++ b/Source/WebKit/chromium/public/WebSecurityPolicy.h @@ -61,6 +61,13 @@ public: // included by an HTTPS page. WEBKIT_EXPORT static void registerURLSchemeAsSecure(const WebString&); + // Registers a non-HTTP URL scheme which can be sent CORS requests. + WEBKIT_EXPORT static void registerURLSchemeAsCORSEnabled(const WebString&); + + // Registers a URL scheme as strictly empty documents, allowing them to + // commit synchronously. + WEBKIT_EXPORT static void registerURLSchemeAsEmptyDocument(const WebString&); + // Support for whitelisting access to origins beyond the same-origin policy. WEBKIT_EXPORT static void addOriginAccessWhitelistEntry( const WebURL& sourceOrigin, const WebString& destinationProtocol,