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

Unified Diff: components/payments/payment_app.mojom

Issue 2713033004: Layered component for web payments (Closed)
Patch Set: Rebase Created 3 years, 10 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
deleted file mode 100644
index 4bcc3e761592c469d85e278dd6ece49d7be02255..0000000000000000000000000000000000000000
--- a/components/payments/payment_app.mojom
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2016 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.
-
-module payments.mojom;
-
-import "components/payments/payment_request.mojom";
-import "url/mojo/url.mojom";
-
-enum PaymentAppManifestError {
- NONE,
- NOT_IMPLEMENTED,
- NO_ACTIVE_WORKER,
- MANIFEST_STORAGE_OPERATION_FAILED,
-};
-
-struct PaymentAppOption {
- string name;
- string? icon;
- string id;
- array<string> enabled_methods;
-};
-
-struct PaymentAppManifest {
- string name;
- string? icon;
- array<PaymentAppOption> options;
-};
-
-interface PaymentAppManager {
- Init(string service_worker_scope);
- SetManifest(PaymentAppManifest payment_app_manifest)
- => (PaymentAppManifestError error);
- GetManifest()
- => (PaymentAppManifest payment_app_manifest, PaymentAppManifestError error);
-};
-
-struct PaymentAppRequest {
- url.mojom.Url origin;
- array<PaymentMethodData> methodData;
- PaymentItem total;
- array<PaymentDetailsModifier> modifiers;
- string optionId;
-};
« no previous file with comments | « components/payments/currency_formatter_unittest.cc ('k') | components/payments/payment_details_validation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698