Index: Source/platform/weborigin/SchemeRegistry.h |
diff --git a/Source/platform/weborigin/SchemeRegistry.h b/Source/platform/weborigin/SchemeRegistry.h |
index e85d2bbec88c2cfb7286074719622f4faf9349b4..3e1edd332be232ad97f390d51c9f61ec8e1a35fa 100644 |
--- a/Source/platform/weborigin/SchemeRegistry.h |
+++ b/Source/platform/weborigin/SchemeRegistry.h |
@@ -91,6 +91,10 @@ public: |
static void registerURLSchemeAsAllowingServiceWorkers(const String& scheme); |
static bool shouldTreatURLSchemeAsAllowingServiceWorkers(const String& scheme); |
+ // HTTP-like schemes that are treated as supporting the Fetch API. |
+ static void registerURLSchemeAsSupportingFetchAPI(const String& scheme); |
+ static bool shouldTreatURLSchemeAsSupportingFetchAPI(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. |