Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 { | 1 { |
| 2 # policy_templates.json - Metafile for policy templates | 2 # policy_templates.json - Metafile for policy templates |
| 3 # | 3 # |
| 4 # The content of this file is evaluated as a Python expression. | 4 # The content of this file is evaluated as a Python expression. |
| 5 # | 5 # |
| 6 # This file is used as input to generate the following policy templates: | 6 # This file is used as input to generate the following policy templates: |
| 7 # ADM, ADMX+ADML, MCX/plist and html documentation. | 7 # ADM, ADMX+ADML, MCX/plist and html documentation. |
| 8 # | 8 # |
| 9 # Policy templates are user interface definitions or documents about the | 9 # Policy templates are user interface definitions or documents about the |
| 10 # policies that can be used to configure Chrome. Each policy is a name-value | 10 # policies that can be used to configure Chrome. Each policy is a name-value |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 105 # templates and documentation. The policy definition list that Chrome sees | 105 # templates and documentation. The policy definition list that Chrome sees |
| 106 # will include policies marked with 'future'. If a WIP policy isn't meant to | 106 # will include policies marked with 'future'. If a WIP policy isn't meant to |
| 107 # be seen by the policy providers either, the 'supported_on' key should be set | 107 # be seen by the policy providers either, the 'supported_on' key should be set |
| 108 # to an empty list. | 108 # to an empty list. |
| 109 # | 109 # |
| 110 # IDs: | 110 # IDs: |
| 111 # Since a Protocol Buffer definition is generated from this file, unique and | 111 # Since a Protocol Buffer definition is generated from this file, unique and |
| 112 # persistent IDs for all fields (but not for groups!) are needed. These are | 112 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 114 # because doing so would break the deployed wire format! | 114 # because doing so would break the deployed wire format! |
| 115 # For your editing convenience: highest ID currently used: 186 | 115 # For your editing convenience: highest ID currently used: 188 |
| 116 # | 116 # |
| 117 # Placeholders: | 117 # Placeholders: |
| 118 # The following placeholder strings are automatically substituted: | 118 # The following placeholder strings are automatically substituted: |
| 119 # $1 -> Google Chrome / Chromium | 119 # $1 -> Google Chrome / Chromium |
| 120 # $2 -> Google Chrome OS / Chromium OS | 120 # $2 -> Google Chrome OS / Chromium OS |
| 121 # $3 -> Google Chrome Frame / Chromium Frame | 121 # $3 -> Google Chrome Frame / Chromium Frame |
| 122 # $6 is reserved for doc_writer | 122 # $6 is reserved for doc_writer |
| 123 # | 123 # |
| 124 # Device Policy: | 124 # Device Policy: |
| 125 # An additional flag device_only (optional, defaults to False) indicates | 125 # An additional flag device_only (optional, defaults to False) indicates |
| (...skipping 3369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3495 'dynamic_refresh': True, | 3495 'dynamic_refresh': True, |
| 3496 }, | 3496 }, |
| 3497 'example_value': [ "demo@example.com" ], | 3497 'example_value': [ "demo@example.com" ], |
| 3498 'id': 163, | 3498 'id': 163, |
| 3499 'caption': '''Device-local accounts''', | 3499 'caption': '''Device-local accounts''', |
| 3500 'desc': '''Specifies the list of device-local accounts to be shown on the login screen. | 3500 'desc': '''Specifies the list of device-local accounts to be shown on the login screen. |
| 3501 | 3501 |
| 3502 Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''', | 3502 Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''', |
| 3503 }, | 3503 }, |
| 3504 { | 3504 { |
| 3505 'name': 'DeviceLocalAccountAutoLoginId', | |
| 3506 'type': 'string', | |
| 3507 'schema': { 'type': 'string' }, | |
| 3508 'supported_on': ['chrome_os:26-'], | |
| 3509 'device_only': True, | |
| 3510 'features': { | |
| 3511 'dynamic_refresh': True, | |
| 3512 }, | |
| 3513 'example_value': "bob@example.com", | |
| 3514 'id': 187, | |
| 3515 'caption': '''Public session for auto-login''', | |
| 3516 'desc': '''A public session to auto-login after a delay. | |
| 3517 | |
| 3518 If this policy is set, the specified session will be automatically logged in after a period of time has elapsed at the login screen. The public session mu st already be configured (see "DeviceLocalAccounts"). | |
| 3519 | |
| 3520 If this policy is unset, there will be no auto-login.''', | |
| 3521 }, | |
| 3522 { | |
| 3523 'name': 'DeviceLocalAccountAutoLoginDelay', | |
| 3524 'type': 'int', | |
| 3525 'schema': { 'type': 'integer' }, | |
| 3526 'supported_on': ['chrome_os:26-'], | |
| 3527 'device_only': True, | |
| 3528 'features': { | |
| 3529 'dynamic_refresh': True, | |
| 3530 }, | |
| 3531 'example_value': 300, | |
| 3532 'id': 188, | |
| 3533 'caption': '''Public session auto-login timer''', | |
| 3534 'desc': '''The public session auto-login delay. | |
| 3535 | |
| 3536 If the DeviceLocalAccountAutoLoginId policy is unset, this policy has no e ffect. Otherwise: | |
| 3537 | |
| 3538 If this policy is set, it determines the amount of time that should elapse before automatically logging into the public session specified by the "DeviceLo calAccountAutoLoginId" policy. | |
|
Mattias Nissler (ping if slow)
2013/02/11 17:33:29
nit: ...the amount of time _without user activity_
dconnelly
2013/02/12 12:19:41
Done.
| |
| 3539 | |
| 3540 If this policy is unset, 0 milliseconds will be used as the timeout. | |
| 3541 | |
| 3542 This policy is specified in milliseconds.''' | |
| 3543 }, | |
| 3544 { | |
| 3505 'name': 'BackgroundModeEnabled', | 3545 'name': 'BackgroundModeEnabled', |
| 3506 'type': 'main', | 3546 'type': 'main', |
| 3507 'schema': { 'type': 'boolean' }, | 3547 'schema': { 'type': 'boolean' }, |
| 3508 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], | 3548 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], |
| 3509 'features': { | 3549 'features': { |
| 3510 'can_be_recommended': True, | 3550 'can_be_recommended': True, |
| 3511 'dynamic_refresh': True, | 3551 'dynamic_refresh': True, |
| 3512 'per_profile': False, | 3552 'per_profile': False, |
| 3513 }, | 3553 }, |
| 3514 'example_value': True, | 3554 'example_value': True, |
| (...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4339 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 4379 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
| 4340 'text': 'deprecated', | 4380 'text': 'deprecated', |
| 4341 }, | 4381 }, |
| 4342 'doc_recommended': { | 4382 'doc_recommended': { |
| 4343 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 4383 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 4344 'text': 'Default Settings (users can override)', | 4384 'text': 'Default Settings (users can override)', |
| 4345 }, | 4385 }, |
| 4346 }, | 4386 }, |
| 4347 'placeholders': [], | 4387 'placeholders': [], |
| 4348 } | 4388 } |
| OLD | NEW |