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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h

Issue 2705293010: PaymentApp: Implement respondWith() in PaymentRequestEvent. (blink side) (Closed)
Patch Set: PaymentApp: Implement respondWith() in PaymentRequestEvent. (blink side) 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/ServiceWorkerGlobalScopeClient.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
index d9492aed51434355a697cec45855dfcbbcbf1987..5e7e4351df1e00a2411dea803e960ac04a797305 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
@@ -45,6 +45,7 @@
namespace blink {
+struct WebPaymentAppResponse;
struct WebServiceWorkerClientQueryOptions;
class ExecutionContext;
class WebServiceWorkerResponse;
@@ -87,6 +88,9 @@ class MODULES_EXPORT ServiceWorkerGlobalScopeClient
virtual void respondToFetchEvent(int fetchEventID,
const WebServiceWorkerResponse&,
double eventDispatchTime) = 0;
+ virtual void respondToPaymentRequestEvent(int eventID,
+ const WebPaymentAppResponse&,
+ double eventDispatchTime) = 0;
virtual void didHandleFetchEvent(int fetchEventID,
WebServiceWorkerEventResult,
double eventDispatchTime) = 0;

Powered by Google App Engine
This is Rietveld 408576698