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; |
| 13 option retain_unknown_fields = true; |
| 14 |
12 package sync_pb; | 15 package sync_pb; |
13 | 16 |
14 // Properties of autofill sync objects. | 17 // Properties of autofill sync objects. |
15 | 18 |
16 // An AutofillProfile. | 19 // An AutofillProfile. |
17 message AutofillProfileSpecifics { | 20 message AutofillProfileSpecifics { |
18 // User-defined label. | 21 // User-defined label. |
19 optional string label = 1; | 22 optional string label = 1; |
20 | 23 |
21 optional string guid = 15; | 24 optional string guid = 15; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // An autofill++ profile object. If present, indicates this entity | 56 // An autofill++ profile object. If present, indicates this entity |
54 // represents an AutofillProfile exclusively, and no other fields (such as | 57 // represents an AutofillProfile exclusively, and no other fields (such as |
55 // name/value or credit_card) should be present. | 58 // name/value or credit_card) should be present. |
56 optional AutofillProfileSpecifics profile = 4; | 59 optional AutofillProfileSpecifics profile = 4; |
57 | 60 |
58 // Obsolete credit card fields. | 61 // Obsolete credit card fields. |
59 // optional bytes deprecated_encrypted_credit_card = 5; | 62 // optional bytes deprecated_encrypted_credit_card = 5; |
60 // optional AutofillCreditCardSpecifics deprecated_credit_card = 6; | 63 // optional AutofillCreditCardSpecifics deprecated_credit_card = 6; |
61 } | 64 } |
62 | 65 |
OLD | NEW |