| Index: components/payments/content/payment_manifest_parser.mojom
|
| diff --git a/components/payments/content/payment_manifest_parser.mojom b/components/payments/content/payment_manifest_parser.mojom
|
| index 75d4de5574ddd5c429de1c88a82f92f2f6b48fbf..96c3d3cb6d3aa55246426b9f94f10d021609b658 100644
|
| --- a/components/payments/content/payment_manifest_parser.mojom
|
| +++ b/components/payments/content/payment_manifest_parser.mojom
|
| @@ -5,15 +5,21 @@
|
| [JavaPackage="org.chromium.payments.mojom"]
|
| module payments.mojom;
|
|
|
| -struct PaymentManifestSection {
|
| - string package_name;
|
| - // Optional version number. 0 if not defined.
|
| - int64 version;
|
| +import "url/mojo/url.mojom";
|
| +
|
| +struct WebAppManifestSection {
|
| + // The package name of the app.
|
| + string id;
|
| + // Minimum version number of the app.
|
| + int64 min_version;
|
| // The result of SHA256(signing certificate bytes) for each certificate in the
|
| - // package.
|
| - array<array<uint8, 32>> sha256_cert_fingerprints;
|
| + // app.
|
| + array<array<uint8, 32>> fingerprints;
|
| };
|
|
|
| interface PaymentManifestParser {
|
| - Parse(string content) => (array<PaymentManifestSection> manifest);
|
| + ParsePaymentMethodManifest(string content)
|
| + => (array<url.mojom.Url> webAppManifestUrls);
|
| + ParseWebAppManifest(string content)
|
| + => (array<WebAppManifestSection> manifest);
|
| };
|
|
|