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

Unified Diff: components/payments/mojom/payment_app.mojom

Issue 2875493003: PaymentHandler: Remove PaymentAppManifest and PaymentAppOption. (Closed)
Patch Set: global-interface-listing Created 3 years, 7 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 | « no previous file | content/browser/payments/payment_app.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/mojom/payment_app.mojom
diff --git a/components/payments/mojom/payment_app.mojom b/components/payments/mojom/payment_app.mojom
index 1bd8d7345cf1e6e4c18558745d4320d64ef0c63b..dbf1a0f46946cafe54c7640709b32ae11c4679af 100644
--- a/components/payments/mojom/payment_app.mojom
+++ b/components/payments/mojom/payment_app.mojom
@@ -8,26 +8,6 @@ import "components/payments/mojom/payment_request.mojom";
import "mojo/common/time.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;
-};
-
enum PaymentHandlerStatus {
SUCCESS,
NOT_IMPLEMENTED,
@@ -44,10 +24,6 @@ struct PaymentInstrument {
interface PaymentManager {
Init(string service_worker_scope);
- SetManifest(PaymentAppManifest payment_app_manifest)
- => (PaymentAppManifestError error);
- GetManifest()
- => (PaymentAppManifest payment_app_manifest, PaymentAppManifestError error);
DeletePaymentInstrument(string instrument_key)
=> (PaymentHandlerStatus status);
GetPaymentInstrument(string instrument_key)
« no previous file with comments | « no previous file | content/browser/payments/payment_app.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698