Chromium Code Reviews| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 // Server-generated unique ID string. This is opaque to the client. |
| 120 optional string id = 1; | 120 optional string id = 1; |
| 121 | 121 |
| 122 optional name = 12; | |
|
Evan Stade
2015/02/19 23:09:12
nit: recipient_name to match upstream?
| |
| 122 optional string company_name = 2; | 123 optional string company_name = 2; |
| 123 | 124 |
| 124 // 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 |
| 125 // corresponds to "address_home_line[1|2] in the AutofillProfileSpecifics | 126 // corresponds to "address_home_line[1|2] in the AutofillProfileSpecifics |
| 126 // 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. |
| 127 repeated string street_address = 3; | 128 repeated string street_address = 3; |
| 128 | 129 |
| 129 // Also known as "administrative area". This is normally the state or | 130 // Also known as "administrative area". This is normally the state or |
| 130 // province in most countries. | 131 // province in most countries. |
| 131 optional string address_1 = 4; | 132 optional string address_1 = 4; |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 160 | 161 |
| 161 optional WalletInfoType type = 1; | 162 optional WalletInfoType type = 1; |
| 162 | 163 |
| 163 // This field exists if and only if the "type" field equals to | 164 // This field exists if and only if the "type" field equals to |
| 164 // MASKED_CREDIT_CARD. | 165 // MASKED_CREDIT_CARD. |
| 165 optional WalletMaskedCreditCard masked_card = 2; | 166 optional WalletMaskedCreditCard masked_card = 2; |
| 166 | 167 |
| 167 // This field exists if and only if the "type" field equals to ADDRESS. | 168 // This field exists if and only if the "type" field equals to ADDRESS. |
| 168 optional WalletPostalAddress address = 3; | 169 optional WalletPostalAddress address = 3; |
| 169 } | 170 } |
| OLD | NEW |