| Index: third_party/WebKit/Source/modules/payments/PaymentResponse.h
|
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentResponse.h b/third_party/WebKit/Source/modules/payments/PaymentResponse.h
|
| index 5d6abfb53f716c75c2aabc2d424c9bb77918fe21..2b1eee8fc4367ec7b602242147cb8c9932b11b67 100644
|
| --- a/third_party/WebKit/Source/modules/payments/PaymentResponse.h
|
| +++ b/third_party/WebKit/Source/modules/payments/PaymentResponse.h
|
| @@ -9,6 +9,7 @@
|
| #include "bindings/core/v8/ScriptValue.h"
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "modules/ModulesExport.h"
|
| +#include "modules/payments/CurrencyAmount.h"
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/modules/payments/payment_request.mojom-blink.h"
|
| #include "wtf/Noncopyable.h"
|
| @@ -30,6 +31,7 @@ public:
|
| virtual ~PaymentResponse();
|
|
|
| const String& methodName() const { return m_methodName; }
|
| + void totalAmount(CurrencyAmount& result) const { result = m_totalAmount; }
|
| ScriptValue details(ScriptState*, ExceptionState&) const;
|
| PaymentAddress* shippingAddress() const { return m_shippingAddress.get(); }
|
|
|
| @@ -39,6 +41,7 @@ public:
|
|
|
| private:
|
| String m_methodName;
|
| + CurrencyAmount m_totalAmount;
|
| String m_stringifiedDetails;
|
| Member<PaymentAddress> m_shippingAddress;
|
| Member<PaymentCompleter> m_paymentCompleter;
|
|
|