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

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
Index: components/payments/payment_app.mojom
diff --git a/components/payments/payment_app.mojom b/components/payments/payment_app.mojom
index a12d53bd3af3dbb9ec9690232ca9fe38aa8822ba..8a5e27ed494d983d5332d10f6abb99f3b7af8fc2 100644
--- a/components/payments/payment_app.mojom
+++ b/components/payments/payment_app.mojom
@@ -4,6 +4,8 @@
module payments.mojom;
+import "components/payments/payment_request.mojom";
+
enum PaymentAppManifestError {
NONE,
NOT_IMPLEMENTED,
@@ -31,3 +33,11 @@ interface PaymentAppManager {
GetManifest()
=> (PaymentAppManifest payment_app_manifest, PaymentAppManifestError error);
};
+
+struct PaymentAppRequestData {
+ string origin;
please use gerrit instead 2017/01/09 14:42:12 Can you make this a "Url" type? You would need to
zino 2017/01/09 18:06:14 Done.
+ array<PaymentMethodData> methodData;
+ PaymentItem total;
+ array<PaymentDetailsModifier> modifiers;
+ string optionId;
+};

Powered by Google App Engine
This is Rietveld 408576698