OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
| 7 option optimize_for = LITE_RUNTIME; |
| 8 |
7 package enterprise_management; | 9 package enterprise_management; |
8 | 10 |
9 // This file keeps the deprecated GenericNamedValue based format for policies | 11 // This file keeps the deprecated GenericNamedValue based format for policies |
10 // available. It is intended to be removed (along with all code that makes | 12 // available. It is intended to be removed (along with all code that makes |
11 // use of it) as soon as all server-side components (CPanel, D3) have been | 13 // use of it) as soon as all server-side components (CPanel, D3) have been |
12 // migrated to provide the new, explicitly typed format to clients. | 14 // migrated to provide the new, explicitly typed format to clients. |
13 | 15 |
14 // A setting is a set of generic name value pairs. | 16 // A setting is a set of generic name value pairs. |
15 message GenericSetting { | 17 message GenericSetting { |
16 repeated GenericNamedValue named_value = 1; | 18 repeated GenericNamedValue named_value = 1; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 message GenericNamedValue { | 50 message GenericNamedValue { |
49 required string name = 1; | 51 required string name = 1; |
50 optional GenericValue value = 2; | 52 optional GenericValue value = 2; |
51 } | 53 } |
52 | 54 |
53 // Wrapper that contains the above. Designed to be a partial view of the | 55 // Wrapper that contains the above. Designed to be a partial view of the |
54 // data the server currently delivers. | 56 // data the server currently delivers. |
55 message LegacyChromeSettingsProto { | 57 message LegacyChromeSettingsProto { |
56 repeated GenericNamedValue named_value = 2; | 58 repeated GenericNamedValue named_value = 2; |
57 } | 59 } |
OLD | NEW |