Index: public/web/WebSecurityPolicy.h |
diff --git a/public/web/WebSecurityPolicy.h b/public/web/WebSecurityPolicy.h |
index 147ccfdd16742b19a28e1a58ab3ad18c110dfe60..33b4c9984b868143213e9d4e8054a0bee14e66c5 100644 |
--- a/public/web/WebSecurityPolicy.h |
+++ b/public/web/WebSecurityPolicy.h |
@@ -73,6 +73,9 @@ public: |
// Registers a non-HTTP URL scheme which can be sent CORS requests. |
BLINK_EXPORT static void registerURLSchemeAsCORSEnabled(const WebString&); |
+ // Registers a URL scheme that can register a ServiceWorker. |
+ BLINK_EXPORT static void registerURLSchemeAsAllowingServiceWorkers(const WebString&); |
+ |
// Registers a URL scheme whose resources can be loaded regardless of a page's Content Security Policy. |
BLINK_EXPORT static void registerURLSchemeAsBypassingContentSecurityPolicy(const WebString&); |