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

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

Issue 2348103002: PaymentRequest: Add support for payerName. (in blink side) (Closed)
Patch Set: PaymentRequest: Add support for payerName. (in blink side) Created 4 years, 3 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 1f9594ce4a9741d2053b13bee6455ac51d345b42..fc1b5d99402ffb7dd0a15a3488407f4997e92081 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentResponse.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentResponse.h
@@ -34,6 +34,7 @@ public:
ScriptValue details(ScriptState*, ExceptionState&) const;
PaymentAddress* shippingAddress() const { return m_shippingAddress.get(); }
const String& shippingOption() const { return m_shippingOption; }
+ const String& payerName() const { return m_payerName; }
const String& payerEmail() const { return m_payerEmail; }
const String& payerPhone() const { return m_payerPhone; }
@@ -46,6 +47,7 @@ private:
String m_stringifiedDetails;
Member<PaymentAddress> m_shippingAddress;
String m_shippingOption;
+ String m_payerName;
String m_payerEmail;
String m_payerPhone;
Member<PaymentCompleter> m_paymentCompleter;

Powered by Google App Engine
This is Rietveld 408576698