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

Unified Diff: components/payments/content/payment_manifest_parser.mojom

Issue 2823823002: Revert of [Payments] move //components/payments/content/*.mojom files to //components/payments/mojom (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
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
new file mode 100644
index 0000000000000000000000000000000000000000..96c3d3cb6d3aa55246426b9f94f10d021609b658
--- /dev/null
+++ b/components/payments/content/payment_manifest_parser.mojom
@@ -0,0 +1,25 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[JavaPackage="org.chromium.payments.mojom"]
+module payments.mojom;
+
+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
+ // app.
+ array<array<uint8, 32>> fingerprints;
+};
+
+interface PaymentManifestParser {
+ ParsePaymentMethodManifest(string content)
+ => (array<url.mojom.Url> webAppManifestUrls);
+ ParseWebAppManifest(string content)
+ => (array<WebAppManifestSection> manifest);
+};
« 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