Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1241)

Unified Diff: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h

Issue 2767093004: Implement the BackgroundFetch{Fail,ed} Service Worker events (Closed)
Patch Set: add missing uma Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
index d4d5a08ca46e64ace62122f2d4b01df051a12f40..f54746c6513780d39af91ab5722ecf65939acb2d 100644
--- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
+++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
@@ -39,6 +39,7 @@
namespace blink {
+struct WebBackgroundFetchSettledFetch;
class WebDataConsumerHandle;
class WebServiceWorkerRequest;
class WebString;
@@ -67,7 +68,14 @@ class WebServiceWorkerContextProxy {
int eventID,
const WebString& tag,
BackgroundFetchState status) = 0;
-
+ virtual void dispatchBackgroundFetchFailEvent(
+ int eventID,
+ const WebString& tag,
+ const WebVector<WebBackgroundFetchSettledFetch>& fetches) = 0;
+ virtual void dispatchBackgroundFetchedEvent(
+ int eventID,
+ const WebString& tag,
+ const WebVector<WebBackgroundFetchSettledFetch>& fetches) = 0;
virtual void dispatchExtendableMessageEvent(
int eventID,
const WebString& message,

Powered by Google App Engine
This is Rietveld 408576698