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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp

Issue 2528683002: PaymentApp: Blink side of payment request event dispatching in service worker. (Closed)
Patch Set: PaymentApp: Blink side of payment request event dispatching in service worker. Created 4 years 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 e233f906a948890ee118987916c53ebb8b512f1b..332362a0a27e8707d6da49528a2306e6e063a32f 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
@@ -191,6 +191,10 @@ void WaitUntilObserver::decrementPendingActivity() {
case Sync:
client->didHandleSyncEvent(m_eventID, result, m_eventDispatchTime);
break;
+ case PaymentRequest:
+ client->didHandlePaymentRequestEvent(m_eventID, result,
+ m_eventDispatchTime);
+ break;
}
setContext(nullptr);
}

Powered by Google App Engine
This is Rietveld 408576698