Index: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h |
diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h |
index 367dd6afb202f1927d3d5ad39b651f9ab67bf73b..93a4980517590e912be6ca2f1dfaa369b80de4c7 100644 |
--- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h |
+++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h |
@@ -190,6 +190,13 @@ class WebServiceWorkerContextClient { |
WebServiceWorkerEventResult result, |
double eventDispatchTime) {} |
+ // ServiceWorker specific method. Called after PaymentRequestEvent (dispatched |
+ // via WebServiceWorkerContextProxy) is handled by the ServiceWorker's script |
+ // context. |
+ virtual void didHandlePaymentRequestEvent(int paymentRequestEventID, |
+ WebServiceWorkerEventResult result, |
+ double eventDispatchTime) {} |
+ |
// Ownership of the returned object is transferred to the caller. |
// This is called on the main thread. |
virtual WebServiceWorkerNetworkProvider* createServiceWorkerNetworkProvider( |