OLD | NEW |
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 { |
| 17 optional string src = 1; |
| 18 optional string sizes = 2; |
| 19 optional string type = 3; |
| 20 } |
| 21 |
16 message StoredPaymentInstrumentProto { | 22 message StoredPaymentInstrumentProto { |
17 optional int64 registration_id = 1; | 23 optional int64 registration_id = 1; |
18 optional string instrument_key = 2; | 24 optional string instrument_key = 2; |
19 optional string origin = 3; | 25 optional string origin = 3; |
20 optional string name = 4; | 26 optional string name = 4; |
21 repeated string enabled_methods = 5; | 27 repeated string enabled_methods = 5; |
22 optional string stringified_capabilities = 6; | 28 optional string stringified_capabilities = 6; |
| 29 repeated StoredPaymentInstrumentImageObject icons = 7; |
| 30 optional string decoded_instrument_icon = 8; |
23 } | 31 } |
OLD | NEW |