Index: third_party/WebKit/Source/modules/payments/PaymentRequest.h |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.h b/third_party/WebKit/Source/modules/payments/PaymentRequest.h |
index f3c13197dccb96aa586e5ba6dcf85a9e084b1cb7..a36b56bc1377c8908d0211f181fb5fe73194827e 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h |
@@ -61,6 +61,7 @@ class MODULES_EXPORT PaymentRequest final |
ScriptPromise show(ScriptState*); |
ScriptPromise abort(ScriptState*); |
+ const String& id() const { return id_; } |
PaymentAddress* getShippingAddress() const { return shipping_address_.Get(); } |
const String& shippingOption() const { return shipping_option_; } |
const String& shippingType() const { return shipping_type_; } |
@@ -116,6 +117,7 @@ class MODULES_EXPORT PaymentRequest final |
PaymentOptions options_; |
Member<PaymentAddress> shipping_address_; |
+ String id_; |
String shipping_option_; |
String shipping_type_; |
Member<ScriptPromiseResolver> show_resolver_; |