Index: components/payments/mojom/payment_request.mojom |
diff --git a/components/payments/mojom/payment_request.mojom b/components/payments/mojom/payment_request.mojom |
index 99dfa91ba9c86b8b4a0ae8818f5124dd63251f31..6192f841a690731adfb16f408785f9ddfa75a363 100644 |
--- a/components/payments/mojom/payment_request.mojom |
+++ b/components/payments/mojom/payment_request.mojom |
@@ -193,6 +193,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 { |