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

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

Issue 2649873008: Add Bank Name in sync protocol (Closed)
Patch Set: Fix description of the new field Created 3 years, 11 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 | components/sync/protocol/proto_visitors.h » ('j') | 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « no previous file | components/sync/protocol/proto_visitors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698