Chromium Code Reviews| Index: components/policy/resources/policy_templates.json |
| diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json |
| index 6209b772ef9082b2c521d823b0cdd2ae0faea6f6..ec93f0d3978a653737839d9a98563ca0514bcd63 100644 |
| --- a/components/policy/resources/policy_templates.json |
| +++ b/components/policy/resources/policy_templates.json |
| @@ -123,7 +123,7 @@ |
| # persistent IDs for all fields (but not for groups!) are needed. These are |
| # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| # because doing so would break the deployed wire format! |
| -# For your editing convenience: highest ID currently used: 283 |
| +# For your editing convenience: highest ID currently used: 284 |
| # |
| # Placeholders: |
| # The following placeholder strings are automatically substituted: |
| @@ -7022,6 +7022,21 @@ |
| If this policy is left not set, it is equivalent to being enabled, see description above.''', |
| }, |
| + { |
| + 'name': 'DeviceRebootOnShutdown', |
| + 'type': 'main', |
| + 'schema': { 'type': 'boolean' }, |
| + 'supported_on': ['chrome_os:41-'], |
| + 'device_only': True, |
| + 'features': { |
| + 'dynamic_refresh': True, |
| + }, |
| + 'example_value': True, |
| + 'id': 284, |
| + 'caption': '''Forbid device shutdown''', |
|
bartfab (slow)
2014/12/15 18:01:57
Nit: As with the other comments/documentation: Rew
cschuet (SLOW)
2014/12/16 10:02:08
Done.
|
| + 'desc': '''If this policy is set to false or not configured, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will allow the device to be shut down by the user. |
| + If this policy is set to true, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will not allow the user to shutdown the device. All occurrences of shutdown buttons in the UI will be replaced by reboot buttons.''', |
| + }, |
| ], |
| 'messages': { |
| # Messages that are not associated to any policies. |