| Index: third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.h
|
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.h b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.h
|
| index 53a945b39518577a2c75eb8e1e8e460362c1e199..6ebb57fc11de95d486df4b2c00c351a46e394a97 100644
|
| --- a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.h
|
| +++ b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.h
|
| @@ -10,6 +10,7 @@
|
| #include "core/events/Event.h"
|
| #include "modules/ModulesExport.h"
|
| #include "modules/payments/PaymentRequestUpdateEventInit.h"
|
| +#include "modules/payments/PaymentUpdater.h"
|
| #include "platform/Timer.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| @@ -17,11 +18,12 @@ namespace blink {
|
|
|
| class ExceptionState;
|
| class ExecutionContext;
|
| -class PaymentUpdater;
|
| class ScriptState;
|
|
|
| -class MODULES_EXPORT PaymentRequestUpdateEvent final : public Event {
|
| +class MODULES_EXPORT PaymentRequestUpdateEvent final : public Event,
|
| + public PaymentUpdater {
|
| DEFINE_WRAPPERTYPEINFO();
|
| + USING_GARBAGE_COLLECTED_MIXIN(PaymentRequestUpdateEvent)
|
|
|
| public:
|
| ~PaymentRequestUpdateEvent() override;
|
| @@ -35,6 +37,10 @@ class MODULES_EXPORT PaymentRequestUpdateEvent final : public Event {
|
|
|
| void updateWith(ScriptState*, ScriptPromise, ExceptionState&);
|
|
|
| + // PaymentUpdater:
|
| + void OnUpdatePaymentDetails(const ScriptValue& details_script_value) override;
|
| + void OnUpdatePaymentDetailsFailure(const String& error) override;
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| void OnUpdateEventTimeoutForTesting();
|
|
|