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

Unified Diff: components/payments/content/payment_request.mojom

Issue 2770193003: Implement request id in PaymentDetailsInit (Closed)
Patch Set: Add comment in mojom 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 a40f3da2b34b910ed3d4a9899d04a50529a62503..a43c344db5a123bae98e2468c95183d645c09f83 100644
--- a/components/payments/content/payment_request.mojom
+++ b/components/payments/content/payment_request.mojom
@@ -188,6 +188,11 @@ struct PaymentDetails {
array<PaymentShippingOption> shipping_options;
array<PaymentDetailsModifier> modifiers;
string error = "";
+ // Identifier identifying the payment request, to be exposed
+ // to payment apps. It is optional since this structure is used
+ // by PaymentDetailsUpdate (next to PaymentDetailsInit) but
+ // PaymentDetailsUpdate has no id.
+ string? id;
};
enum PaymentShippingType {

Powered by Google App Engine
This is Rietveld 408576698