Index: public/web/WebSecurityPolicy.h |
diff --git a/public/web/WebSecurityPolicy.h b/public/web/WebSecurityPolicy.h |
index 147ccfdd16742b19a28e1a58ab3ad18c110dfe60..59286cedb396538ba66d40263b3da2dac88181b1 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 registerURLSchemeAsAllowServiceWorkers(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&); |