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

Side by Side Diff: components/payments/content/payment_manifest_parser.mojom

Issue 2759283002: Make payment manifest download/parse cross-platform (Closed)
Patch Set: Address comments 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [JavaPackage="org.chromium.payments.mojom"] 5 [JavaPackage="org.chromium.payments.mojom"]
6 module payments.mojom; 6 module payments.mojom;
7 7
8 struct PaymentManifestSection { 8 struct PaymentManifestSection {
9 string package_name; 9 string package_name;
10 // Optional version number. 0 if not defined. 10 // Optional version number. 0 if not defined.
11 int64 version; 11 int64 version;
12 // The result of SHA256(signing certificate bytes) for each certificate in the 12 // The result of SHA256(signing certificate bytes) for each certificate in the
13 // package. 13 // package.
14 array<array<uint8, 32>> sha256_cert_fingerprints; 14 array<array<uint8, 32>> sha256_cert_fingerprints;
15 }; 15 };
16 16
17 interface PaymentManifestParser { 17 interface PaymentManifestParser {
18 Parse(string content) => (array<PaymentManifestSection> manifest); 18 Parse(string content) => (array<PaymentManifestSection> manifest);
19 }; 19 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698