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 723136778f7bd882cfaf496cf26ad222e94fd66b..ea964626e2baac3cc9457aff94133bb1339186bc 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.h |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.h |
@@ -16,6 +16,8 @@ class AtomicString; |
namespace blink { |
+class RespondWithObserver; |
+ |
class MODULES_EXPORT PaymentRequestEvent final : public ExtendableEvent { |
DEFINE_WRAPPERTYPEINFO(); |
WTF_MAKE_NONCOPYABLE(PaymentRequestEvent); |
@@ -23,21 +25,24 @@ class MODULES_EXPORT PaymentRequestEvent final : public ExtendableEvent { |
public: |
static PaymentRequestEvent* create(const AtomicString& type, |
const PaymentAppRequest&, |
+ RespondWithObserver*, |
WaitUntilObserver*); |
~PaymentRequestEvent() override; |
const AtomicString& interfaceName() const override; |
void appRequest(PaymentAppRequest&) const; |
- void respondWith(ScriptPromise); |
+ void respondWith(ScriptState*, ScriptPromise, ExceptionState&); |
DECLARE_VIRTUAL_TRACE(); |
private: |
PaymentRequestEvent(const AtomicString& type, |
const PaymentAppRequest&, |
+ RespondWithObserver*, |
WaitUntilObserver*); |
PaymentAppRequest m_appRequest; |
+ Member<RespondWithObserver> m_observer; |
}; |
} // namespace blink |