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..75d4de5574ddd5c429de1c88a82f92f2f6b48fbf |
--- /dev/null |
+++ b/components/payments/content/android/payment_manifest_parser.mojom |
@@ -0,0 +1,19 @@ |
+// 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; |
+ // The result of SHA256(signing certificate bytes) for each certificate in the |
+ // package. |
+ array<array<uint8, 32>> sha256_cert_fingerprints; |
+}; |
+ |
+interface PaymentManifestParser { |
+ Parse(string content) => (array<PaymentManifestSection> manifest); |
+}; |