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: 161 | 115 # For your editing convenience: highest ID currently used: 162 |
| 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 2909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3035 'device_only': True, | 3035 'device_only': True, |
| 3036 'features': {'dynamic_refresh': True}, | 3036 'features': {'dynamic_refresh': True}, |
| 3037 'example_value': [ 'ethernet' ], | 3037 'example_value': [ 'ethernet' ], |
| 3038 'id': 146, | 3038 'id': 146, |
| 3039 'caption': '''Connection types allowed for updates''', | 3039 'caption': '''Connection types allowed for updates''', |
| 3040 'desc': ''' The types of connections that are allowed to use for OS update s. OS updates potentially put heavy strain on the connection due to their size a nd may incur additional cost. Therefore, they are by default not enabled for con nection types that are considered expensive, which include WiMax, Bluetooth and Cellular at the moment. | 3040 'desc': ''' The types of connections that are allowed to use for OS update s. OS updates potentially put heavy strain on the connection due to their size a nd may incur additional cost. Therefore, they are by default not enabled for con nection types that are considered expensive, which include WiMax, Bluetooth and Cellular at the moment. |
| 3041 | 3041 |
| 3042 The recognized connection type identifiers are "ethernet", "wifi", "wimax" , "bluetooth" and "cellular".''', | 3042 The recognized connection type identifiers are "ethernet", "wifi", "wimax" , "bluetooth" and "cellular".''', |
| 3043 }, | 3043 }, |
| 3044 { | 3044 { |
| 3045 # TODO(joaodasilva): Make this the default and deprecate the other proxy | |
|
pastarmovj
2012/11/06 12:42:15
proxy policies?
Mattias Nissler (ping if slow)
2012/11/12 15:50:51
Done.
| |
| 3046 # policies once all providers are ready to load 'dict' policies. | |
| 3047 # This is currently an internal policy. | |
| 3048 # http://crbug.com/108992, http://crbug.com/108996 | |
| 3049 'name': 'DeviceLocalAccounts', | |
|
Bin
2012/11/07 19:17:04
What's this for? I assume it is a device-level pol
Mattias Nissler (ping if slow)
2012/11/12 15:50:51
This is just for allocating a policy constant (whi
| |
| 3050 'type': 'list', | |
| 3051 'schema': { | |
| 3052 'type': 'array', | |
| 3053 'items': { | |
| 3054 'type': 'object', | |
| 3055 'properties': { | |
| 3056 'Id': { 'type': 'string' }, | |
| 3057 'Name': { 'type': 'string' }, | |
| 3058 }, | |
| 3059 }, | |
| 3060 }, | |
| 3061 'supported_on': ['chrome_os:0.25-'], | |
| 3062 'future': True, | |
| 3063 'features': {'dynamic_refresh': True}, | |
| 3064 'example_value': [ { "Id": "demo@example.com", "Name": "Demo session" } ], | |
| 3065 'id': 162, | |
| 3066 'caption': '''Local accounts''', | |
| 3067 'desc': '''Specifies the list of local accounts to be shown on the login s creen. | |
| 3068 | |
| 3069 Every list entry gives an identifier, which is used internally to tell the different local accounts apart, and a display name that will be used to show th e local account on the login screen.''', | |
| 3070 }, | |
| 3071 { | |
| 3045 'name': 'BackgroundModeEnabled', | 3072 'name': 'BackgroundModeEnabled', |
| 3046 'type': 'main', | 3073 'type': 'main', |
| 3047 'schema': { 'type': 'boolean' }, | 3074 'schema': { 'type': 'boolean' }, |
| 3048 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], | 3075 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], |
| 3049 'features': { | 3076 'features': { |
| 3050 'dynamic_refresh': True, | 3077 'dynamic_refresh': True, |
| 3051 'can_be_recommended': True, | 3078 'can_be_recommended': True, |
| 3052 }, | 3079 }, |
| 3053 'example_value': True, | 3080 'example_value': True, |
| 3054 'id': 138, | 3081 'id': 138, |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3339 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 3366 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
| 3340 'text': 'deprecated', | 3367 'text': 'deprecated', |
| 3341 }, | 3368 }, |
| 3342 'doc_recommended': { | 3369 'doc_recommended': { |
| 3343 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 3370 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 3344 'text': 'Recommended', | 3371 'text': 'Recommended', |
| 3345 }, | 3372 }, |
| 3346 }, | 3373 }, |
| 3347 'placeholders': [], | 3374 'placeholders': [], |
| 3348 } | 3375 } |
| OLD | NEW |