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

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

Issue 2562873002: [PaymentApp] label field was changed to name field in PaymentAppOption. (Closed)
Patch Set: rebase 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module payments.mojom; 5 module payments.mojom;
6 6
7 enum PaymentAppManifestError { 7 enum PaymentAppManifestError {
8 NONE, 8 NONE,
9 NOT_IMPLEMENTED, 9 NOT_IMPLEMENTED,
10 NO_ACTIVE_WORKER, 10 NO_ACTIVE_WORKER,
11 MANIFEST_STORAGE_OPERATION_FAILED, 11 MANIFEST_STORAGE_OPERATION_FAILED,
12 }; 12 };
13 13
14 struct PaymentAppOption { 14 struct PaymentAppOption {
15 string label; 15 string name;
16 string? icon; 16 string? icon;
17 string id; 17 string id;
18 array<string> enabled_methods; 18 array<string> enabled_methods;
19 }; 19 };
20 20
21 struct PaymentAppManifest { 21 struct PaymentAppManifest {
22 string label; 22 string name;
23 string? icon; 23 string? icon;
24 array<PaymentAppOption> options; 24 array<PaymentAppOption> options;
25 }; 25 };
26 26
27 interface PaymentAppManager { 27 interface PaymentAppManager {
28 SetManifest(string service_worker_scope, PaymentAppManifest payment_app_manife st) 28 SetManifest(string service_worker_scope, PaymentAppManifest payment_app_manife st)
29 => (PaymentAppManifestError error); 29 => (PaymentAppManifestError error);
30 GetManifest(string service_worker_scope) 30 GetManifest(string service_worker_scope)
31 => (PaymentAppManifest payment_app_manifest, PaymentAppManifestError error ); 31 => (PaymentAppManifest payment_app_manifest, PaymentAppManifestError error );
32 }; 32 };
OLDNEW
« no previous file with comments | « chrome/browser/android/payments/service_worker_payment_app_bridge.cc ('k') | content/browser/payments/payment_app.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698