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

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

Issue 2811593009: [Payments] move //components/payments/content/*.mojom files to //components/payments/mojom (Closed)
Patch Set: Reland after updating chrome_content_browser_client.cc to fix android build Created 3 years, 8 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 import "url/mojo/url.mojom"; 8 import "url/mojo/url.mojom";
9 9
10 struct WebAppManifestSection { 10 struct WebAppManifestSection {
11 // The package name of the app. 11 // The package name of the app.
12 string id; 12 string id;
13 // Minimum version number of the app. 13 // Minimum version number of the app.
14 int64 min_version; 14 int64 min_version;
15 // The result of SHA256(signing certificate bytes) for each certificate in the 15 // The result of SHA256(signing certificate bytes) for each certificate in the
16 // app. 16 // app.
17 array<array<uint8, 32>> fingerprints; 17 array<array<uint8, 32>> fingerprints;
18 }; 18 };
19 19
20 interface PaymentManifestParser { 20 interface PaymentManifestParser {
21 ParsePaymentMethodManifest(string content) 21 ParsePaymentMethodManifest(string content)
22 => (array<url.mojom.Url> webAppManifestUrls); 22 => (array<url.mojom.Url> webAppManifestUrls);
23 ParseWebAppManifest(string content) 23 ParseWebAppManifest(string content)
24 => (array<WebAppManifestSection> manifest); 24 => (array<WebAppManifestSection> manifest);
25 }; 25 };
OLDNEW
« no previous file with comments | « components/payments/mojom/payment_app.mojom ('k') | components/payments/mojom/payment_request.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698