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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.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/modules/serviceworkers/WaitUntilObserver.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
index ef7c919691a509477681ce47339b3d3235ac6e57..cab125ef4964e93bddf5ee101c36380d99e44e62 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
@@ -197,6 +197,14 @@ void WaitUntilObserver::decrementPendingActivity() {
client->didHandlePaymentRequestEvent(m_eventID, result,
m_eventDispatchTime);
break;
+ case BackgroundFetchAbort:
+ client->didHandleBackgroundFetchAbortEvent(m_eventID, result,
+ m_eventDispatchTime);
+ break;
+ case BackgroundFetchClick:
+ client->didHandleBackgroundFetchClickEvent(m_eventID, result,
+ m_eventDispatchTime);
+ break;
}
m_executionContext = nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698