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

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

Issue 2770193003: Implement request id in PaymentDetailsInit (Closed)
Patch Set: Rebase once more since mojom file moved Created 3 years, 8 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/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 {

Powered by Google App Engine
This is Rietveld 408576698