| 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 12 matching lines...) Expand all Loading... |
| 23 # 'string' - a string value | 23 # 'string' - a string value |
| 24 # 'int' - an integer value | 24 # 'int' - an integer value |
| 25 # 'int-enum' - the user can select an integer value from a collection of | 25 # 'int-enum' - the user can select an integer value from a collection of |
| 26 # items | 26 # items |
| 27 # 'string-enum' - the user can select a string value from a collection of | 27 # 'string-enum' - the user can select a string value from a collection of |
| 28 # items | 28 # items |
| 29 # 'main' - a boolean value | 29 # 'main' - a boolean value |
| 30 # 'list' - a list of string values | 30 # 'list' - a list of string values |
| 31 # 'dict' - a dictionary value, containing other values indexed by strings | 31 # 'dict' - a dictionary value, containing other values indexed by strings |
| 32 # NOTE: This type is not supported yet. http://crbug.com/108992 | 32 # NOTE: This type is not supported yet. http://crbug.com/108992 |
| 33 # 'external' - a policy that references external data. |
| 34 # NOTE: This type is not supported yet. http://crbug.com/256635 |
| 33 # | 35 # |
| 34 # Policy group descriptions, policy captions and similar texts are localized | 36 # Policy group descriptions, policy captions and similar texts are localized |
| 35 # strings taken from the <message> nodes of the .grd file. Their name | 37 # strings taken from the <message> nodes of the .grd file. Their name |
| 36 # attributes are generated from the JSON keys. | 38 # attributes are generated from the JSON keys. |
| 37 # Each item (policy or group) may have the following messages: | 39 # Each item (policy or group) may have the following messages: |
| 38 # - description: | 40 # - description: |
| 39 # Describes the item it applies to. | 41 # Describes the item it applies to. |
| 40 # - caption | 42 # - caption |
| 41 # A short, one-line summary of the item it applies to. This can appear | 43 # A short, one-line summary of the item it applies to. This can appear |
| 42 # both in policy or group listings or on title bars of policy-setting | 44 # both in policy or group listings or on title bars of policy-setting |
| (...skipping 5261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5304 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', | 5306 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', |
| 5305 'text': 'deprecated', | 5307 'text': 'deprecated', |
| 5306 }, | 5308 }, |
| 5307 'doc_recommended': { | 5309 'doc_recommended': { |
| 5308 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 5310 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
| 5309 'text': 'Default Settings (users can override)', | 5311 'text': 'Default Settings (users can override)', |
| 5310 }, | 5312 }, |
| 5311 }, | 5313 }, |
| 5312 'placeholders': [], | 5314 'placeholders': [], |
| 5313 } | 5315 } |
| OLD | NEW |