| Index: components/payments/payment_app.mojom
|
| diff --git a/components/payments/payment_app.mojom b/components/payments/payment_app.mojom
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ca8a97a4d1af999266d87349da47f4fe1e947c6f
|
| --- /dev/null
|
| +++ b/components/payments/payment_app.mojom
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +module payments.mojom;
|
| +
|
| +enum PaymentAppManifestError {
|
| + NONE,
|
| + NOT_IMPLEMENTED,
|
| +};
|
| +
|
| +struct PaymentAppOption {
|
| + string label;
|
| + string? icon;
|
| + string id;
|
| + array<string> enabled_methods;
|
| +};
|
| +
|
| +struct PaymentAppManifest {
|
| + string label;
|
| + string? icon;
|
| + array<PaymentAppOption> options;
|
| +};
|
| +
|
| +interface PaymentAppManager {
|
| + SetManifest(string service_worker_scope, PaymentAppManifest payment_app_manifest)
|
| + => (PaymentAppManifestError error);
|
| +};
|
|
|