| 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 preferences. | 5 // Sync protocol datatype extension for preferences. |
| 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 preference sync objects. | 18 // Properties of preference sync objects. |
| 16 message PreferenceSpecifics { | 19 message PreferenceSpecifics { |
| 17 optional string name = 1; | 20 optional string name = 1; |
| 18 optional string value = 2; | 21 optional string value = 2; |
| 19 } | 22 } |
| 20 | 23 |
| 21 extend EntitySpecifics { | 24 extend EntitySpecifics { |
| 22 optional PreferenceSpecifics preference = 37702; | 25 optional PreferenceSpecifics preference = 37702; |
| 23 } | 26 } |
| OLD | NEW |