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

Unified Diff: components/payments/payment_app.mojom

Issue 2615063002: PaymentApp: Add interfaces for implementing InvokePaymentApp(). (Closed)
Patch Set: PaymentApp: Add interfaces for implementing InvokePaymentApp(). Created 3 years, 11 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
« no previous file with comments | « components/payments/BUILD.gn ('k') | content/browser/payments/payment_app_provider_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/payment_app.mojom
diff --git a/components/payments/payment_app.mojom b/components/payments/payment_app.mojom
index a12d53bd3af3dbb9ec9690232ca9fe38aa8822ba..a3e9715b76942776549dc15682ec23d8ceeb5e4d 100644
--- a/components/payments/payment_app.mojom
+++ b/components/payments/payment_app.mojom
@@ -4,6 +4,9 @@
module payments.mojom;
+import "components/payments/payment_request.mojom";
+import "url/mojo/url.mojom";
+
enum PaymentAppManifestError {
NONE,
NOT_IMPLEMENTED,
@@ -31,3 +34,11 @@ interface PaymentAppManager {
GetManifest()
=> (PaymentAppManifest payment_app_manifest, PaymentAppManifestError error);
};
+
+struct PaymentAppRequestData {
+ url.mojom.Url origin;
+ array<PaymentMethodData> methodData;
+ PaymentItem total;
+ array<PaymentDetailsModifier> modifiers;
+ string optionId;
+};
« no previous file with comments | « components/payments/BUILD.gn ('k') | content/browser/payments/payment_app_provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698