OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
please use gerrit instead
2016/11/07 20:06:08
This file should be in components/payments/
zino
2016/11/07 22:32:08
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 module blink.mojom; | |
6 | |
7 enum PaymentAppManifestError { | |
8 NONE, | |
9 NOT_IMPLEMENTED, | |
10 }; | |
11 | |
12 struct PaymentAppOption { | |
13 string label; | |
14 string? icon; | |
15 string id; | |
16 array<string> enabled_methods; | |
Tom Sepez
2016/11/07 17:52:04
None of these strings are JSON any more, right?
please use gerrit instead
2016/11/07 20:05:30
These a short strings like "visa", "mastercard", e
| |
17 }; | |
18 | |
19 struct PaymentAppManifest { | |
20 string label; | |
21 string? icon; | |
22 array<PaymentAppOption> options; | |
23 }; | |
24 | |
25 interface PaymentAppManager { | |
26 SetManifest(string service_worker_scope, PaymentAppManifest payment_app_manife st) | |
27 => (PaymentAppManifestError error); | |
28 }; | |
OLD | NEW |