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

Unified Diff: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h

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
« no previous file with comments | « third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
index 50aec0e83bf61f4d268d12c0657b3dc5020f4a61..8cbe7e8d3f5f12bd1c10880f0ef63f919e9c89bb 100644
--- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
+++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
@@ -44,6 +44,7 @@ class WebServiceWorkerRequest;
class WebServiceWorkerResponse;
class WebString;
struct WebNotificationData;
+struct WebPaymentAppRequestData;
struct WebServiceWorkerClientInfo;
struct WebServiceWorkerError;
@@ -96,6 +97,9 @@ class WebServiceWorkerContextProxy {
const WebString& tag,
LastChanceOption) = 0;
+ virtual void dispatchPaymentRequestEvent(int eventID,
+ const WebPaymentAppRequestData&) = 0;
+
virtual void onNavigationPreloadResponse(
int fetchEventID,
std::unique_ptr<WebServiceWorkerResponse>,
« no previous file with comments | « third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698