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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentResponse.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/PaymentResponse.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentResponse.h b/third_party/WebKit/Source/modules/payments/PaymentResponse.h
index d6b95895241b908d239e2232bbf6350d95d84486..fbb11112492bf7f4b670e903f571f3067c19ba82 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentResponse.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentResponse.h
@@ -35,6 +35,7 @@ class MODULES_EXPORT PaymentResponse final
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 +49,7 @@ class MODULES_EXPORT PaymentResponse final
DECLARE_TRACE();
private:
+ String m_requestId;
String m_methodName;
String m_stringifiedDetails;
Member<PaymentAddress> m_shippingAddress;

Powered by Google App Engine
This is Rietveld 408576698