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

Side by Side Diff: content/browser/payments/payment_app.proto

Issue 2873683002: PaymentHandler: Implement GetAllPaymentApps(). (Closed)
Patch Set: installed -> stored in public 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/payments/payment_app_database.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 package content; 9 package content;
10 10
11 message PaymentAppManifestProto { 11 message PaymentAppManifestProto {
12 optional string name = 1; 12 optional string name = 1;
13 optional string icon = 2; 13 optional string icon = 2;
14 repeated PaymentAppOptionProto options = 3; 14 repeated PaymentAppOptionProto options = 3;
15 } 15 }
16 16
17 message PaymentAppOptionProto { 17 message PaymentAppOptionProto {
18 optional string name = 1; 18 optional string name = 1;
19 optional string icon = 2; 19 optional string icon = 2;
20 optional string id = 3; 20 optional string id = 3;
21 repeated string enabled_methods = 4; 21 repeated string enabled_methods = 4;
22 } 22 }
23 23
24 message PaymentInstrumentKeyInfoProto { 24 message StoredPaymentInstrumentKeyInfoProto {
25 optional uint64 insertion_order = 1; 25 optional uint64 insertion_order = 1;
26 optional string key = 2; 26 optional string key = 2;
27 } 27 }
28 28
29 message PaymentInstrumentProto { 29 message StoredPaymentInstrumentProto {
30 optional string name = 1; 30 optional int64 registration_id = 1;
31 repeated string enabled_methods = 2; 31 optional string instrument_key = 2;
32 optional string stringified_capabilities = 3; 32 optional string origin = 3;
33 optional string name = 4;
34 repeated string enabled_methods = 5;
35 optional string stringified_capabilities = 6;
33 } 36 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/payments/payment_app_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698