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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp

Issue 2748213003: Service Worker event dispatcher for Background Fetch (Closed)
Patch Set: uma fix 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/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
index 907f36b3359f1be03df5a82bed4ad8f76a94e489..ca5bdb28752a0ab32fb5086f50a5bbf23ee3cf30 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
@@ -86,6 +86,22 @@ void ServiceWorkerGlobalScopeClientImpl::didHandleActivateEvent(
m_client.didHandleActivateEvent(eventID, result, eventDispatchTime);
}
+void ServiceWorkerGlobalScopeClientImpl::didHandleBackgroundFetchAbortEvent(
+ int eventID,
+ WebServiceWorkerEventResult result,
+ double eventDispatchTime) {
+ m_client.didHandleBackgroundFetchAbortEvent(eventID, result,
+ eventDispatchTime);
+}
+
+void ServiceWorkerGlobalScopeClientImpl::didHandleBackgroundFetchClickEvent(
+ int eventID,
+ WebServiceWorkerEventResult result,
+ double eventDispatchTime) {
+ m_client.didHandleBackgroundFetchClickEvent(eventID, result,
+ eventDispatchTime);
+}
+
void ServiceWorkerGlobalScopeClientImpl::didHandleExtendableMessageEvent(
int eventID,
WebServiceWorkerEventResult result,

Powered by Google App Engine
This is Rietveld 408576698