Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: components/payments/content/android/payment_manifest_parser.mojom

Issue 2645813006: Download web payment manifests. (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
+};

Powered by Google App Engine
This is Rietveld 408576698