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

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

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.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentResponse.cpp b/third_party/WebKit/Source/modules/payments/PaymentResponse.cpp
index bf3d7662f2e52a463842400554baf2365e5a8418..42c46f176abac29c747697633e90ee1e22173564 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentResponse.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentResponse.cpp
@@ -16,6 +16,7 @@ PaymentResponse::PaymentResponse(mojom::blink::PaymentResponsePtr response, Paym
, m_stringifiedDetails(response->stringified_details)
, m_shippingAddress(response->shipping_address ? new PaymentAddress(std::move(response->shipping_address)) : nullptr)
, m_shippingOption(response->shipping_option)
+ , m_payerName(response->payer_name)
dcheng 2016/09/20 19:39:09 Can we write a StructTrait to do this mapping rath
, m_payerEmail(response->payer_email)
, m_payerPhone(response->payer_phone)
, m_paymentCompleter(paymentCompleter)

Powered by Google App Engine
This is Rietveld 408576698