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