| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 syntax = "proto2"; | 7 syntax = "proto2"; |
| 8 | 8 |
| 9 option optimize_for = LITE_RUNTIME; | 9 // TODO(akalin): Re-enable this once LITE_RUNTIME supports preserving |
| 10 // unknown fields. |
| 11 |
| 12 // option optimize_for = LITE_RUNTIME; |
| 10 | 13 |
| 11 package sync_pb; | 14 package sync_pb; |
| 12 | 15 |
| 13 import "sync.proto"; | 16 import "sync.proto"; |
| 14 | 17 |
| 15 // Properties of autofill sync objects. | 18 // Properties of autofill sync objects. |
| 16 | 19 |
| 17 // An AutofillProfile. | 20 // An AutofillProfile. |
| 18 message AutofillProfileSpecifics { | 21 message AutofillProfileSpecifics { |
| 19 // User-defined label. | 22 // User-defined label. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 optional bytes encrypted_credit_card = 5; | 90 optional bytes encrypted_credit_card = 5; |
| 88 | 91 |
| 89 // If encryption for autofill++ is not enabled, this field stores the | 92 // If encryption for autofill++ is not enabled, this field stores the |
| 90 // AutofillCreditCardSpecifics [instead of |encrypted_credit_card|]. | 93 // AutofillCreditCardSpecifics [instead of |encrypted_credit_card|]. |
| 91 optional AutofillCreditCardSpecifics credit_card = 6; | 94 optional AutofillCreditCardSpecifics credit_card = 6; |
| 92 } | 95 } |
| 93 | 96 |
| 94 extend EntitySpecifics { | 97 extend EntitySpecifics { |
| 95 optional AutofillSpecifics autofill = 31729; | 98 optional AutofillSpecifics autofill = 31729; |
| 96 } | 99 } |
| OLD | NEW |