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

Side by Side Diff: sync/protocol/autofill_specifics.proto

Issue 944633002: Add a "name" field to the wallet address proto. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 string recipient_name = 12;
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698