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

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

Issue 2925063003: [Payments] Implement payment instrument icons (Closed)
Patch Set: remove unused attributes Created 3 years, 6 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_app.mojom
diff --git a/components/payments/mojom/payment_app.mojom b/components/payments/mojom/payment_app.mojom
index f0bd4dd975e8eff45872a1b7ba57cb1cbdae10c8..af0d9a007cba99eb965bd74dabd0b86f68132a3f 100644
--- a/components/payments/mojom/payment_app.mojom
+++ b/components/payments/mojom/payment_app.mojom
@@ -14,10 +14,16 @@ enum PaymentHandlerStatus {
NOT_FOUND,
NO_ACTIVE_WORKER,
STORAGE_OPERATION_FAILED,
+ FETCH_INSTRUMENT_ICON_FAILED,
+};
+
+struct ImageObject {
+ string src;
};
struct PaymentInstrument {
string name;
+ array<ImageObject> icons;
array<string> enabled_methods;
string stringified_capabilities;
};

Powered by Google App Engine
This is Rietveld 408576698