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

Side by Side Diff: components/payments/content/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
(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 };
OLDNEW
« no previous file with comments | « components/payments/content/payment_details_validation.cc ('k') | components/payments/content/payment_manifest_parser_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698