| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 # policy configuration files. 'dynamic_refresh' controls if the generated | 113 # policy configuration files. 'dynamic_refresh' controls if the generated |
| 114 # documentation should state that the policy supports dynamic refresh or not. | 114 # documentation should state that the policy supports dynamic refresh or not. |
| 115 # Supporting dynamic refresh means that Chrome respects the changes to the | 115 # Supporting dynamic refresh means that Chrome respects the changes to the |
| 116 # policy immediately, without the need for restart. | 116 # policy immediately, without the need for restart. |
| 117 # 'can_be_mandatory' can be set to False to exclude that policy in the | 117 # 'can_be_mandatory' can be set to False to exclude that policy in the |
| 118 # mandatory policies template. This only affects the template generation; | 118 # mandatory policies template. This only affects the template generation; |
| 119 # The default is True. | 119 # The default is True. |
| 120 # 'can_be_recommended' can be set to True to include that policy in the | 120 # 'can_be_recommended' can be set to True to include that policy in the |
| 121 # recommended policies templates. This only affects the template generation; | 121 # recommended policies templates. This only affects the template generation; |
| 122 # all policies can be at the recommended level. The default is False. | 122 # all policies can be at the recommended level. The default is False. |
| 123 # 'per_profile' controls whether a user policy applies to every user logging |
| 124 # into the browser or only one profile. |
| 123 # | 125 # |
| 124 # The 'max_size' key is used to specify the maximal size of the external data | 126 # The 'max_size' key is used to specify the maximal size of the external data |
| 125 # that a policy can reference, in bytes. This annotation is compulsory for | 127 # that a policy can reference, in bytes. This annotation is compulsory for |
| 126 # policies of type 'external'. It is ignored for all other policy types. | 128 # policies of type 'external'. It is ignored for all other policy types. |
| 127 # | 129 # |
| 128 # The 'future' key is used to indicate that a policy isn't yet ready for | 130 # The 'future' key is used to indicate that a policy isn't yet ready for |
| 129 # usage. It defaults to False, and currently affects the generated policy | 131 # usage. It defaults to False, and currently affects the generated policy |
| 130 # templates and documentation. The policy definition list that Chrome sees | 132 # templates and documentation. The policy definition list that Chrome sees |
| 131 # will include policies marked with 'future'. If a WIP policy isn't meant to | 133 # will include policies marked with 'future'. If a WIP policy isn't meant to |
| 132 # be seen by the policy providers either, the 'supported_on' key should be set | 134 # be seen by the policy providers either, the 'supported_on' key should be set |
| 133 # to an empty list. | 135 # to an empty list. |
| 134 # | 136 # |
| 135 # IDs: | 137 # IDs: |
| 136 # Since a Protocol Buffer definition is generated from this file, unique and | 138 # Since a Protocol Buffer definition is generated from this file, unique and |
| 137 # persistent IDs for all fields (but not for groups!) are needed. These are | 139 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 139 # because doing so would break the deployed wire format! | 141 # because doing so would break the deployed wire format! |
| 140 # For your editing convenience: highest ID currently used: 347 | 142 # For your editing convenience: highest ID currently used: 348 |
| 141 # | 143 # |
| 142 # Placeholders: | 144 # Placeholders: |
| 143 # The following placeholder strings are automatically substituted: | 145 # The following placeholder strings are automatically substituted: |
| 144 # $1 -> Google Chrome / Chromium | 146 # $1 -> Google Chrome / Chromium |
| 145 # $2 -> Google Chrome OS / Chromium OS | 147 # $2 -> Google Chrome OS / Chromium OS |
| 146 # $3 -> Google Chrome Frame / Chromium Frame | 148 # $3 -> Google Chrome Frame / Chromium Frame |
| 147 # $6 is reserved for doc_writer | 149 # $6 is reserved for doc_writer |
| 148 # | 150 # |
| 149 # Device Policy: | 151 # Device Policy: |
| 150 # An additional flag 'device_only' (optional, defaults to False) indicates | 152 # An additional flag 'device_only' (optional, defaults to False) indicates |
| (...skipping 4788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4939 'features': { | 4941 'features': { |
| 4940 'dynamic_refresh': True, | 4942 'dynamic_refresh': True, |
| 4941 }, | 4943 }, |
| 4942 'example_value': False, | 4944 'example_value': False, |
| 4943 'id': 291, | 4945 'id': 291, |
| 4944 'caption': '''Report information about active kiosk sessions''', | 4946 'caption': '''Report information about active kiosk sessions''', |
| 4945 'tags': ['admin-sharing'], | 4947 'tags': ['admin-sharing'], |
| 4946 'desc': '''Report information about the active kiosk session, such as | 4948 'desc': '''Report information about the active kiosk session, such as |
| 4947 application ID and version. | 4949 application ID and version. |
| 4948 | 4950 |
| 4949 If the policy is set to false, the session information will not be | 4951 If the policy is set to false, the kiosk session information will not be |
| 4950 reported. If set to true or left unset, session information will be | 4952 reported. If set to true or left unset, kiosk session information will be |
| 4951 reported.''', | 4953 reported.''', |
| 4952 'arc_support': 'This policy has no effect on the logging done by Android.'
, | 4954 'arc_support': 'This policy has no effect on the logging done by Android.'
, |
| 4953 }, | 4955 }, |
| 4954 { | 4956 { |
| 4955 'name': 'ReportUploadFrequency', | 4957 'name': 'ReportUploadFrequency', |
| 4956 'type': 'int', | 4958 'type': 'int', |
| 4957 'schema': { 'type': 'integer', 'minimum': 60000 }, | 4959 'schema': { 'type': 'integer', 'minimum': 60000 }, |
| 4958 'supported_on': ['chrome_os:42-'], | 4960 'supported_on': ['chrome_os:42-'], |
| 4959 'device_only': True, | 4961 'device_only': True, |
| 4960 'features': { | 4962 'features': { |
| 4961 'dynamic_refresh': True, | 4963 'dynamic_refresh': True, |
| 4962 }, | 4964 }, |
| 4963 'example_value': 10800000, | 4965 'example_value': 10800000, |
| 4964 'id': 292, | 4966 'id': 292, |
| 4965 'caption': '''Frequency of device status report uploads''', | 4967 'caption': '''Frequency of device status report uploads''', |
| 4966 'tags': ['admin-sharing'], | 4968 'tags': ['admin-sharing'], |
| 4967 'desc': '''How frequently device status uploads are sent, in milliseconds. | 4969 'desc': '''How frequently device status uploads are sent, in milliseconds. |
| 4968 | 4970 |
| 4969 If this policy is unset, the default frequency is 3 hours. The minimum | 4971 If this policy is unset, the default frequency is 3 hours. The minimum |
| 4970 allowed frequency is 60 seconds.''', | 4972 allowed frequency is 60 seconds.''', |
| 4971 'arc_support': 'This policy has no effect on the logging done by Android.'
, | 4973 'arc_support': 'This policy has no effect on the logging done by Android.'
, |
| 4972 }, | 4974 }, |
| 4973 { | 4975 { |
| 4976 'name': 'ReportArcStatus', |
| 4977 'type': 'main', |
| 4978 'schema': { 'type': 'boolean' }, |
| 4979 'supported_on': ['chrome_os:55-'], |
| 4980 'features': { |
| 4981 'dynamic_refresh': True, |
| 4982 'per_profile': False, |
| 4983 }, |
| 4984 'example_value': False, |
| 4985 'id': 348, |
| 4986 'caption': '''Report information about status of Android''', |
| 4987 'tags': ['admin-sharing'], |
| 4988 'desc': '''Report information about the status of Android is send back to |
| 4989 the server. |
| 4990 |
| 4991 If the policy is set to false, the information will not be reported. |
| 4992 If set to true or left unset, the information will be reported. |
| 4993 |
| 4994 This policy only applies if Android apps are enabled.''', |
| 4995 }, |
| 4996 { |
| 4974 'name': 'HeartbeatEnabled', | 4997 'name': 'HeartbeatEnabled', |
| 4975 'type': 'main', | 4998 'type': 'main', |
| 4976 'schema': { 'type': 'boolean' }, | 4999 'schema': { 'type': 'boolean' }, |
| 4977 'supported_on': ['chrome_os:43-'], | 5000 'supported_on': ['chrome_os:43-'], |
| 4978 'device_only': True, | 5001 'device_only': True, |
| 4979 'features': { | 5002 'features': { |
| 4980 'dynamic_refresh': True, | 5003 'dynamic_refresh': True, |
| 4981 }, | 5004 }, |
| 4982 'example_value': False, | 5005 'example_value': False, |
| 4983 'id': 293, | 5006 'id': 293, |
| (...skipping 4143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9127 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 9150 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
| 9128 'text': 'Default Settings (users can override)', | 9151 'text': 'Default Settings (users can override)', |
| 9129 }, | 9152 }, |
| 9130 'doc_complex_policies_on_windows': { | 9153 'doc_complex_policies_on_windows': { |
| 9131 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', | 9154 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', |
| 9132 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL
ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e
x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>'
'', | 9155 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL
ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e
x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>'
'', |
| 9133 }, | 9156 }, |
| 9134 }, | 9157 }, |
| 9135 'placeholders': [], | 9158 'placeholders': [], |
| 9136 } | 9159 } |
| OLD | NEW |