| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Sync protocol datatype extension for autofill. | 5 // Sync protocol datatype extension for autofill. |
| 6 | 6 |
| 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change | 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change |
| 8 // any fields in this file. | 8 // any fields in this file. |
| 9 | 9 |
| 10 syntax = "proto2"; | 10 syntax = "proto2"; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 optional int32 exp_month = 6; | 116 optional int32 exp_month = 6; |
| 117 | 117 |
| 118 // Four-digit year (e.g. 2017). | 118 // Four-digit year (e.g. 2017). |
| 119 optional int32 exp_year = 7; | 119 optional int32 exp_year = 7; |
| 120 | 120 |
| 121 // The WalletPostalAddress.id of the billing address. | 121 // The WalletPostalAddress.id of the billing address. |
| 122 optional string billing_address_id = 8; | 122 optional string billing_address_id = 8; |
| 123 | 123 |
| 124 // Card class: credit, debit, or prepaid. | 124 // Card class: credit, debit, or prepaid. |
| 125 optional WalletCardClass card_class = 9; | 125 optional WalletCardClass card_class = 9; |
| 126 |
| 127 // Issuing Bank name which is internationalized (e.g. "Chase", "工商银行") |
| 128 optional string bank_name = 10; |
| 126 } | 129 } |
| 127 | 130 |
| 128 // Different than an AutofillProfile because this represents some known address | 131 // Different than an AutofillProfile because this represents some known address |
| 129 // on the server that is pulled down rather than synced between Chromes. | 132 // on the server that is pulled down rather than synced between Chromes. |
| 130 message WalletPostalAddress { | 133 message WalletPostalAddress { |
| 131 optional string id = 1; | 134 optional string id = 1; |
| 132 | 135 |
| 133 optional string recipient_name = 12; | 136 optional string recipient_name = 12; |
| 134 optional string company_name = 2; | 137 optional string company_name = 2; |
| 135 | 138 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 // since the Windows epoch (1601). | 223 // since the Windows epoch (1601). |
| 221 optional int64 use_date = 4; | 224 optional int64 use_date = 4; |
| 222 | 225 |
| 223 // The id of the profile/address that represents the billing address of this | 226 // The id of the profile/address that represents the billing address of this |
| 224 // Wallet card. | 227 // Wallet card. |
| 225 optional string card_billing_address_id = 5; | 228 optional string card_billing_address_id = 5; |
| 226 | 229 |
| 227 // Whether this Wallet address has been converted to a local autofill profile. | 230 // Whether this Wallet address has been converted to a local autofill profile. |
| 228 optional bool address_has_converted = 6; | 231 optional bool address_has_converted = 6; |
| 229 } | 232 } |
| OLD | NEW |