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; |
please use gerrit instead
2017/06/08 21:34:10
use mojom.url.GURL instead.
gogerald1
2017/06/09 14:23:24
Why using mojom.url.GURL? PaymentInstruments has g
please use gerrit instead
2017/06/09 14:52:53
A strict IPC interface is better for security. (Th
gogerald1
2017/06/09 18:50:55
as talked offline
|
+ string sizes; |
please use gerrit instead
2017/06/08 21:34:10
This is never used. Discard, please. If you need i
gogerald1
2017/06/09 14:23:24
This is used by get interface. We could decode it
please use gerrit instead
2017/06/09 14:52:53
All additional parameters increase the attack surf
gogerald1
2017/06/09 18:50:56
Done.
|
+ string type; |
please use gerrit instead
2017/06/08 21:34:10
This is never used. Discard, please. If you need i
gogerald1
2017/06/09 14:23:23
ditto
gogerald1
2017/06/09 18:50:55
Done.
|
}; |
struct PaymentInstrument { |
string name; |
+ array<ImageObject> icons; |
array<string> enabled_methods; |
string stringified_capabilities; |
}; |