Chromium Code Reviews| 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..5cce6e9edcd8d5206db0110bac3c341ad63c2064 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); |
|
Mathieu
2017/04/07 13:29:06
*webAppManifestUrls?
please use gerrit instead
2017/04/07 16:56:29
Done.
|
| + ParseWebAppManifest(string content) |
| + => (array<WebAppManifestSection> manifest); |
| }; |