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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 // Additional address fields for i18n. | 46 // Additional address fields for i18n. |
47 optional string address_home_street_address = 17; | 47 optional string address_home_street_address = 17; |
48 optional string address_home_sorting_code = 18; | 48 optional string address_home_sorting_code = 18; |
49 optional string address_home_dependent_locality = 19; | 49 optional string address_home_dependent_locality = 19; |
50 optional string address_home_language_code = 20; | 50 optional string address_home_language_code = 20; |
51 | 51 |
52 // Phone. | 52 // Phone. |
53 repeated string phone_home_whole_number = 13; | 53 repeated string phone_home_whole_number = 13; |
54 | 54 |
55 // Deprecated. | 55 // Deprecated. |
56 optional string label = 1 [deprecated=true]; | 56 optional string label = 1 [deprecated = true]; |
57 optional string phone_fax_whole_number = 14 [deprecated=true]; | 57 optional string phone_fax_whole_number = 14 [deprecated = true]; |
58 } | 58 } |
59 | 59 |
60 message AutofillSpecifics { | 60 message AutofillSpecifics { |
61 // If any of these 3 fields are present, then all 3 should be, and it implies | 61 // If any of these 3 fields are present, then all 3 should be, and it implies |
62 // that this entity represents a classic autofill object. In this case, | 62 // that this entity represents a classic autofill object. In this case, |
63 // none of the autofill++ objects below should be present. | 63 // none of the autofill++ objects below should be present. |
64 optional string name = 1; | 64 optional string name = 1; |
65 optional string value = 2; | 65 optional string value = 2; |
66 repeated int64 usage_timestamp = 3; | 66 repeated int64 usage_timestamp = 3; |
67 | 67 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 // - Language code | 204 // - Language code |
205 optional string id = 2; | 205 optional string id = 2; |
206 | 206 |
207 // 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. |
208 optional int64 use_count = 3; | 208 optional int64 use_count = 3; |
209 | 209 |
210 // 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 |
211 // since the Windows epoch (1601). | 211 // since the Windows epoch (1601). |
212 optional int64 use_date = 4; | 212 optional int64 use_date = 4; |
213 } | 213 } |
OLD | NEW |