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

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

Issue 2699713003: [WIP] RespondWithObserver
Patch Set: RespondWithObserver Created 3 years, 10 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 58943e10676ed37e7a4b124cce2a6bc370ea1893..f2d66c3a24c131925614a5d4f66b3a589e7059ad 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