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

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

Issue 2958333002: [Payments] Implement web payment app manifest (Closed)
Patch Set: rename and comments Created 3 years, 5 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 | « content/browser/BUILD.gn ('k') | content/browser/payments/payment_app_browsertest.cc » ('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 StoredPaymentInstrumentKeyInfoProto { 11 message StoredPaymentInstrumentKeyInfoProto {
12 optional uint64 insertion_order = 1; 12 optional uint64 insertion_order = 1;
13 optional string key = 2; 13 optional string key = 2;
14 } 14 }
15 15
16 message StoredPaymentInstrumentImageObject { 16 message StoredPaymentInstrumentImageObject {
17 optional string src = 1; 17 optional string src = 1;
18 } 18 }
19 19
20 message StoredPaymentInstrumentProto { 20 message StoredPaymentInstrumentProto {
21 optional string instrument_key = 1;
22 optional string origin = 2;
23 optional string name = 3;
24 repeated string enabled_methods = 4;
25 optional string stringified_capabilities = 5;
26 repeated StoredPaymentInstrumentImageObject icons = 6;
27 optional string decoded_instrument_icon = 7;
28 }
29
30 message StoredPaymentAppProto {
21 optional int64 registration_id = 1; 31 optional int64 registration_id = 1;
22 optional string instrument_key = 2; 32 optional string origin = 2;
23 optional string origin = 3; 33 optional string name = 3;
24 optional string name = 4; 34 optional string icon = 4;
25 repeated string enabled_methods = 5;
26 optional string stringified_capabilities = 6;
27 repeated StoredPaymentInstrumentImageObject icons = 7;
28 optional string decoded_instrument_icon = 8;
29 } 35 }
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/payments/payment_app_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698