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 f3a713ffbc472d3a40ed9bdf5967ac77b86211af..e105768b98f0aeee241a1a8c33b298f19a69f887 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentResponse.h |
+++ b/third_party/WebKit/Source/modules/payments/PaymentResponse.h |
@@ -30,11 +30,13 @@ class MODULES_EXPORT PaymentResponse final |
public: |
PaymentResponse(payments::mojom::blink::PaymentResponsePtr, |
- PaymentCompleter*); |
+ PaymentCompleter*, |
+ const String& requestId); |
virtual ~PaymentResponse(); |
ScriptValue toJSONForBinding(ScriptState*) const; |
+ const String& requestId() const { return requestId_; } |
const String& methodName() const { return method_name_; } |
ScriptValue details(ScriptState*, ExceptionState&) const; |
PaymentAddress* shippingAddress() const { return shipping_address_.Get(); } |
@@ -48,6 +50,7 @@ class MODULES_EXPORT PaymentResponse final |
DECLARE_TRACE(); |
private: |
+ String requestId_; |
String method_name_; |
String stringified_details_; |
Member<PaymentAddress> shipping_address_; |