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

Side by Side Diff: components/payments/payment_app.mojom

Issue 2476343002: PaymentApp: Initial implementation for PaymentAppManager.setManifest(). (Closed)
Patch Set: fix lint error Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « components/payments/BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module payments.mojom;
6
7 enum PaymentAppManifestError {
8 NONE,
9 NOT_IMPLEMENTED,
10 };
11
12 struct PaymentAppOption {
13 string label;
14 string? icon;
15 string id;
16 array<string> enabled_methods;
17 };
18
19 struct PaymentAppManifest {
20 string label;
21 string? icon;
22 array<PaymentAppOption> options;
23 };
24
25 interface PaymentAppManager {
26 SetManifest(string service_worker_scope, PaymentAppManifest payment_app_manife st)
27 => (PaymentAppManifestError error);
28 };
OLDNEW
« no previous file with comments | « components/payments/BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698