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

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

Issue 2449943002: Add pending line item support for web payments. (Closed)
Patch Set: Comments Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/modules/payments/PaymentItem.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
index 578971e71759787a5919c8b86588a58bbcb4abfd..d11941bf164ffaa82c016285ca623fe5ccf9eaa0 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
@@ -67,6 +67,7 @@ struct TypeConverter<PaymentItemPtr, blink::PaymentItem> {
PaymentItemPtr output = PaymentItem::New();
output->label = input.label();
output->amount = PaymentCurrencyAmount::From(input.amount());
+ output->pending = input.pending();
return output;
}
};
« no previous file with comments | « third_party/WebKit/Source/modules/payments/PaymentItem.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698