| 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 extensions. | 5 // Sync protocol datatype extension for extensions. |
| 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 extension sync objects. | 18 // Properties of extension sync objects. |
| 16 // | 19 // |
| 17 // Merge policy: the settings for the higher version number win; in | 20 // Merge policy: the settings for the higher version number win; in |
| 18 // the case of a tie, server wins. | 21 // the case of a tie, server wins. |
| 19 message ExtensionSpecifics { | 22 message ExtensionSpecifics { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 31 // Whether or not this extension is enabled in incognito mode. | 34 // Whether or not this extension is enabled in incognito mode. |
| 32 optional bool incognito_enabled = 5; | 35 optional bool incognito_enabled = 5; |
| 33 | 36 |
| 34 // The name of the extension. Used only for debugging. | 37 // The name of the extension. Used only for debugging. |
| 35 optional string name = 6; | 38 optional string name = 6; |
| 36 } | 39 } |
| 37 | 40 |
| 38 extend EntitySpecifics { | 41 extend EntitySpecifics { |
| 39 optional ExtensionSpecifics extension = 48119; | 42 optional ExtensionSpecifics extension = 48119; |
| 40 } | 43 } |
| OLD | NEW |