Chromium Code Reviews

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

Issue 2925063003: [Payments] Implement payment instrument icons (Closed)
Patch Set: address comments and add DEPS Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: components/payments/mojom/payment_app.mojom
diff --git a/components/payments/mojom/payment_app.mojom b/components/payments/mojom/payment_app.mojom
index f0bd4dd975e8eff45872a1b7ba57cb1cbdae10c8..e5d101dc7d12923298428b17c2e04391a7bd06cf 100644
--- a/components/payments/mojom/payment_app.mojom
+++ b/components/payments/mojom/payment_app.mojom
@@ -14,10 +14,18 @@ enum PaymentHandlerStatus {
NOT_FOUND,
NO_ACTIVE_WORKER,
STORAGE_OPERATION_FAILED,
+ FETCH_INSTRUMENT_ICON_FAILED,
+};
+
+struct ImageObject {
+ string src;
+ string sizes;
+ string type;
};
struct PaymentInstrument {
string name;
+ array<ImageObject> icons;
array<string> enabled_methods;
string stringified_capabilities;
};

Powered by Google App Engine