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

Unified Diff: components/payments/payment_app.mojom

Issue 2529223002: event impl
Patch Set: Event dispatch Created 4 years 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 | « no previous file | content/browser/BUILD.gn » ('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 6959aa7ac84576c38ebb222f42412de45b5b1ebd..26c10e5b49440930201c40363361e7a5631d5953 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,
@@ -24,6 +26,14 @@ struct PaymentAppManifest {
array<PaymentAppOption> options;
};
+struct PaymentAppRequestData {
+ string origin;
+ array<PaymentMethodData> methodData;
+ PaymentItem total;
+ array<PaymentDetailsModifier> modifiers;
+ string optionId;
+};
+
interface PaymentAppManager {
SetManifest(string service_worker_scope, PaymentAppManifest payment_app_manifest)
=> (PaymentAppManifestError error);
« no previous file with comments | « no previous file | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698