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"; |
11 | 11 |
12 option optimize_for = LITE_RUNTIME; | 12 option optimize_for = LITE_RUNTIME; |
13 option retain_unknown_fields = true; | 13 option retain_unknown_fields = true; |
14 | 14 |
15 package sync_pb; | 15 package sync_pb; |
16 | 16 |
17 // Properties of autofill sync objects. | 17 // Properties of autofill sync objects. |
18 | 18 |
19 // An AutofillProfile. | 19 // An AutofillProfile. |
20 message AutofillProfileSpecifics { | 20 message AutofillProfileSpecifics { |
21 optional string guid = 15; | 21 optional string guid = 15; |
22 optional string origin = 16; | 22 optional string origin = 16; |
23 | 23 |
24 // Contact info. | 24 // Contact info. |
25 repeated string name_first = 2; | 25 repeated string name_first = 2; |
26 repeated string name_middle = 3; | 26 repeated string name_middle = 3; |
27 repeated string name_last = 4; | 27 repeated string name_last = 4; |
| 28 repeated string name_full = 21; |
28 repeated string email_address = 5; | 29 repeated string email_address = 5; |
29 optional string company_name = 6; | 30 optional string company_name = 6; |
30 | 31 |
31 // Address. | 32 // Address. |
32 optional string address_home_line1 = 7; | 33 optional string address_home_line1 = 7; |
33 optional string address_home_line2 = 8; | 34 optional string address_home_line2 = 8; |
34 optional string address_home_city = 9; | 35 optional string address_home_city = 9; |
35 optional string address_home_state = 10; | 36 optional string address_home_state = 10; |
36 optional string address_home_zip = 11; | 37 optional string address_home_zip = 11; |
37 optional string address_home_country = 12; | 38 optional string address_home_country = 12; |
(...skipping 22 matching lines...) Expand all Loading... |
60 | 61 |
61 // An autofill++ profile object. If present, indicates this entity | 62 // An autofill++ profile object. If present, indicates this entity |
62 // represents an AutofillProfile exclusively, and no other fields (such as | 63 // represents an AutofillProfile exclusively, and no other fields (such as |
63 // name/value or credit_card) should be present. | 64 // name/value or credit_card) should be present. |
64 optional AutofillProfileSpecifics profile = 4; | 65 optional AutofillProfileSpecifics profile = 4; |
65 | 66 |
66 // Obsolete credit card fields. | 67 // Obsolete credit card fields. |
67 // optional bytes deprecated_encrypted_credit_card = 5; | 68 // optional bytes deprecated_encrypted_credit_card = 5; |
68 // optional AutofillCreditCardSpecifics deprecated_credit_card = 6; | 69 // optional AutofillCreditCardSpecifics deprecated_credit_card = 6; |
69 } | 70 } |
OLD | NEW |