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

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

Issue 2058513002: Add billing address identifier to WalletMaskedCard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 optional WalletCardType type = 4; 104 optional WalletCardType type = 4;
105 105
106 // Last 4 digits of the credit card number. 106 // Last 4 digits of the credit card number.
107 optional string last_four = 5; 107 optional string last_four = 5;
108 108
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
115 // The WalletPostalAddress.id of the billing address.
116 optional string billing_address_id = 8;
Nicolas Zea 2016/06/09 22:59:02 update proto_value_conversions.cc as well?
please use gerrit instead 2016/06/10 01:22:20 Done.
114 } 117 }
115 118
116 // Different than an AutofillProfile because this represents some known address 119 // Different than an AutofillProfile because this represents some known address
117 // on the server that is pulled down rather than synced between Chromes. 120 // on the server that is pulled down rather than synced between Chromes.
118 message WalletPostalAddress { 121 message WalletPostalAddress {
119 // DEPRECATED
120 optional string id = 1; 122 optional string id = 1;
121 123
122 optional string recipient_name = 12; 124 optional string recipient_name = 12;
123 optional string company_name = 2; 125 optional string company_name = 2;
124 126
125 // This is the street address, of which there may be multiple lines. This 127 // This is the street address, of which there may be multiple lines. This
126 // corresponds to "address_home_line[1|2] in the AutofillProfileSpecifics 128 // corresponds to "address_home_line[1|2] in the AutofillProfileSpecifics
127 // message above. In some locales there may be more than two lines. 129 // message above. In some locales there may be more than two lines.
128 repeated string street_address = 3; 130 repeated string street_address = 3;
129 131
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // - Language code 204 // - Language code
203 optional string id = 2; 205 optional string id = 2;
204 206
205 // The number of times that this Wallet card or address was used. 207 // The number of times that this Wallet card or address was used.
206 optional int64 use_count = 3; 208 optional int64 use_count = 3;
207 209
208 // The last use date of this Wallet card or address. Measured in microseconds 210 // The last use date of this Wallet card or address. Measured in microseconds
209 // since the Windows epoch (1601). 211 // since the Windows epoch (1601).
210 optional int64 use_date = 4; 212 optional int64 use_date = 4;
211 } 213 }
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