| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 [JavaPackage="org.chromium.payments.mojom"] | |
| 6 module payments.mojom; | |
| 7 | |
| 8 import "url/mojo/url.mojom"; | |
| 9 | |
| 10 struct WebAppManifestSection { | |
| 11 // The package name of the app. | |
| 12 string id; | |
| 13 // Minimum version number of the app. | |
| 14 int64 min_version; | |
| 15 // The result of SHA256(signing certificate bytes) for each certificate in the | |
| 16 // app. | |
| 17 array<array<uint8, 32>> fingerprints; | |
| 18 }; | |
| 19 | |
| 20 interface PaymentManifestParser { | |
| 21 ParsePaymentMethodManifest(string content) | |
| 22 => (array<url.mojom.Url> webAppManifestUrls); | |
| 23 ParseWebAppManifest(string content) | |
| 24 => (array<WebAppManifestSection> manifest); | |
| 25 }; | |
| OLD | NEW |