| 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 themes. | 5 // Sync protocol datatype extension for themes. |
| 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 theme sync objects. | 18 // Properties of theme sync objects. |
| 16 message ThemeSpecifics { | 19 message ThemeSpecifics { |
| 17 // If set, we're using a custom theme and all custom_* fields should be | 20 // If set, we're using a custom theme and all custom_* fields should be |
| 18 // present. If not set, we use the default or system theme (see below) | 21 // present. If not set, we use the default or system theme (see below) |
| 19 // and all custom_* fields should be omitted. | 22 // and all custom_* fields should be omitted. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 31 | 34 |
| 32 // Custom-theme-specific fields. | 35 // Custom-theme-specific fields. |
| 33 optional string custom_theme_name = 3; | 36 optional string custom_theme_name = 3; |
| 34 optional string custom_theme_id = 4; | 37 optional string custom_theme_id = 4; |
| 35 optional string custom_theme_update_url = 5; | 38 optional string custom_theme_update_url = 5; |
| 36 } | 39 } |
| 37 | 40 |
| 38 extend EntitySpecifics { | 41 extend EntitySpecifics { |
| 39 optional ThemeSpecifics theme = 41210; | 42 optional ThemeSpecifics theme = 41210; |
| 40 } | 43 } |
| OLD | NEW |