Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 2396103002: Create policy ReportArcStatus (Closed)
Patch Set: Fix pref-mapping test Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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. This only affects the template
bartfab (slow) 2016/10/10 15:49:17 Nit: Please remove "this only affects the template
phweiss 2016/10/11 12:14:39 Done.
125 # generation.
123 # 126 #
124 # The 'max_size' key is used to specify the maximal size of the external data 127 # 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 128 # 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. 129 # policies of type 'external'. It is ignored for all other policy types.
127 # 130 #
128 # The 'future' key is used to indicate that a policy isn't yet ready for 131 # 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 132 # usage. It defaults to False, and currently affects the generated policy
130 # templates and documentation. The policy definition list that Chrome sees 133 # 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 134 # 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 135 # be seen by the policy providers either, the 'supported_on' key should be set
133 # to an empty list. 136 # to an empty list.
134 # 137 #
135 # IDs: 138 # IDs:
136 # Since a Protocol Buffer definition is generated from this file, unique and 139 # 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 140 # 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, 141 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
139 # because doing so would break the deployed wire format! 142 # because doing so would break the deployed wire format!
140 # For your editing convenience: highest ID currently used: 347 143 # For your editing convenience: highest ID currently used: 348
141 # 144 #
142 # Placeholders: 145 # Placeholders:
143 # The following placeholder strings are automatically substituted: 146 # The following placeholder strings are automatically substituted:
144 # $1 -> Google Chrome / Chromium 147 # $1 -> Google Chrome / Chromium
145 # $2 -> Google Chrome OS / Chromium OS 148 # $2 -> Google Chrome OS / Chromium OS
146 # $3 -> Google Chrome Frame / Chromium Frame 149 # $3 -> Google Chrome Frame / Chromium Frame
147 # $6 is reserved for doc_writer 150 # $6 is reserved for doc_writer
148 # 151 #
149 # Device Policy: 152 # Device Policy:
150 # An additional flag 'device_only' (optional, defaults to False) indicates 153 # An additional flag 'device_only' (optional, defaults to False) indicates
(...skipping 4813 matching lines...) Expand 10 before | Expand all | Expand 10 after
4964 'id': 292, 4967 'id': 292,
4965 'caption': '''Frequency of device status report uploads''', 4968 'caption': '''Frequency of device status report uploads''',
4966 'tags': ['admin-sharing'], 4969 'tags': ['admin-sharing'],
4967 'desc': '''How frequently device status uploads are sent, in milliseconds. 4970 'desc': '''How frequently device status uploads are sent, in milliseconds.
4968 4971
4969 If this policy is unset, the default frequency is 3 hours. The minimum 4972 If this policy is unset, the default frequency is 3 hours. The minimum
4970 allowed frequency is 60 seconds.''', 4973 allowed frequency is 60 seconds.''',
4971 'arc_support': 'This policy has no effect on the logging done by Android.' , 4974 'arc_support': 'This policy has no effect on the logging done by Android.' ,
4972 }, 4975 },
4973 { 4976 {
4977 'name': 'ReportArcStatus',
4978 'type': 'main',
4979 'schema': { 'type': 'boolean' },
4980 'supported_on': ['chrome_os:55-'],
4981 'features': {
4982 'dynamic_refresh': True,
4983 'per_profile': True,
4984 },
4985 'example_value': False,
4986 'id': 348,
4987 'caption': '''Report information about status of Android''',
4988 'tags': ['admin-sharing'],
4989 'desc': '''Report information about the status of Android.
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 },
bartfab (slow) 2016/10/10 15:49:17 Nit 1: Where is that status reported to? Nit 2: Do
phweiss 2016/10/11 12:14:39 Done.
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698