Chromium Code Reviews| Index: components/payments/content/android/payment_manifest_parser.mojom |
| diff --git a/components/payments/content/android/payment_manifest_parser.mojom b/components/payments/content/android/payment_manifest_parser.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..743c88fe1279b5627b87e8fafed4ed6a49197f63 |
| --- /dev/null |
| +++ b/components/payments/content/android/payment_manifest_parser.mojom |
| @@ -0,0 +1,17 @@ |
| +// Copyright 2017 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. |
| + |
| +[JavaPackage="org.chromium.payments.mojom"] |
| +module payments.mojom; |
| + |
| +struct PaymentManifestSection { |
| + string package_name; |
| + // Optional version number. 0 if not defined. |
| + int64 version; |
| + array<string> sha256_cert_fingerprints; |
|
palmer
2017/03/03 22:56:31
Is it possible to express a tighter type-fit, e.g.
please use gerrit instead
2017/03/09 18:05:33
Tightened the type. Added a comment on what this a
|
| +}; |
| + |
| +interface PaymentManifestParser { |
| + Parse(string content) => (array<PaymentManifestSection> manifest); |
| +}; |