Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequest.h

Issue 2770193003: Implement request id in PaymentDetailsInit (Closed)
Patch Set: s/requestId/id Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 681947e45fb57ca7406444ce2bc029b7439ee4b4..ed5b465b008e66b1e339e630d3e5db2f79a426de 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
@@ -62,6 +62,7 @@ class MODULES_EXPORT PaymentRequest final
ScriptPromise show(ScriptState*);
ScriptPromise abort(ScriptState*);
+ const String& id() const { return m_id; }
PaymentAddress* getShippingAddress() const { return m_shippingAddress.get(); }
const String& shippingOption() const { return m_shippingOption; }
const String& shippingType() const { return m_shippingType; }
@@ -117,6 +118,7 @@ class MODULES_EXPORT PaymentRequest final
PaymentOptions m_options;
Member<PaymentAddress> m_shippingAddress;
+ String m_id;
String m_shippingOption;
String m_shippingType;
Member<ScriptPromiseResolver> m_showResolver;

Powered by Google App Engine
This is Rietveld 408576698