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

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

Issue 2073603002: Add shippingOption to PaymentResponse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase #2 Created 4 years, 6 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 a42351b7934a7dc94ad9a848c1622c0257ac18a7..139e9cf7e0f26a8328a15a7930fdf9fb6313c2c5 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentResponse.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentResponse.cpp
@@ -31,6 +31,7 @@ PaymentResponse::PaymentResponse(mojom::blink::PaymentResponsePtr response, Paym
, m_totalAmount(response->total_amount->To<PaymentCurrencyAmount>())
, m_stringifiedDetails(response->stringified_details)
, m_shippingAddress(response->shipping_address ? new PaymentAddress(std::move(response->shipping_address)) : nullptr)
+ , m_shippingOption(response->shipping_option)
, m_payerEmail(response->payer_email)
, m_payerPhone(response->payer_phone)
, m_paymentCompleter(paymentCompleter)

Powered by Google App Engine
This is Rietveld 408576698