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

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

Issue 2925063003: [Payments] Implement payment instrument icons (Closed)
Patch Set: resolve url based on execution context 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..14d13a5d2c56f2227c48a137aadd371e33f33214 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 {
+ url.mojom.Url src;
};
struct PaymentInstrument {
dcheng 2017/06/10 00:37:10 In general, this mojom file needs more comments. I
gogerald1 2017/06/12 16:19:43 Done. Add few simple comments.
string name;
+ array<ImageObject> icons;
array<string> enabled_methods;
string stringified_capabilities;
};

Powered by Google App Engine
This is Rietveld 408576698