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: components/payments/content/payment_request.mojom

Issue 2748093003: PaymentRequest: Introduce PaymentDetailsInit and PaymentDetailsUpdate. (Closed)
Patch Set: PaymentRequest: Introduce PaymentDetailsInit and PaymentDetailsUpdate. 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: components/payments/content/payment_request.mojom
diff --git a/components/payments/content/payment_request.mojom b/components/payments/content/payment_request.mojom
index d8ad5833f487d3ccea1824dcca240b80d3af69de..600838286adf210199a922a77ae0151e83c2dcf3 100644
--- a/components/payments/content/payment_request.mojom
+++ b/components/payments/content/payment_request.mojom
@@ -183,11 +183,11 @@ struct PaymentDetailsModifier {
};
struct PaymentDetails {
- PaymentItem total;
+ PaymentItem? total;
array<PaymentItem> display_items;
array<PaymentShippingOption> shipping_options;
array<PaymentDetailsModifier> modifiers;
- string error;
+ string error = "";
};
enum PaymentShippingType {

Powered by Google App Engine
This is Rietveld 408576698