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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequestEvent.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
Index: third_party/WebKit/Source/modules/payments/PaymentRequestEvent.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.h b/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.h
index d6312ff2cc5f6746f13f930c19e6d029ecd260dc..a686f0cd7a88166dfbbe9eb172483ac0f6f84a7f 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.h
@@ -21,6 +21,9 @@ class MODULES_EXPORT PaymentRequestEvent final : public ExtendableEvent {
WTF_MAKE_NONCOPYABLE(PaymentRequestEvent);
public:
+ static PaymentRequestEvent* create(const AtomicString& type,
+ const PaymentAppRequestData&,
+ WaitUntilObserver*);
~PaymentRequestEvent() override;
const AtomicString& interfaceName() const override;
@@ -34,6 +37,7 @@ class MODULES_EXPORT PaymentRequestEvent final : public ExtendableEvent {
PaymentRequestEvent(const AtomicString& type,
const PaymentAppRequestData&,
WaitUntilObserver*);
+ PaymentAppRequestData m_data;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698