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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // Month number 1-12. | 109 // Month number 1-12. |
110 optional int32 exp_month = 6; | 110 optional int32 exp_month = 6; |
111 | 111 |
112 // Four-digit year (e.g. 2017). | 112 // Four-digit year (e.g. 2017). |
113 optional int32 exp_year = 7; | 113 optional int32 exp_year = 7; |
114 } | 114 } |
115 | 115 |
116 // Different than an AutofillProfile because this represents some known address | 116 // Different than an AutofillProfile because this represents some known address |
117 // on the server that is pulled down rather than synced between Chromes. | 117 // on the server that is pulled down rather than synced between Chromes. |
118 message WalletPostalAddress { | 118 message WalletPostalAddress { |
119 // Server-generated unique ID string. This is opaque to the client. | 119 // DEPRECATED |
120 optional string id = 1; | 120 optional string id = 1; |
121 | 121 |
122 optional string recipient_name = 12; | 122 optional string recipient_name = 12; |
123 optional string company_name = 2; | 123 optional string company_name = 2; |
124 | 124 |
125 // This is the street address, of which there may be multiple lines. This | 125 // This is the street address, of which there may be multiple lines. This |
126 // corresponds to "address_home_line[1|2] in the AutofillProfileSpecifics | 126 // corresponds to "address_home_line[1|2] in the AutofillProfileSpecifics |
127 // message above. In some locales there may be more than two lines. | 127 // message above. In some locales there may be more than two lines. |
128 repeated string street_address = 3; | 128 repeated string street_address = 3; |
129 | 129 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 164 |
165 optional WalletInfoType type = 1; | 165 optional WalletInfoType type = 1; |
166 | 166 |
167 // This field exists if and only if the "type" field equals to | 167 // This field exists if and only if the "type" field equals to |
168 // MASKED_CREDIT_CARD. | 168 // MASKED_CREDIT_CARD. |
169 optional WalletMaskedCreditCard masked_card = 2; | 169 optional WalletMaskedCreditCard masked_card = 2; |
170 | 170 |
171 // This field exists if and only if the "type" field equals to ADDRESS. | 171 // This field exists if and only if the "type" field equals to ADDRESS. |
172 optional WalletPostalAddress address = 3; | 172 optional WalletPostalAddress address = 3; |
173 } | 173 } |
OLD | NEW |