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