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 d6b95895241b908d239e2232bbf6350d95d84486..8d7445860d887c5604966d524bb646b7673dd618 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 = ""); |
please use gerrit instead
2017/03/27 21:16:05
= "" would only be used in tests. I prefer to avoi
|
virtual ~PaymentResponse(); |
ScriptValue toJSONForBinding(ScriptState*) const; |
+ const String& requestId() const { return m_requestId; } |
const String& methodName() const { return m_methodName; } |
ScriptValue details(ScriptState*, ExceptionState&) const; |
PaymentAddress* shippingAddress() const { return m_shippingAddress.get(); } |
@@ -48,6 +50,7 @@ class MODULES_EXPORT PaymentResponse final |
DECLARE_TRACE(); |
private: |
+ String m_requestId; |
String m_methodName; |
String m_stringifiedDetails; |
Member<PaymentAddress> m_shippingAddress; |