Index: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.h |
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.h b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.h |
index 67d18198a0b02d4b373a60c410eb68a1c0a777f3..e52725ed443ed924cf168d1a99fd14afabfb322e 100644 |
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.h |
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.h |
@@ -12,6 +12,8 @@ |
namespace blink { |
+class BackgroundFetchOptions; |
+class RequestOrUSVString; |
class ScriptState; |
class ServiceWorkerRegistration; |
@@ -28,6 +30,12 @@ class BackgroundFetchManager final |
return new BackgroundFetchManager(registration); |
} |
+ // Web Exposed methods defined in the IDL file. |
+ ScriptPromise fetch(ScriptState*, |
+ String tag, |
+ HeapVector<RequestOrUSVString> requests, |
+ const BackgroundFetchOptions&); |
+ ScriptPromise get(ScriptState*, String tag); |
ScriptPromise getTags(ScriptState*); |
DECLARE_TRACE(); |