blob: 10ad804e04cdcec44eaee5438caa82435b799671 [file] [log] [blame]
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001{
2# policy_templates.json - Metafile for policy templates
3#
4# The content of this file is evaluated as a Python expression.
5#
6# This file is used as input to generate the following policy templates:
7# ADM, ADMX+ADML, MCX/plist and html documentation.
8#
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
11# pair where the value has a given type. Chrome looks up the values using the
12# names of the policies. In the user interface where the values can be set,
13# related policies might appear together in policy groups. The grouping is not
14# visible to Chrome.
15#
16# This file contains a list of policies and groups. Each group contains a list
17# of policies under the key 'policies'. All the policies and groups must have
18# unique names. Group names are not exposed to Chrome at all.
19#
20# Each policy has a type. The currently implemented types:
21# 'group': - not a real policy, contains a list of policies
22# NOTE: Currently nesting groups inside other groups is not supported.
23# 'string' - a string value
24# 'int' - an integer value
25# 'int-enum' - the user can select an integer value from a collection of
26# items
27# 'string-enum' - the user can select a string value from a collection of
28# items
29# 'main' - a boolean value
30# 'list' - a list of string values
31# 'dict' - a dictionary value, containing other values indexed by strings
32# NOTE: This type is not supported yet. http://crbug.com/108992
Ben Murdoch32409262013-08-07 11:04:47 +010033# 'external' - a policy that references external data.
34# NOTE: This type is not supported yet. http://crbug.com/256635
Torne (Richard Coles)58218062012-11-14 11:43:16 +000035#
36# Policy group descriptions, policy captions and similar texts are localized
37# strings taken from the <message> nodes of the .grd file. Their name
38# attributes are generated from the JSON keys.
39# Each item (policy or group) may have the following messages:
40# - description:
41# Describes the item it applies to.
42# - caption
43# A short, one-line summary of the item it applies to. This can appear
44# both in policy or group listings or on title bars of policy-setting
45# windows.
46# - label (Optional, defaults to caption if not specified.)
47# A short, one-line summary of the item it applies to. The difference
48# from caption is that label always appears next to the entry field
49# where the value of the policy can be entered. 'main' policies on
50# Windows ignore this. Policies on Mac are using this instead of caption.
51#
52# Generated grd names:
53# Each name has two parts: the second part is either CAPTION, DESC or LABEL,
54# and the first part identifies the item the text applies to:
55# -For policies and groups:
56# IDS_POLICY_<NAME OF THE POLICY OR GROUP>
57# e.g. the name of the caption of policy HomepageLocation:
58# IDS_POLICY_HOMEPAGELOCATION_CAPTION
59# or other messages of the policy HomepageLocation:
60# IDS_POLICY_HOMEPAGELOCATION_LABEL
61# IDS_POLICY_HOMEPAGELOCATION_DESC
62# -For enum items:
63# IDS_POLICY_ENUM_<NAME OF THE ITEM>
64# e.g. the name of the caption of ProxyServerDisabled:
65# IDS_POLICY_ENUM_PROXYSERVERDISABLED_CAPTION
66#
67# Products and versions:
68# Each policy has the list of products and version numbers where it is
69# supported under the key 'supported_on'. Each item of this list has the
70# form of 'product:since_version-until_version', which means that support
71# for the policy in 'product' was introduced in 'since_version' and removed
72# after 'until_version'. Product names may contain a suffix specifying a
73# platform name, e.g.: 'chrome.win' is read as 'Chrome on Windows'. Version
74# numbers can be any string that does not contain ':' or '-' characters.
75#
76# Currently supported product names:
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +010077# 'chrome_frame', 'chrome_os', 'android',
Torne (Richard Coles)58218062012-11-14 11:43:16 +000078# 'chrome.win', 'chrome.linux', 'chrome.mac', 'chrome.*'
79# For example if 'chrome.*:5-10' is specified for a policy, then it should
80# be read as:
81# 'chrome.linux:5-10', 'chrome.mac:5-10', 'chrome.win:5-10'
82#
83# The product name also affects in which templates the policy is included:
84# chrome.*, chrome.win, chrome_frame -> ADM, ADMX, ADML, doc
85# chrome.*, chrome.linux -> JSON, doc
86# chrome.*, chrome.mac -> plist, plist_strings, doc
87# everything else -> doc
88#
89# The default list of policies supported by Chrome is also generated based
90# on the product names:
91# chrome.* -> Chrome policy definition list
92# chrome_os -> Chrome policy definition list, when building OS_CHROMEOS
93#
94# Annotations:
95# Additional information is specified under keys 'features' and
96# 'example_value'. These are used in the generated documentation and example
97# policy configuration files. 'dynamic_refresh' controls if the generated
98# documentation should state that the policy supports dynamic refresh or not.
99# Supporting dynamic refresh means that Chrome respects the changes to the
100# policy immediately, without the need for restart.
101# 'can_be_recommended' can be set to True to include that policy in the
102# recommended policies templates. This only affects the template generation;
103# all policies can be at the recommended level. The default is False.
Ben Murdoch32409262013-08-07 11:04:47 +0100104# 'max_size' specifies the maximal size of the external data that a policy can
105# reference, in bytes. This annotation is compulsory for policies of type
106# 'external'. It is ignored for all other policy types.
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000107#
108# The 'future' key is used to indicate that a policy isn't yet ready for
109# usage. It defaults to False, and currently affects the generated policy
110# templates and documentation. The policy definition list that Chrome sees
111# will include policies marked with 'future'. If a WIP policy isn't meant to
112# be seen by the policy providers either, the 'supported_on' key should be set
113# to an empty list.
114#
115# IDs:
116# Since a Protocol Buffer definition is generated from this file, unique and
117# persistent IDs for all fields (but not for groups!) are needed. These are
118# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
119# because doing so would break the deployed wire format!
Ben Murdochbb1529c2013-08-08 10:24:53 +0100120# For your editing convenience: highest ID currently used: 236
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000121#
122# Placeholders:
123# The following placeholder strings are automatically substituted:
124# $1 -> Google Chrome / Chromium
125# $2 -> Google Chrome OS / Chromium OS
126# $3 -> Google Chrome Frame / Chromium Frame
127# $6 is reserved for doc_writer
128#
129# Device Policy:
130# An additional flag device_only (optional, defaults to False) indicates
131# that this policy is only supported as a device-level Cloud Policy.
132# In that case no entry in the UserPolicy Protobuf is generated and
133# it is assumed that it will be added to the DevicePolicy Protobuf manually.
134#
135 'policy_definitions': [
136 {
137 'name': 'Homepage',
138 'type': 'group',
139 'caption': '''Home page''',
140 'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it.
141
142 The user's home page settings are only completely locked down, if you either select the home page to be the new tab page, or set it to be a URL and specify a home page URL. If you don't specify the home page URL, then the user is still able to set the home page to the new tab page by specifying 'chrome://newtab'.''',
143 'policies': [
144 {
145 'name': 'HomepageLocation',
146 'type': 'string',
147 'schema': { 'type': 'string' },
148 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
149 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000150 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000151 'dynamic_refresh': True,
152 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000153 },
154 'example_value': 'http://chromium.org',
155 'id': 1,
156 'caption': '''Configure the home page URL''',
157 'desc': '''Configures the default home page URL in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it.
158
159 The home page is the page opened by the Home button. The pages that open on startup are controlled by the RestoreOnStartup policies.
160
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000161 The home page type can either be set to a URL you specify here or set to the New Tab Page. If you select the New Tab Page, then this policy does not take effect.
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000162
163 If you enable this setting, users cannot change their home page URL in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>, but they can still can choose the New Tab Page as their home page.
164
165 Leaving this policy not set will allow the user to choose his home page on his own if HomepageIsNewTabPage is not set too.''',
166 'label': '''Home page URL''',
167 },
168 {
169 'name': 'HomepageIsNewTabPage',
170 'type': 'main',
171 'schema': { 'type': 'boolean' },
172 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
173 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000174 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000175 'dynamic_refresh': True,
176 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000177 },
178 'example_value': True,
179 'id': 2,
180 'caption': '''Use New Tab Page as homepage''',
181 'desc': '''Configures the type of the default home page in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing home page preferences. The home page can either be set to a URL you specify or set to the New Tab Page.
182
183 If you enable this setting, the New Tab Page is always used for the home page, and the home page URL location is ignored.
184
185 If you disable this setting, the user's homepage will never be the New Tab Page, unless its URL is set to 'chrome://newtab'.
186
187 If you enable or disable this setting, users cannot change their homepage type in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
188
189 Leaving this policy not set will allow the user to choose whether the new tab page is his home page on his own.''',
190 },
191 ],
192 },
193 {
194 'name': 'DefaultBrowserSettingEnabled',
195 'type': 'main',
196 'schema': { 'type': 'boolean' },
197 'supported_on': ['chrome.*:11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000198 'features': {
199 'dynamic_refresh': True,
200 'per_profile': False,
201 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000202 'example_value': True,
203 'id': 3,
204 'caption': '''Set Chrome as Default Browser''',
205 'desc': '''Configures the default browser checks in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing them.
206
207 If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will always check on startup whether it is the default browser and automatically register itself if possible.
208
209 If this setting is disabled, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will never check if it is the default browser and will disable user controls for setting this option.
210
211 If this setting is not set, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will allow the user to control whether it is the default browser and whether user notifications should be shown when it isn't.''',
212 'label': '''Set Chrome as Default Browser''',
213 },
214 {
215 'name': 'ApplicationLocaleValue',
216 'type': 'string',
217 'schema': { 'type': 'string' },
218 'supported_on': ['chrome.win:8-'],
219 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000220 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000221 'dynamic_refresh': False,
222 'per_profile': False,
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000223 },
224 'example_value': 'en',
225 'id': 4,
226 'caption': '''Application locale''',
227 'desc': '''Configures the application locale in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing the locale.
228
229 If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> uses the specified locale. If the configured locale is not supported, 'en-US' is used instead.
230
231 If this setting is disabled or not set, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> uses either the user-specified preferred locale (if configured), the system locale or the fallback locale 'en-US'.''',
232 'label': '''Application locale''',
233 },
234 {
235 'name': 'AlternateErrorPagesEnabled',
236 'type': 'main',
237 'schema': { 'type': 'boolean' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +0100238 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000239 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000240 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000241 'dynamic_refresh': True,
242 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000243 },
244 'example_value': True,
245 'id': 5,
246 'caption': '''Enable alternate error pages''',
247 'desc': '''Enables the use of alternate error pages that are built into <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> (such as 'page not found') and prevents users from changing this setting.
248
249 If you enable this setting, alternate error pages are used.
250
251 If you disable this setting, alternate error pages are never used.
252
253 If you enable or disable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
254
255 If this policy is left not set, this will be enabled but the user will be able to change it.''',
256 },
257 {
258 'name': 'SearchSuggestEnabled',
259 'type': 'main',
260 'schema': { 'type': 'boolean' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +0100261 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000262 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000263 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000264 'dynamic_refresh': True,
265 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000266 },
267 'example_value': True,
268 'id': 6,
269 'caption': '''Enable search suggestions''',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000270 'desc': '''Enables search suggestions in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s omnibox and prevents users from changing this setting.
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000271
272 If you enable this setting, search suggestions are used.
273
274 If you disable this setting, search suggestions are never used.
275
276 If you enable or disable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
277
278 If this policy is left not set, this will be enabled but the user will be able to change it.''',
279 },
280 {
281 'name': 'DnsPrefetchingEnabled',
282 'type': 'main',
283 'schema': { 'type': 'boolean' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +0100284 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000285 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000286 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000287 'dynamic_refresh': True,
288 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000289 },
290 'example_value': True,
291 'id': 7,
292 'caption': '''Enable network prediction''',
293 'desc': '''Enables network prediction in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
294
295 This controls not only DNS prefetching but also TCP and SSL preconnection and prerendering of web pages. The policy name refers to DNS prefetching for historical reasons.
296
297 If you enable or disable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
298
299 If this policy is left not set, this will be enabled but the user will be able to change it.''',
300 },
301 {
302 'name': 'DisableSpdy',
303 'type': 'main',
304 'schema': { 'type': 'boolean' },
Ben Murdoch558790d2013-07-30 15:19:42 +0100305 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000306 'features': {
307 'dynamic_refresh': True,
308 'per_profile': False,
309 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000310 'example_value': True,
311 'id': 8,
312 'caption': '''Disable SPDY protocol''',
313 'desc': '''Disables use of the SPDY protocol in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
314
315 If this policy is enabled the SPDY protocol will not be available in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
316
317 Setting this policy to disabled will allow the usage of SPDY.
318
319 If this policy is left not set, SPDY will be available.''',
320 },
321 {
322 'name': 'DisabledSchemes',
323 'type': 'list',
324 'schema': {
325 'type': 'array',
326 'items': { 'type': 'string' },
327 },
328 'supported_on': ['chrome.*:12-', 'chrome_os:0.12-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000329 'features': {
330 'dynamic_refresh': True,
331 'per_profile': False,
332 },
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100333 'deprecated': True,
334 'example_value': ['file', 'https'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000335 'id': 85,
336 'caption': '''Disable URL protocol schemes''',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100337 'desc': '''This policy is deprecated, please use URLBlacklist instead.
338
339 Disables the listed protocol schemes in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000340
341 URLs using a scheme from this list will not load and can not be navigated to.
342
343 If this policy is left not set or the list is empty all schemes will be accessible in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
344 'label': '''List of disabled protocol schemes''',
345 },
346 {
347 'name': 'JavascriptEnabled',
348 'type': 'main',
349 'schema': { 'type': 'boolean' },
Ben Murdoch558790d2013-07-30 15:19:42 +0100350 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000351 'features': {
352 'dynamic_refresh': True,
353 'per_profile': True,
354 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000355 'deprecated': True,
356 'example_value': True,
357 'id': 9,
358 'caption': '''Enable JavaScript''',
359 'desc': '''This policy is deprecated, please use DefaultJavaScriptSetting instead.
360
361 Can be used to disabled JavaScript in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
362
363 If this setting is disabled, web pages cannot use JavaScript and the user cannot change that setting.
364
365 If this setting is enabled or not set, web pages can use JavaScript but the user can change that setting.''',
366 },
367 {
368 'name': 'IncognitoEnabled',
369 'type': 'main',
370 'schema': { 'type': 'boolean' },
Ben Murdoch9ab55632013-07-18 11:57:30 +0100371 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000372 'features': {
373 'dynamic_refresh': True,
374 'per_profile': True,
375 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000376 'deprecated': True,
377 'example_value': False,
378 'id': 10,
379 'caption': '''Enable Incognito mode''',
380 'desc': '''This policy is deprecated. Please, use IncognitoModeAvailability instead.
381 Enables Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
382
383 If this setting is enabled or not configured, users can open web pages in incognito mode.
384
385 If this setting is disabled, users cannot open web pages in incognito mode.
386
387 If this policy is left not set, this will be enabled and the user will be able to use incognito mode.''',
388 },
389 {
390 'name': 'IncognitoModeAvailability',
391 'type': 'int-enum',
392 'schema': {
393 'type': 'integer',
394 'enum': [ 0, 1, 2 ],
395 },
396 'items': [
397 {
398 'name': 'Enabled',
399 'value': 0,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000400 'caption': '''Incognito mode available''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000401 },
402 {
403 'name': 'Disabled',
404 'value': 1,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000405 'caption': '''Incognito mode disabled''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000406 },
407 {
408 'name': 'Forced',
409 'value': 2,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000410 'caption': '''Incognito mode forced''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000411 },
412 ],
Ben Murdoch9ab55632013-07-18 11:57:30 +0100413 'supported_on': ['chrome.*:14-', 'chrome_os:0.14-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000414 'features': {
415 'dynamic_refresh': True,
416 'per_profile': True,
417 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000418 'example_value': 1,
419 'id': 93,
420 'caption': '''Incognito mode availability''',
421 'desc': '''Specifies whether the user may open pages in Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
422
423 If 'Enabled' is selected or the policy is left unset, pages may be opened in Incognito mode.
424
425 If 'Disabled' is selected, pages may not be opened in Incognito mode.
426
427 If 'Forced' is selected, pages may be opened ONLY in Incognito mode.''',
428 },
429 {
430 'name': 'SavingBrowserHistoryDisabled',
431 'type': 'main',
432 'schema': { 'type': 'boolean' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +0100433 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000434 'features': {
435 'dynamic_refresh': True,
436 'per_profile': True,
437 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000438 'example_value': True,
439 'id': 11,
440 'caption': '''Disable saving browser history''',
441 'desc': '''Disables saving browser history in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
442
443 If this setting is enabled, browsing history is not saved.
444
445 If this setting is disabled or not set, browsing history is saved.''',
446 },
447 {
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000448 'name': 'AllowDeletingBrowserHistory',
449 'future': True,
450 'type': 'main',
451 'schema': { 'type': 'boolean' },
452 # TODO(pamg): Restore the correct 'supported' line when the UI properly
453 # shows that deleting browser history is disabled. Also fix the 'os' line
454 # in policy_test_cases.json.
455 # 'supported_on': ['chrome.*:27-', 'chrome_os:0.27-'],
456 'supported_on': [],
457 'features': {
458 'dynamic_refresh': True,
459 'per_profile': True,
460 },
461 'example_value': True,
462 'id': 187,
463 'caption': '''Enable deleting browser and download history''',
464 'desc': '''Enables deleting browser history and download history in <ph name="PRODUCT_NAME">$<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
465
466 Note that even with this policy disabled, the browsing and download history are not guaranteed to be retained: users may be able to edit or delete the history database files directly, and the browser itself may expire or archive any or all history items at any time.
467
468 If this setting is enabled or not set, browsing and download history can be deleted.
469
470 If this setting is disabled, browsing and download history cannot be deleted.''',
471 },
472 {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000473 'name': 'RemoteAccess',
474 'type': 'group',
475 'caption': '''Configure remote access options''',
476 'desc': '''Configure remote access options in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
477
478 These features are ignored unless the Remote Access web application is installed.''',
479 'policies': [
480 {
481 'name': 'RemoteAccessClientFirewallTraversal',
482 'type': 'main',
483 'schema': { 'type': 'boolean' },
484 'supported_on': ['chrome.*:14-', 'chrome_os:0.14-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000485 'features': {
486 'dynamic_refresh': True,
487 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000488 # Mark this 'removed' when http://crbug.com/100216 is resolved.
489 'deprecated': True,
490 'example_value': False,
491 'id': 94,
492 'caption': '''Enable firewall traversal from remote access client''',
493 'desc': '''This policy is no longer supported.
494 Enables usage of STUN and relay servers when connecting to a remote client.
495
496 If this setting is enabled, then this machine can discover and connect to remote host machines even if they are separated by a firewall.
497
498 If this setting is disabled and outgoing UDP connections are filtered by the firewall, then this machine can only connect to host machines within the local network.''',
499 },
500 {
501 'name': 'RemoteAccessHostFirewallTraversal',
502 'type': 'main',
503 'schema': { 'type': 'boolean' },
504 'supported_on': ['chrome.*:14-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000505 'features': {
506 'dynamic_refresh': True,
507 'per_profile': False,
508 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000509 'example_value': False,
510 'id': 95,
511 'caption': '''Enable firewall traversal from remote access host''',
512 'desc': '''Enables usage of STUN and relay servers when remote clients are trying to establish a connection to this machine.
513
514 If this setting is enabled, then remote clients can discover and connect to this machines even if they are separated by a firewall.
515
516 If this setting is disabled and outgoing UDP connections are filtered by the firewall, then this machine will only allow connections from client machines within the local network.
517
518 If this policy is left not set the setting will be enabled.''',
519 },
520 {
521 'name': 'RemoteAccessHostDomain',
522 'type': 'string',
523 'schema': { 'type': 'string' },
524 'supported_on': ['chrome.*:22-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000525 'features': {
526 'dynamic_refresh': True,
527 'per_profile': False,
528 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000529 'example_value': 'my-awesome-domain.com',
530 'id': 154,
531 'caption': '''Configure the required domain name for remote access hosts''',
532 'desc': '''Configures the required host domain name that will be imposed on remote access hosts and prevents users from changing it.
533
534 If this setting is enabled, then hosts can be shared only using accounts registered on the specified domain name.
535
536 If this setting is disabled or not set, then hosts can be shared using any account.''',
537 },
538 {
539 'name': 'RemoteAccessHostRequireTwoFactor',
540 'type': 'main',
541 'schema': { 'type': 'boolean' },
542 'supported_on': ['chrome.*:22-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000543 'features': {
544 'dynamic_refresh': True,
545 'per_profile': False,
546 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000547 'example_value': False,
548 'id': 155,
549 'caption': '''Enable two-factor authentication for remote access hosts''',
550 'desc': '''Enables two-factor authentication for remote access hosts instead of a user-specified PIN.
551
552 If this setting is enabled, then users must provide a valid two-factor code when accessing a host.
553
554 If this setting is disabled or not set, then two-factor will not be enabled and the default behavior of having a user-defined PIN will be used.''',
555 },
556 {
557 'name': 'RemoteAccessHostTalkGadgetPrefix',
558 'type': 'string',
559 'schema': { 'type': 'string' },
560 'supported_on': ['chrome.*:22-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000561 'features': {
562 'dynamic_refresh': True,
563 'per_profile': False,
564 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000565 'example_value': 'chromoting-host',
566 'id': 156,
567 'caption': '''Configure the TalkGadget prefix for remote access hosts''',
568 'desc': '''Configures the TalkGadget prefix that will be used by remote access hosts and prevents users from changing it.
569
570 If specified, this prefix is prepended to the base TalkGadget name to create a full domain name for the TalkGadget. The base TalkGadget domain name is '.talkgadget.google.com'.
571
572 If this setting is enabled, then hosts will use the custom domain name when accessing the TalkGadget instead of the default domain name.
573
574 If this setting is disabled or not set, then the default TalkGadget domain name ('chromoting-host.talkgadget.google.com') will be used for all hosts.
575
576 Remote access clients are not affected by this policy setting. They will always use 'chromoting-client.talkgadget.google.com' to access the TalkGadget.''',
577 },
578 {
579 'name': 'RemoteAccessHostRequireCurtain',
580 'type': 'main',
581 'schema': { 'type': 'boolean' },
582 'supported_on': ['chrome.*:23-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000583 'features': {
584 'dynamic_refresh': True,
585 'per_profile': False,
586 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000587 'example_value': False,
588 'id': 157,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000589 'caption': '''Enable curtaining of remote access hosts''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000590 'desc': '''Enables curtaining of remote access hosts while a connection is in progress.
591
592 If this setting is enabled, then hosts' physical input and output devices are disabled while a remote connection is in progress.
593
594 If this setting is disabled or not set, then both local and remote users can interact with the host when it is being shared.''',
595 },
Torne (Richard Coles)a36e5922013-08-05 13:57:33 +0100596 {
597 'name': 'RemoteAccessHostAllowClientPairing',
598 'type': 'main',
599 'schema': { 'type': 'boolean' },
600 'supported_on': ['chrome.*:30-'],
601 'features': {
602 'dynamic_refresh': True,
603 'per_profile': False,
604 },
605 'example_value': False,
606 'id': 234,
607 'caption': '''Enable or disable PIN-less authentication''',
608 'desc': '''If this setting is enabled or not configured, then users can opt to pair clients and hosts at connection time, eliminating the need to enter a PIN every time.
609
610 If this setting is disabled, then this feature will not be available.''',
611 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000612 ],
613 },
614 {
615 'name': 'PrintingEnabled',
616 'type': 'main',
617 'schema': { 'type': 'boolean' },
618 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000619 'features': {
620 'dynamic_refresh': True,
621 'per_profile': True,
622 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000623 'example_value': True,
624 'id': 12,
625 'caption': '''Enable printing''',
626 'desc': '''Enables printing in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
627
628 If this setting is enabled or not configured, users can print.
629
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000630 If this setting is disabled, users cannot print from <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. Printing is disabled in the wrench menu, extensions, JavaScript applications, etc. It is still possible to print from plugins that bypass <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> while printing. For example, certain Flash applications have the print option in their context menu, which is not covered by this policy.''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000631 },
632 {
633 'name': 'CloudPrintProxyEnabled',
634 'type': 'main',
635 'schema': { 'type': 'boolean' },
636 'supported_on': ['chrome.*:17-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000637 'features': {
638 'dynamic_refresh': True,
639 'per_profile': True,
640 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000641 'example_value': True,
642 'id': 13,
643 'caption': '''Enable <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> proxy''',
644 'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to act as a proxy between <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> and legacy printers connected to the machine.
645
646 If this setting is enabled or not configured, users can enable the cloud print proxy by authentication with their Google account.
647
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000648 If this setting is disabled, users cannot enable the proxy, and the machine will not be allowed to share it's printers with <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph>.''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000649 },
650 {
651 'name': 'ForceSafeSearch',
652 'type': 'main',
653 'schema': { 'type': 'boolean' },
Ben Murdoch558790d2013-07-30 15:19:42 +0100654 'supported_on': ['chrome.*:25-', 'chrome_os:0.25-', 'android:30-'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000655 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000656 'can_be_recommended': False,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000657 'dynamic_refresh': True,
658 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000659 },
660 'example_value': False,
661 'id': 162,
662 'caption': '''Force SafeSearch''',
663 'desc': '''Forces queries in Google Web Search to be done with SafeSearch set to active and prevents users from changing this setting.
664
665 If you enable this setting, SafeSearch in Google Search is always active.
666
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000667 If you disable this setting or do not set a value, SafeSearch in Google Search is not enforced.''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000668 },
669 {
670 'name': 'SafeBrowsingEnabled',
671 'type': 'main',
672 'schema': { 'type': 'boolean' },
Ben Murdoch558790d2013-07-30 15:19:42 +0100673 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000674 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000675 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000676 'dynamic_refresh': True,
677 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000678 },
679 'example_value': True,
680 'id': 14,
681 'caption': '''Enable Safe Browsing''',
682 'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s Safe Browsing feature and prevents users from changing this setting.
683
684 If you enable this setting, Safe Browsing is always active.
685
686 If you disable this setting, Safe Browsing is never active.
687
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +0100688 If you enable or disable this setting, users cannot change or override the "Enable phishing and malware protection" setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000689
690 If this policy is left not set, this will be enabled but the user will be able to change it.''',
691 },
692 {
693 'name': 'MetricsReportingEnabled',
694 'type': 'main',
695 'schema': { 'type': 'boolean' },
Ben Murdoch558790d2013-07-30 15:19:42 +0100696 'supported_on': ['chrome.*:8-'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000697 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000698 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000699 'dynamic_refresh': False,
700 'per_profile': False,
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000701 },
702 'example_value': True,
703 'id': 15,
704 'caption': '''Enable reporting of usage and crash-related data''',
705 'desc': '''Enables anonymous reporting of usage and crash-related data about <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to Google and prevents users from changing this setting.
706
707 If you enable this setting, anonymous reporting of usage and crash-related data is sent to Google.
708
709 If you disable this setting, anonymous reporting of usage and crash-related data is never sent to Google.
710
711 If you enable or disable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
712
713 If this policy is left not set the setting will be what the user chose upon installation / first run.''',
714 },
715 {
716 'name': 'PasswordManager',
717 'type': 'group',
718 'caption': '''Password manager''',
719 'desc': '''Configures the password manager. If the password manager is enabled, then you can choose to enable or disable whether the user may show stored passwords in clear text.''',
720 'policies': [
721 {
722 'name': 'PasswordManagerEnabled',
723 'type': 'main',
724 'schema': { 'type': 'boolean' },
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100725 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000726 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000727 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000728 'dynamic_refresh': True,
729 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000730 },
731 'example_value': True,
732 'id': 16,
733 'caption': '''Enable the password manager''',
734 'desc': '''Enables saving passwords and using saved passwords in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
735
736 If you enable this setting, users can have <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> memorize passwords and provide them automatically the next time they log in to a site.
737
738 If you disable this setting, users are not able to save passwords or use already saved passwords.
739
740 If you enable or disable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
741
742 If this policy is left not set, this will be enabled but the user will be able to change it.''',
743 },
744 {
745 'name': 'PasswordManagerAllowShowPasswords',
746 'type': 'main',
747 'schema': { 'type': 'boolean' },
748 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000749 'features': {
750 'dynamic_refresh': True,
751 'per_profile': True,
752 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000753 'example_value': False,
754 'id': 17,
755 'caption': '''Allow users to show passwords in Password Manager''',
756 'desc': '''Controls whether the user may show passwords in clear text in the password manager.
757
758 If you disable this setting, the password manager does not allow showing stored passwords in clear text in the password manager window.
759
760 If you enable or do not set this policy, users can view their passwords in clear text in the password manager.''',
761 },
762 ],
763 },
764 {
765 'name': 'AutoFillEnabled',
766 'type': 'main',
767 'schema': { 'type': 'boolean' },
Ben Murdoch558790d2013-07-30 15:19:42 +0100768 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000769 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000770 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000771 'dynamic_refresh': True,
772 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000773 },
774 'example_value': False,
775 'id': 18,
776 'caption': '''Enable AutoFill''',
777 'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s AutoFill feature and allows users to auto complete web forms using previously stored information such as address or credit card information.
778
779 If you disable this setting, AutoFill will be inaccessible to users.
780
781 If you enable this setting or do not set a value, AutoFill will remain under the control of the user. This will allow them to configure AutoFill profiles and to switch AutoFill on or off at their own discretion.''',
782 },
783 {
784 'name': 'DisabledPlugins',
785 'type': 'list',
786 'schema': {
787 'type': 'array',
788 'items': { 'type': 'string' },
789 },
790 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000791 'features': {
792 'dynamic_refresh': True,
793 'per_profile': True,
794 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000795 'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
796 'id': 19,
797 'caption': '''Specify a list of disabled plugins''',
798 'desc': '''Specifies a list of plugins that are disabled in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
799
800 The wildcard characters '*' and '?' can be used to match sequences of arbitrary characters. '*' matches an arbitrary number of characters while '?' specifies an optional single character, i.e. matches zero or one characters. The escape character is '\\', so to match actual '*', '?', or '\\' characters, you can put a '\\' in front of them.
801
802 If you enable this setting, the specified list of plugins is never used in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. The plugins are marked as disabled in 'about:plugins' and users cannot enable them.
803
804 Note that this policy can be overridden by EnabledPlugins and DisabledPluginsExceptions.
805
806 If this policy is left not set the user can use any plugin installed on the system except for hard-coded incompatible, outdated or dangerous plugins.''',
807 'label': '''List of disabled plugins''',
808 },
809 {
810 'name': 'EnabledPlugins',
811 'type': 'list',
812 'schema': {
813 'type': 'array',
814 'items': { 'type': 'string' },
815 },
816 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000817 'features': {
818 'dynamic_refresh': True,
819 'per_profile': True,
820 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000821 'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
822 'id': 78,
823 'caption': '''Specify a list of enabled plugins''',
824 'desc': '''Specifies a list of plugins that are enabled in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
825
826 The wildcard characters '*' and '?' can be used to match sequences of arbitrary characters. '*' matches an arbitrary number of characters while '?' specifies an optional single character, i.e. matches zero or one characters. The escape character is '\\', so to match actual '*', '?', or '\\' characters, you can put a '\\' in front of them.
827
828 The specified list of plugins is always used in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> if they are installed. The plugins are marked as enabled in 'about:plugins' and users cannot disable them.
829
830 Note that this policy overrides both DisabledPlugins and DisabledPluginsExceptions.
831
832 If this policy is left not set the user can disable any plugin installed on the system.''',
833 'label': '''List of enabled plugins''',
834 },
835 {
836 'name': 'DisabledPluginsExceptions',
837 'type': 'list',
838 'schema': {
839 'type': 'array',
840 'items': { 'type': 'string' },
841 },
842 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000843 'features': {
844 'dynamic_refresh': True,
845 'per_profile': True,
846 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000847 'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
848 'id': 79,
849 'caption': '''Specify a list of plugins that the user can enable or disable''',
850 'desc': '''Specifies a list of plugins that user can enable or disable in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
851
852 The wildcard characters '*' and '?' can be used to match sequences of arbitrary characters. '*' matches an arbitrary number of characters while '?' specifies an optional single character, i.e. matches zero or one characters. The escape character is '\\', so to match actual '*', '?', or '\\' characters, you can put a '\\' in front of them.
853
854 If you enable this setting, the specified list of plugins can be used in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. Users can enable or disable them in 'about:plugins', even if the plugin also matches a pattern in DisabledPlugins. Users can also enable and disable plugins that don't match any patterns in DisabledPlugins, DisabledPluginsExceptions and EnabledPlugins.
855
856 This policy is meant to allow for strict plugin blacklisting where the 'DisabledPlugins' list contains wildcarded entries like disable all plugins '*' or disable all Java plugins '*Java*' but the administrator wishes to enable some particular version like 'IcedTea Java 2.3'. This particular versions can be specified in this policy.
857
858 If this policy is left not set any plugin that matches the patterns in the 'DisabledPlugins' will be locked disabled and the user won't be able to enable them.''',
859 'label': '''List of exceptions to the list of disabled plugins''',
860 },
861 {
862 'name': 'DisablePluginFinder',
863 'type': 'main',
864 'schema': { 'type': 'boolean' },
865 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000866 'features': {
867 'dynamic_refresh': True,
868 'per_profile': False,
869 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000870 'example_value': True,
871 'id': 66,
872 'caption': '''Specify whether the plugin finder should be disabled''',
873 'desc': '''If you set this setting to enabled the automatic search and installation of missing plugins will be disabled in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
874
875 Setting this option to disabled or leave it not set the plugin finder will be active.''',
876 'label': '''Disable plugin finder''',
877 },
878 {
879 'name': 'SyncDisabled',
880 'type': 'main',
881 'schema': { 'type': 'boolean' },
882 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000883 'features': {
884 'dynamic_refresh': True,
885 'per_profile': True,
886 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000887 'example_value': True,
888 'id': 20,
889 'caption': '''Disable synchronization of data with Google''',
890 'desc': '''Disables data synchronization in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> using Google-hosted synchronization services and prevents users from changing this setting.
891
892 If you enable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
893
894 If this policy is left not set Google Sync will be available for the user to choose whether to use it or not.''',
895 },
896 {
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000897 'name': 'SigninAllowed',
898 'type': 'main',
899 'schema': { 'type': 'boolean' },
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +0100900 'supported_on': ['chrome.*:27-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000901 'features': {
902 'dynamic_refresh': True,
903 'per_profile': True,
904 },
905 'example_value': True,
906 'id': 190,
907 'caption': '''Allows sign in to Chrome''',
908 'desc': '''Allows the user to sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
909
910 If you set this policy, you can configure if a user is allowed to sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> or not.''',
911 },
912 {
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000913 'name': 'UserDataDir',
914 'type': 'string',
915 'schema': { 'type': 'string' },
916 'supported_on': ['chrome.win:11-', 'chrome.mac:11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000917 'features': {
918 'dynamic_refresh': False,
919 'per_profile': False,
920 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000921 'example_value': '${users}/${user_name}/Chrome',
922 'id': 63,
923 'caption': '''Set user data directory''',
924 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing user data.
925
926 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided directory regardless whether the user has specified the '--user-data-dir' flag or not.
927
928 See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
929
930 If this policy is left not set the default profile path will be used and the user will be able to override it with the '--user-data-dir' command line flag.''',
931 'label': '''Set user data directory''',
932 },
933 {
934 'name': 'DiskCacheDir',
935 'type': 'string',
936 'schema': { 'type': 'string' },
937 'supported_on': ['chrome.*:13-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000938 'features': {
939 'dynamic_refresh': False,
940 'per_profile': False,
941 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000942 'example_value': '${user_home}/Chrome_cache',
943 'id': 88,
944 'caption': '''Set disk cache directory''',
945 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing cached files on the disk.
946
947 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided directory regardless whether the user has specified the '--disk-cache-dir' flag or not.
948
949 See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
950
951 If this policy is left not set the default cache directory will be used and the user will be able to override it with the '--disk-cache-dir' command line flag.''',
952 'label': '''Set disk cache directory''',
953 },
954 {
955 'name': 'DiskCacheSize',
956 'type': 'int',
957 'schema': { 'type': 'integer' },
958 'supported_on': ['chrome.*:17-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000959 'features': {
960 'dynamic_refresh': False,
961 'per_profile': False,
962 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000963 'example_value': 104857600,
964 'id': 110,
965 'caption': '''Set disk cache size in bytes''',
966 'desc': '''Configures the cache size that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing cached files on the disk.
967
968 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided cache size regardless whether the user has specified the '--disk-cache-size' flag or not.
969
970 If the value of this policy is 0, the default cache size will be used but the user will not be able to change it.
971
972 If this policy is not set the default size will be used and the user will be able to override it with the --disk-cache-size flag.''',
973 'label': '''Set disk cache size''',
974 },
975 {
976 'name': 'MediaCacheSize',
977 'type': 'int',
978 'schema': { 'type': 'integer' },
979 'supported_on': ['chrome.*:17-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000980 'features': {
981 'dynamic_refresh': False,
982 'per_profile': False,
983 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000984 'example_value': 104857600,
985 'id': 111,
986 'caption': '''Set media disk cache size in bytes''',
987 'desc': '''Configures the cache size that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing cached media files on the disk.
988
989 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided cache size regardless whether the user has specified the '--media-cache-size' flag or not.
990
991 If the value of this policy is 0, the default cache size will be used but the user will not be able to change it.
992
993 If this policy is not set the default size will be used and the user will be able to override it with the --media-cache-size flag.''',
994 'label': '''Set media disk cache size''',
995 },
996 {
997 'name': 'DownloadDirectory',
998 'type': 'string',
999 'schema': { 'type': 'string' },
1000 'supported_on': ['chrome.*:11-'],
1001 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001002 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001003 'dynamic_refresh': True,
1004 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001005 },
1006 'example_value': '/home/${user_name}/Downloads',
1007 'id': 64,
1008 'caption': '''Set download directory''',
1009 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for downloading files.
1010
1011 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided directory regardless whether the user has specified one or enabled the flag to be prompted for download location every time.
1012
1013 See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
1014
1015 If this policy is left not set the default download directory will be used and the user will be able to change it.''',
1016 'label': '''Set download directory''',
1017 },
1018 {
1019 'name': 'ClearSiteDataOnExit',
1020 'type': 'main',
1021 'schema': { 'type': 'boolean' },
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01001022 'supported_on': ['chrome.*:11-28', 'chrome_os:0.11-0.28'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001023 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001024 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001025 'dynamic_refresh': True,
1026 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001027 },
1028 'deprecated': True,
1029 'example_value': True,
1030 'id': 65,
1031 'caption': '''Clear site data on browser shutdown (deprecated)''',
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +01001032 'desc': '''This policy has been retired as of <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> version 29.''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001033 'label': '''Clear site data on browser shutdown (deprecated)''',
1034 },
1035 {
1036 'name': 'Proxy',
1037 'type': 'group',
1038 'caption': '''Proxy server''',
1039 'desc': '''Allows you to specify the proxy server used by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing proxy settings.
1040
1041 If you choose to never use a proxy server and always connect directly, all other options are ignored.
1042
1043 If you choose to auto detect the proxy server, all other options are ignored.
1044
1045 For detailed examples, visit:
1046 <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett</ex></ph>
1047
1048 If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> ignores all proxy-related options specified from the command line.
1049
1050 Leaving these policies not set will allow the users to choose the proxy settings on their own.''',
1051 'policies': [
1052 {
1053 'name': 'ProxyMode',
1054 'type': 'string-enum',
1055 'schema': {
1056 'type': 'string',
1057 'enum': [
1058 'direct',
1059 'auto_detect',
1060 'pac_script',
1061 'fixed_servers',
1062 'system'
1063 ],
1064 },
1065 'items': [
1066 {
1067 'name': 'ProxyDisabled',
1068 'value': 'direct',
1069 'caption': '''Never use a proxy''',
1070 },
1071 {
1072 'name': 'ProxyAutoDetect',
1073 'value': 'auto_detect',
1074 'caption': '''Auto detect proxy settings''',
1075 },
1076 {
1077 'name': 'ProxyPacScript',
1078 'value': 'pac_script',
1079 'caption': '''Use a .pac proxy script''',
1080 },
1081 {
1082 'name': 'ProxyFixedServers',
1083 'value': 'fixed_servers',
1084 'caption': '''Use fixed proxy servers''',
1085 },
1086 {
1087 'name': 'ProxyUseSystem',
1088 'value': 'system',
1089 'caption': '''Use system proxy settings''',
1090 },
1091 ],
Ben Murdoch558790d2013-07-30 15:19:42 +01001092 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001093 'features': {
1094 'dynamic_refresh': True,
1095 'per_profile': True,
1096 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001097 'example_value': 'direct',
1098 'id': 21,
1099 'caption': '''Choose how to specify proxy server settings''',
1100 'desc': '''Allows you to specify the proxy server used by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing proxy settings.
1101
1102 If you choose to never use a proxy server and always connect directly, all other options are ignored.
1103
1104 If you choose to use system proxy settings or auto detect the proxy server, all other options are ignored.
1105
1106 If you choose fixed server proxy mode, you can specify further options in 'Address or URL of proxy server' and 'Comma-separated list of proxy bypass rules'.
1107
1108 If you choose to use a .pac proxy script, you must specify the URL to the script in 'URL to a proxy .pac file'.
1109
1110 For detailed examples, visit:
1111 <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett</ex></ph>
1112
1113 If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> ignores all proxy-related options specified from the command line.
1114
1115 Leaving this policy not set will allow the users to choose the proxy settings on their own.''',
1116 },
1117 {
1118 'name': 'ProxyServerMode',
1119 'type': 'int-enum',
1120 'schema': {
1121 'type': 'integer',
1122 'enum': [ 0, 1, 2, 3 ],
1123 },
1124 'items': [
1125 {
1126 'name': 'ProxyServerDisabled',
1127 'value': 0,
1128 'caption': '''Never use a proxy''',
1129 },
1130 {
1131 'name': 'ProxyServerAutoDetect',
1132 'value': 1,
1133 'caption': '''Auto detect proxy settings''',
1134 },
1135 {
1136 'name': 'ProxyServerManual',
1137 'value': 2,
1138 'caption': '''Manually specify proxy settings''',
1139 },
1140 {
1141 'name': 'ProxyServerUseSystem',
1142 'value': 3,
1143 'caption': '''Use system proxy settings''',
1144 },
1145 ],
Ben Murdoch558790d2013-07-30 15:19:42 +01001146 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001147 'features': {
1148 'dynamic_refresh': True,
1149 'per_profile': True,
1150 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001151 'deprecated': True,
1152 'example_value': 2,
1153 'id': 22,
1154 'caption': '''Choose how to specify proxy server settings''',
1155 'desc': '''This policy is deprecated, use ProxyMode instead.
1156
1157 Allows you to specify the proxy server used by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing proxy settings.
1158
1159 If you choose to never use a proxy server and always connect directly, all other options are ignored.
1160
1161 If you choose to use system proxy settings or auto detect the proxy server, all other options are ignored.
1162
1163 If you choose manual proxy settings, you can specify further options in 'Address or URL of proxy server', 'URL to a proxy .pac file' and 'Comma-separated list of proxy bypass rules'.
1164
1165 For detailed examples, visit:
1166 <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett</ex></ph>
1167
1168 If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> ignores all proxy-related options specified from the command line.
1169
1170 Leaving this policy not set will allow the users to choose the proxy settings on their own.''',
1171 },
1172 {
1173 'name': 'ProxyServer',
1174 'type': 'string',
1175 'schema': { 'type': 'string' },
Ben Murdoch558790d2013-07-30 15:19:42 +01001176 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001177 'features': {
1178 'dynamic_refresh': True,
1179 'per_profile': True,
1180 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001181 'example_value': '123.123.123.123:8080',
1182 'id': 23,
1183 'caption': '''Address or URL of proxy server''',
1184 'desc': '''You can specify the URL of the proxy server here.
1185
1186 This policy only takes effect if you have selected manual proxy settings at 'Choose how to specify proxy server settings'.
1187
1188 You should leave this policy not set if you have selected any other mode for setting proxy policies.
1189
1190 For more options and detailed examples, visit:
1191 <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett</ex></ph>''',
1192 },
1193 {
1194 'name': 'ProxyPacUrl',
1195 'type': 'string',
1196 'schema': { 'type': 'string' },
Ben Murdoch558790d2013-07-30 15:19:42 +01001197 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001198 'features': {
1199 'dynamic_refresh': True,
1200 'per_profile': True,
1201 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001202 'example_value': 'http://internal.site/example.pac',
1203 'id': 24,
1204 'caption': '''URL to a proxy .pac file''',
1205 'desc': '''You can specify a URL to a proxy .pac file here.
1206
1207 This policy only takes effect if you have selected manual proxy settings at 'Choose how to specify proxy server settings'.
1208
1209 You should leave this policy not set if you have selected any other mode for setting proxy policies.
1210
1211 For detailed examples, visit:
1212 <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett</ex></ph>''',
1213 },
1214 {
1215 'name': 'ProxyBypassList',
1216 'type': 'string',
1217 'schema': { 'type': 'string' },
Ben Murdoch558790d2013-07-30 15:19:42 +01001218 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001219 'features': {
1220 'dynamic_refresh': True,
1221 'per_profile': True,
1222 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001223 'example_value': 'http://www.example1.com,http://www.example2.com,http://internalsite/',
1224 'id': 25,
1225 'caption': '''Proxy bypass rules''',
1226 'desc': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will bypass any proxy for the list of hosts given here.
1227
1228 This policy only takes effect if you have selected manual proxy settings at 'Choose how to specify proxy server settings'.
1229
1230 You should leave this policy not set if you have selected any other mode for setting proxy policies.
1231
1232 For more detailed examples, visit:
1233 <ph name="PROXY_HELP_URL">http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett<ex>http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett</ex></ph>''',
1234 'label': '''Comma-separated list of proxy bypass rules''',
1235 },
1236 ],
1237 },
1238 {
1239 # TODO(joaodasilva): Make this the default and deprecate the other proxy
1240 # policies once all providers are ready to load 'dict' policies.
1241 # This is currently an internal policy.
1242 # http://crbug.com/108992, http://crbug.com/108996
1243 'name': 'ProxySettings',
1244 'type': 'dict',
1245 'schema': {
1246 'type': 'object',
1247 'properties': {
1248 'ProxyMode': { 'type': 'string' },
1249 'ProxyPacUrl': { 'type': 'string' },
1250 'ProxyServer': { 'type': 'string' },
1251 'ProxyBypassList': { 'type': 'string' },
1252 'ProxyServerMode': { 'type': 'string' },
1253 },
1254 },
Ben Murdoch558790d2013-07-30 15:19:42 +01001255 'supported_on': ['chrome.*:18-', 'chrome_os:0.18-', 'android:30-'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001256 'future': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001257 'features': {
1258 'dynamic_refresh': True,
1259 'per_profile': True,
1260 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001261 'example_value': { "ProxyMode": "direct" },
1262 'id': 116,
1263 'caption': '''Proxy settings''',
1264 'desc': '''Configures the proxy settings for <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1265
1266 This policy isn't ready for usage yet, please don't use it.''',
1267 },
1268 {
1269 'name': 'HTTPAuthentication',
1270 'type': 'group',
1271 'caption': '''Policies for HTTP Authentication''',
1272 'desc': '''Policies related to integrated HTTP authentication.''',
1273 'policies': [
1274 {
1275 'name': 'AuthSchemes',
1276 'type': 'string',
1277 'schema': { 'type': 'string' },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001278 'supported_on': ['chrome.*:9-'],
1279 'features': {
1280 'dynamic_refresh': False,
1281 'per_profile': False,
1282 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001283 'example_value': 'basic,digest,ntlm,negotiate',
1284 'id': 26,
1285 'caption': '''Supported authentication schemes''',
1286 'desc': '''Specifies which HTTP Authentication schemes are supported by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1287
1288 Possible values are 'basic', 'digest', 'ntlm' and 'negotiate'. Separate multiple values with commas.
1289
1290 If this policy is left not set, all four schemes will be used.''',
1291 },
1292 {
1293 'name': 'DisableAuthNegotiateCnameLookup',
1294 'type': 'main',
1295 'schema': { 'type': 'boolean' },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001296 'supported_on': ['chrome.*:9-'],
1297 'features': {
1298 'dynamic_refresh': False,
1299 'per_profile': False,
1300 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001301 'example_value': False,
1302 'id': 27,
1303 'caption': '''Disable CNAME lookup when negotiating Kerberos authentication''',
1304 'desc': '''Specifies whether the generated Kerberos SPN is based on the canonical DNS name or the original name entered.
1305
1306 If you enable this setting, CNAME lookup will be skipped and the server name will be used as entered.
1307
1308 If you disable this setting or leave it not set, the canonical name of the server will be determined via CNAME lookup.''',
1309 },
1310 {
1311 'name': 'EnableAuthNegotiatePort',
1312 'type': 'main',
1313 'schema': { 'type': 'boolean' },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001314 'supported_on': ['chrome.*:9-'],
1315 'features': {
1316 'dynamic_refresh': False,
1317 'per_profile': False,
1318 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001319 'example_value': False,
1320 'id': 28,
1321 'caption': '''Include non-standard port in Kerberos SPN''',
1322 'desc': '''Specifies whether the generated Kerberos SPN should include a non-standard port.
1323
1324 If you enable this setting, and a non-standard port (i.e., a port other than 80 or 443) is entered, it will be included in the generated Kerberos SPN.
1325
1326 If you disable this setting or leave it not set, the generated Kerberos SPN will not include a port in any case.''',
1327 },
1328 {
1329 'name': 'AuthServerWhitelist',
1330 'type': 'string',
1331 'schema': { 'type': 'string' },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001332 'supported_on': ['chrome.*:9-'],
1333 'features': {
1334 'dynamic_refresh': False,
1335 'per_profile': False,
1336 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001337 'example_value': '*example.com,foobar.com,*baz',
1338 'id': 29,
1339 'caption': '''Authentication server whitelist''',
1340 'desc': '''Specifies which servers should be whitelisted for integrated authentication. Integrated authentication is only enabled when <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> receives an authentication challenge from a proxy or from a server which is in this permitted list.
1341
1342 Separate multiple server names with commas. Wildcards (*) are allowed.
1343
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001344 If you leave this policy not set Chrome will try to detect if a server is on the Intranet and only then will it respond to IWA requests. If a server is detected as Internet then IWA requests from it will be ignored by Chrome.''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001345 },
1346 {
1347 'name': 'AuthNegotiateDelegateWhitelist',
1348 'type': 'string',
1349 'schema': { 'type': 'string' },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001350 'supported_on': ['chrome.*:9-'],
1351 'features': {
1352 'dynamic_refresh': False,
1353 'per_profile': False,
1354 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001355 'example_value': 'foobar.example.com',
1356 'id': 30,
1357 'caption': '''Kerberos delegation server whitelist''',
1358 'desc': '''Servers that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> may delegate to.
1359
1360 Separate multiple server names with commas. Wildcards (*) are allowed.
1361
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001362 If you leave this policy not set Chrome will not delegate user credentials even if a server is detected as Intranet.''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001363 },
1364 {
1365 'name': 'GSSAPILibraryName',
1366 'type': 'string',
1367 'schema': { 'type': 'string' },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001368 'supported_on': ['chrome.linux:9-'],
1369 'features': {
1370 'dynamic_refresh': False,
1371 'per_profile': False,
1372 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001373 'example_value': 'libgssapi_krb5.so.2',
1374 'id': 31,
1375 'caption': '''GSSAPI library name''',
1376 'desc': '''Specifies which GSSAPI library to use for HTTP Authentication. You can set either just a library name, or a full path.
1377
1378 If no setting is provided, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will fall back to using a default library name.''',
1379 },
1380 {
1381 'name': 'AllowCrossOriginAuthPrompt',
1382 'type': 'main',
1383 'schema': { 'type': 'boolean' },
1384 'supported_on': ['chrome.*:13-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001385 'features': {
1386 'dynamic_refresh': True,
1387 'per_profile': False,
1388 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001389 'example_value': False,
1390 'id': 89,
1391 'caption': '''Cross-origin HTTP Basic Auth prompts''',
1392 'desc': '''Controls whether third-party sub-content on a page is allowed to pop-up an HTTP Basic Auth dialog box.
1393
1394 Typically this is disabled as a phishing defense. If this policy is not set, this is disabled and third-party sub-content will not be allowed to pop up a HTTP Basic Auth dialog box.''',
1395 },
1396 ],
1397 },
1398 {
1399 'name': 'Extensions',
1400 'type': 'group',
1401 'caption': '''Extensions''',
1402 'desc': '''Configures extension-related policies. The user is not allowed to install blacklisted extensions unless they are whitelisted. You can also force <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to automatically install extensions by specifying them in <ph name="EXTENSIONINSTALLFORCELIST_POLICY_NAME">ExtensionInstallForcelist</ph>. The blacklist takes precedence over the list of forced extensions.''',
1403 'policies': [
1404 {
1405 'name': 'ExtensionInstallBlacklist',
1406 'type': 'list',
1407 'schema': {
1408 'type': 'array',
1409 'items': { 'type': 'string' },
1410 },
1411 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001412 'features': {
1413 'dynamic_refresh': True,
1414 'per_profile': True,
1415 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001416 'example_value': ['extension_id1', 'extension_id2'],
1417 'id': 32,
1418 'caption': '''Configure extension installation blacklist''',
1419 'desc': '''Allows you to specify which extensions the users can NOT install. Extensions already installed will be removed if blacklisted.
1420
1421 A blacklist value of '*' means all extensions are blacklisted unless they are explicitly listed in the whitelist.
1422
1423 If this policy is left not set the user can install any extension in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
1424 'label': '''Extension IDs the user should be prevented from installing (or * for all)''',
1425 },
1426 {
1427 'name': 'ExtensionInstallWhitelist',
1428 'type': 'list',
1429 'schema': {
1430 'type': 'array',
1431 'items': { 'type': 'string' },
1432 },
1433 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001434 'features': {
1435 'dynamic_refresh': True,
1436 'per_profile': True,
1437 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001438 'example_value': ['extension_id1', 'extension_id2'],
1439 'id': 33,
1440 'caption': '''Configure extension installation whitelist''',
1441 'desc': '''Allows you to specify which extensions are not subject to the blacklist.
1442
1443 A blacklist value of * means all extensions are blacklisted and users can only install extensions listed in the whitelist.
1444
1445 By default, all extensions are whitelisted, but if all extensions have been blacklisted by policy, the whitelist can be used to override that policy.''',
1446 'label': '''Extension IDs to exempt from the blacklist''',
1447 },
1448 {
1449 'name': 'ExtensionInstallForcelist',
1450 'type': 'list',
1451 'schema': {
1452 'type': 'array',
1453 'items': { 'type': 'string' },
1454 },
1455 'supported_on': ['chrome.*:9-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001456 'features': {
1457 'dynamic_refresh': True,
1458 'per_profile': True,
1459 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001460 'example_value': ['lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx'],
1461 'id': 34,
1462 'caption': '''Configure the list of force-installed extensions''',
1463 'desc': '''Allows you to specify a list of extensions that will be installed silently, without user interaction.
1464
1465 Each item of the list is a string that contains an extension ID and an update URL delimited by a semicolon (<ph name="SEMICOLON">;</ph>). The extension ID is the 32-letter string found e.g. on <ph name="CHROME_EXTENSIONS_LINK">chrome://extensions</ph> when in developer mode. The update URL should point to an Update Manifest XML document as described at <ph name="LINK_TO_EXTENSION_DOC1">http://code.google.com/chrome/extensions/autoupdate.html</ph>. Note that the update URL set in this policy is only used for the initial installation; subsequent updates of the extension will use the update URL indicated in the extension's manifest.
1466
1467 For each item, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will retrieve the extension specified by the extension ID from the update service at the specified update URL and silently install it.
1468
1469 For example, <ph name="EXTENSION_POLICY_EXAMPLE">lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx</ph> installs the <ph name="EXTENSION_POLICY_EXAMPLE_EXTENSION_NAME">Google SSL Web Search</ph> extension from the standard Chrome Web Store update URL. For more information about hosting extensions, see: <ph name="LINK_TO_EXTENSION_DOC2">http://code.google.com/chrome/extensions/hosting.html</ph>.
1470
1471 Users will be unable to uninstall extensions that are specified by this policy. If you remove an extension from this list, then it will be automatically uninstalled by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. Extensions specified in this list are also automatically whitelisted for installation; the ExtensionsInstallBlacklist does not affect them.
1472
1473 If this policy is left not set the user can uninstall any extension in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
1474 'label': '''Extension IDs and update URLs to be silently installed''',
1475 },
1476 {
1477 'name': 'ExtensionInstallSources',
1478 'type': 'list',
1479 'schema': {
1480 'type': 'array',
1481 'items': { 'type': 'string' },
1482 },
1483 'supported_on': ['chrome.*:21-', 'chrome_os:21-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001484 'features': {
1485 'dynamic_refresh': True,
1486 'per_profile': True,
1487 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001488 'example_value': ['https://corp.mycompany.com/*'],
1489 'id': 148,
1490 'caption': '''Configure extension, app, and user script install sources''',
1491 'desc': '''Allows you to specify which URLs are allowed to install extensions, apps, and themes.
1492
1493 Starting in Chrome 21, it is more difficult to install extensions, apps, and user scripts from outside the Chrome Web Store. Previously, users could click on a link to a *.crx file, and Chrome would offer to install the file after a few warnings. After Chrome 21, such files must be downloaded and dragged onto the Chrome settings page. This setting allows specific URLs to have the old, easier installation flow.
1494
1495 Each item in this list is an extension-style match pattern (see http://code.google.com/chrome/extensions/match_patterns.html). Users will be able to easily install items from any URL that matches an item in this list. Both the location of the *.crx file and the page where the download is started from (i.e. the referrer) must be allowed by these patterns.
1496
1497 ExtensionInstallBlacklist takes precedence over this policy. That is, an extension on the blacklist won't be installed, even if it happens from a site on this list.''',
1498 'label': '''URL patterns to allow extension, app, and user script installs from''',
1499 },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001500 {
1501 'name': 'ExtensionAllowedTypes',
1502 'type': 'list',
1503 'schema': {
1504 'type': 'array',
1505 'items': {
1506 'type': 'string',
1507 'enum': [
1508 'extension',
1509 'theme',
1510 'user_script',
1511 'hosted_app',
1512 'legacy_packaged_app',
1513 'platform_app'
1514 ],
1515 },
1516 },
1517 'supported_on': ['chrome.*:25-', 'chrome_os:25-'],
1518 'features': {
1519 'dynamic_refresh': True,
1520 'per_profile': True,
1521 },
1522 'example_value': ['hosted_app'],
1523 'id': 168,
1524 'caption': '''Configure allowed app/extension types''',
1525 'desc': '''Controls which app/extension types are allowed to be installed.
1526
1527 This setting white-lists the allowed types of extension/apps that can be installed in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. The value is a list of strings, each of which should be one of the following: "extension", "theme", "user_script", "hosted_app", "legacy_packaged_app", "platform_app". See the Chrome extensions documentation for more information on these types.
1528
1529 Note that this policy also affects extensions and apps to be force-installed via ExtensionInstallForcelist.
1530
1531 If this setting is configured, extensions/apps which have a type that is not on the list will not be installed.
1532
1533 If this settings is left not-configured, no restrictions on the acceptable extension/app types are enforced.''',
1534 'label': '''Types of extensions/apps that are allowed to be installed''',
1535 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001536 ],
1537 },
1538 {
1539 'name': 'ShowHomeButton',
1540 'type': 'main',
1541 'schema': { 'type': 'boolean' },
1542 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
1543 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001544 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001545 'dynamic_refresh': True,
1546 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001547 },
1548 'example_value': True,
1549 'id': 35,
1550 'caption': '''Show Home button on toolbar''',
1551 'desc': '''Shows the Home button on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s toolbar.
1552
1553 If you enable this setting, the Home button is always shown.
1554
1555 If you disable this setting, the Home button is never shown.
1556
1557 If you enable or disable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1558
1559 Leaving this policy not set will allow the user to choose whether to show the home button.''',
1560 },
1561 {
1562 'name': 'DeveloperToolsDisabled',
1563 'type': 'main',
1564 'schema': { 'type': 'boolean' },
1565 'supported_on': ['chrome.*:9-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001566 'features': {
1567 'dynamic_refresh': True,
1568 'per_profile': True,
1569 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001570 'example_value': False,
1571 'id': 36,
1572 'caption': '''Disable Developer Tools''',
1573 'desc': '''Disables the Developer Tools and the JavaScript console.
1574
1575 If you enable this setting, the Developer Tools can not be accessed and web-site elements can not be inspected anymore. Any keyboard shortcuts and any menu or context menu entries to open the Developer Tools or the JavaScript Console will be disabled.
1576
1577 Setting this option to disabled or leaving it not set will allow the use to use the Developer Tools and the JavaScript console.''',
1578 },
1579 {
1580 'name': 'RestoreOnStartupGroup',
1581 'type': 'group',
1582 'caption': '''Startup pages''',
1583 'desc': '''Allows you to configure the pages that are loaded on startup.
1584
1585 The contents of the list 'URLs to open at startup' are ignored unless you select 'Open a list of URLs' in 'Action on startup'.''',
1586 'policies': [
1587 {
1588 'name': 'RestoreOnStartup',
1589 'type': 'int-enum',
1590 'schema': {
1591 'type': 'integer',
1592 'enum': [ 1, 4, 5 ],
1593 },
1594 'items': [
1595 {
1596 'name': 'RestoreOnStartupIsNewTabPage',
1597 'value': 5,
1598 'caption': '''Open New Tab Page''',
1599 },
1600 {
1601 'name': 'RestoreOnStartupIsLastSession',
1602 'value': 1,
1603 'caption': '''Restore the last session''',
1604 },
1605 {
1606 'name': 'RestoreOnStartupIsURLs',
1607 'value': 4,
1608 'caption': '''Open a list of URLs''',
1609 },
1610 ],
1611 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
1612 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001613 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001614 'dynamic_refresh': True,
1615 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001616 },
1617 'example_value': 4,
1618 'id': 37,
1619 'caption': '''Action on startup''',
1620 'desc': '''Allows you to specify the behavior on startup.
1621
1622 If you choose 'Open New Tab Page' the New Tab Page will always be opened when you start <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1623
1624 If you choose 'Restore the last session', the URLs that were open last time <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> was closed will be reopened and the browsing session will be restored as it was left.
1625 Choosing this option disables some settings that rely on sessions or that perform actions on exit (such as Clear browsing data on exit or session-only cookies).
1626
1627 If you choose 'Open a list of URLs', the list of 'URLs to open on startup' will be opened when a user starts <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1628
1629 If you enable this setting, users cannot change or override it in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1630
1631 Disabling this setting is equvalent to leaving it not configured. The user will still be able to change it in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
1632 },
1633 {
1634 'name': 'RestoreOnStartupURLs',
1635 'type': 'list',
1636 'schema': {
1637 'type': 'array',
1638 'items': { 'type': 'string' },
1639 },
1640 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
1641 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001642 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001643 'dynamic_refresh': True,
1644 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001645 },
1646 'example_value': ['http://example.com', 'http://chromium.org'],
1647 'id': 38,
1648 'caption': '''URLs to open on startup''',
1649 'desc': '''If 'Open a list of URLs' is selected as the startup action, this allows you to specify the list of URLs that are opened. If left not set no URL will be opened on start up.
1650
1651 This policy only works if the 'RestoreOnStartup' policy is set to 'RestoreOnStartupIsURLs'.''',
1652 },
1653 ],
1654 },
1655 {
1656 'name': 'BlockThirdPartyCookies',
1657 'type': 'main',
1658 'schema': { 'type': 'boolean' },
1659 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
1660 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001661 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001662 'dynamic_refresh': True,
1663 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001664 },
1665 'example_value': False,
1666 'id': 39,
1667 'caption': '''Block third party cookies''',
1668 'desc': '''Blocks third party cookies.
1669
1670 Enabling this setting prevents cookies from being set by web page elements that are not from the domain that is in the browser's address bar.
1671
1672 Disabling this setting allows cookies to be set by web page elements that are not from the domain that is in the browser's address bar and prevents users from changing this setting.
1673
1674 If this policy is left not set, third party cookies will be enabled but the user will be able to change that.''',
1675 },
1676 {
1677 # TODO(joaodasilva): Flag these policies with 'can_be_recommended'
1678 # after fixing http://crbug.com/106683
1679 'name': 'DefaultSearchProvider',
1680 'type': 'group',
1681 'caption': '''Default search provider''',
1682 'desc': '''Configures the default search provider. You can specify the default search provider that the user will use or choose to disable default search.''',
1683 'policies': [
1684 {
1685 'name': 'DefaultSearchProviderEnabled',
1686 'type': 'main',
1687 'schema': { 'type': 'boolean' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01001688 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001689 'features': {
1690 'dynamic_refresh': True,
1691 'per_profile': True,
1692 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001693 'example_value': True,
1694 'id': 40,
1695 'caption': '''Enable the default search provider''',
1696 'desc': '''Enables the use of a default search provider.
1697
1698 If you enable this setting, a default search is performed when the user types text in the omnibox that is not a URL.
1699
1700 You can specify the default search provider to be used by setting the rest of the default search policies. If these are left empty, the user can choose the default provider.
1701
1702 If you disable this setting, no search is performed when the user enters non-URL text in the omnibox.
1703
1704 If you enable or disable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1705
1706 If this policy is left not set, the default search provider is enabled, and the user will be able to set the search provider list.''',
1707 },
1708 {
1709 'name': 'DefaultSearchProviderName',
1710 'type': 'string',
1711 'schema': { 'type': 'string' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01001712 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001713 'features': {
1714 'dynamic_refresh': True,
1715 'per_profile': True,
1716 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001717 'example_value': 'My Intranet Search',
1718 'id': 41,
1719 'caption': '''Default search provider name''',
1720 'desc': '''Specifies the name of the default search provider. If left empty or not set, the host name specified by the search URL will be used.
1721
1722 This policy is only considered if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1723 },
1724 {
1725 'name': 'DefaultSearchProviderKeyword',
1726 'type': 'string',
1727 'schema': { 'type': 'string' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01001728 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001729 'features': {
1730 'dynamic_refresh': True,
1731 'per_profile': True,
1732 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001733 'example_value': 'mis',
1734 'id': 42,
1735 'caption': '''Default search provider keyword''',
1736 'desc': '''Specifies the keyword, which is the shortcut used in the omnibox to trigger the search for this provider.
1737
1738 This policy is optional. If not set, no keyword will activate the search provider.
1739
1740 This policy is only considered if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1741 },
1742 {
1743 'name': 'DefaultSearchProviderSearchURL',
1744 'type': 'string',
1745 'schema': { 'type': 'string' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01001746 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001747 'features': {
1748 'dynamic_refresh': True,
1749 'per_profile': True,
1750 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001751 'example_value': 'http://search.my.company/search?q={searchTerms}',
1752 'id': 43,
1753 'caption': '''Default search provider search URL''',
1754 'desc': '''Specifies the URL of the search engine used when doing a default search. The URL should contain the string '<ph name="SEARCH_TERM_MARKER">{searchTerms}</ph>', which will be replaced at query time by the terms the user is searching for.
1755
1756 This option must be set when the 'DefaultSearchProviderEnabled' policy is enabled and will only be respected if this is the case.''',
1757 },
1758 {
1759 'name': 'DefaultSearchProviderSuggestURL',
1760 'type': 'string',
1761 'schema': { 'type': 'string' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01001762 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001763 'features': {
1764 'dynamic_refresh': True,
1765 'per_profile': True,
1766 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001767 'example_value': 'http://search.my.company/suggest?q={searchTerms}',
1768 'id': 44,
1769 'caption': '''Default search provider suggest URL''',
1770 'desc': '''Specifies the URL of the search engine used to provide search suggestions. The URL should contain the string '<ph name="SEARCH_TERM_MARKER">{searchTerms}</ph>', which will be replaced at query time by the text the user has entered so far.
1771
1772 This policy is optional. If not set, no suggest URL will be used.
1773
1774 This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1775 },
1776 {
1777 'name': 'DefaultSearchProviderInstantURL',
1778 'type': 'string',
1779 'schema': { 'type': 'string' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01001780 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001781 'features': {
1782 'dynamic_refresh': True,
1783 'per_profile': True,
1784 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001785 'example_value': 'http://search.my.company/suggest?q={searchTerms}',
1786 'id': 45,
1787 'caption': '''Default search provider instant URL''',
1788 'desc': '''Specifies the URL of the search engine used to provide instant results. The URL should contain the string <ph name="SEARCH_TERM_MARKER">'{searchTerms}'</ph>, which will be replaced at query time by the text the user has entered so far.
1789
1790 This policy is optional. If not set, no instant search results will be provided.
1791
1792 This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1793 },
1794 {
1795 'name': 'DefaultSearchProviderIconURL',
1796 'type': 'string',
1797 'schema': { 'type': 'string' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01001798 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001799 'features': {
1800 'dynamic_refresh': True,
1801 'per_profile': True,
1802 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001803 'example_value': 'http://search.my.company/favicon.ico',
1804 'id': 46,
1805 'caption': '''Default search provider icon''',
1806 'desc': '''Specifies the favorite icon URL of the default search provider.
1807
1808 This policy is optional. If not set, no icon will be present for the search provider.
1809
1810 This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1811 },
1812 {
1813 'name': 'DefaultSearchProviderEncodings',
1814 'type': 'list',
1815 'schema': {
1816 'type': 'array',
1817 'items': { 'type': 'string' },
1818 },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01001819 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001820 'features': {
1821 'dynamic_refresh': True,
1822 'per_profile': True,
1823 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001824 'example_value': ['UTF-8', 'UTF-16', 'GB2312', 'ISO-8859-1'],
1825 'id': 47,
1826 'caption': '''Default search provider encodings''',
1827 'desc': '''Specifies the character encodings supported by the search provider. Encodings are code page names like UTF-8, GB2312, and ISO-8859-1. They are tried in the order provided.
1828
1829 This policy is optional. If not set, the default will be used which is UTF-8.
1830
1831 This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1832 },
1833 {
1834 'name': 'DefaultSearchProviderAlternateURLs',
1835 'type': 'list',
1836 'schema': {
1837 'type': 'array',
1838 'items': { 'type': 'string' },
1839 },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01001840 'supported_on': ['chrome.*:24-', 'chrome_os:0.24-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001841 'features': {
1842 'dynamic_refresh': True,
1843 'per_profile': True,
1844 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001845 'example_value': ['http://search.my.company/suggest#q={searchTerms}', 'http://search.my.company/suggest/search#q={searchTerms}'],
1846 'id': 161,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001847 'caption': '''List of alternate URLs for the default search provider''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001848 'desc': '''Specifies a list of alternate URLs that can be used to extract search terms from the search engine. The URLs should contain the string <ph name="SEARCH_TERM_MARKER">'{searchTerms}'</ph>, which will be used to extract the search terms.
1849
1850 This policy is optional. If not set, no alternate urls will be used to extract search terms.
1851
1852 This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1853 },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001854 {
1855 'name': 'DefaultSearchProviderSearchTermsReplacementKey',
1856 'type': 'string',
1857 'schema': { 'type': 'string' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01001858 'supported_on': ['chrome.*:25-', 'chrome_os:0.25-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001859 'features': {
1860 'dynamic_refresh': True,
1861 'per_profile': True,
1862 },
1863 'example_value': 'espv',
1864 'id': 171,
1865 'caption': '''Parameter controlling search term placement for the default search provider''',
1866 'desc': '''If this policy is set and a search URL suggested from the omnibox contains this parameter in the query string or in the fragment identifier, then the suggestion will show the search terms and search provider instead of the raw search URL.
1867
1868 This policy is optional. If not set, no search term replacement will be performed.
1869
1870 This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1871 },
Torne (Richard Coles)a36e5922013-08-05 13:57:33 +01001872 {
1873 'name': 'DefaultSearchProviderImageURL',
1874 'type': 'string',
1875 'schema': { 'type': 'string' },
1876 'supported_on': ['chrome.*:29-', 'chrome_os:0.29-', 'android:30-'],
1877 'features': {
1878 'dynamic_refresh': True,
1879 'per_profile': True,
1880 },
1881 'example_value': 'http://search.my.company/searchbyimage/upload',
1882 'id': 229,
1883 'caption': '''Parameter providing search-by-image feature for the default search provider''',
1884 'desc': '''Specifies the URL of the search engine used to provide image search. Search requests will be sent using the GET method. If the DefaultSearchProviderImageURLPostParams policy is set then image search requests will use the POST method instead.
1885
1886 This policy is optional. If not set, no image search will be used.
1887
1888 This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1889 },
1890 {
1891 'name': 'DefaultSearchProviderSearchURLPostParams',
1892 'type': 'string',
1893 'schema': { 'type': 'string' },
1894 'supported_on': ['chrome.*:29-', 'chrome_os:0.29-', 'android:30-'],
1895 'features': {
1896 'dynamic_refresh': True,
1897 'per_profile': True,
1898 },
1899 'example_value': 'q={searchTerms},ie=utf-8,oe=utf-8',
1900 'id': 230,
1901 'caption': '''Parameters for search URL which uses POST''',
1902 'desc': '''Specifies the parameters used when searching a URL with POST. It consists of comma-separated name/value pairs. If a value is a template parameter, like {searchTerms} in above example, it will be replaced with real search terms data.
1903
1904 This policy is optional. If not set, search request will be sent using the GET method.
1905
1906 This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1907 },
1908 {
1909 'name': 'DefaultSearchProviderSuggestURLPostParams',
1910 'type': 'string',
1911 'schema': { 'type': 'string' },
1912 'supported_on': ['chrome.*:29-', 'chrome_os:0.29-', 'android:30-'],
1913 'features': {
1914 'dynamic_refresh': True,
1915 'per_profile': True,
1916 },
1917 'example_value': 'q={searchTerms},ie=utf-8,oe=utf-8',
1918 'id': 231,
1919 'caption': '''Parameters for suggest URL which uses POST''',
1920 'desc': '''Specifies the parameters used when doing suggestion search with POST. It consists of comma-separated name/value pairs. If a value is a template parameter, like {searchTerms} in above example, it will be replaced with real search terms data.
1921
1922 This policy is optional. If not set, suggest search request will be sent using the GET method.
1923
1924 This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1925 },
1926 {
1927 'name': 'DefaultSearchProviderInstantURLPostParams',
1928 'type': 'string',
1929 'schema': { 'type': 'string' },
1930 'supported_on': ['chrome.*:29-', 'chrome_os:0.29-', 'android:30-'],
1931 'features': {
1932 'dynamic_refresh': True,
1933 'per_profile': True,
1934 },
1935 'example_value': 'q={searchTerms},ie=utf-8,oe=utf-8',
1936 'id': 232,
1937 'caption': '''Parameters for instant URL which uses POST''',
1938 'desc': '''Specifies the parameters used when doing instant search with POST. It consists of comma-separated name/value pairs. If a value is a template parameter, like {searchTerms} in above example, it will be replaced with real search terms data.
1939
1940 This policy is optional. If not set, instant search request will be sent using the GET method.
1941
1942 This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1943 },
1944 {
1945 'name': 'DefaultSearchProviderImageURLPostParams',
1946 'type': 'string',
1947 'schema': { 'type': 'string' },
1948 'supported_on': ['chrome.*:29-', 'chrome_os:0.29-', 'android:30-'],
1949 'features': {
1950 'dynamic_refresh': True,
1951 'per_profile': True,
1952 },
1953 'example_value': 'content={imageThumbnail},url={imageURL},sbisrc={SearchSource}',
1954 'id': 233,
1955 'caption': '''Parameters for image URL which uses POST''',
1956 'desc': '''Specifies the parameters used when doing image search with POST. It consists of comma-separated name/value pairs. If a value is a template parameter, like {imageThumbnail} in above example, it will be replaced with real image thumbnail data.
1957
1958 This policy is optional. If not set, image search request will be sent using the GET method.
1959
1960 This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
1961 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001962 ],
1963 },
1964 {
1965 # TODO(joaodasilva): Flag these policies with 'can_be_recommended'
1966 # after fixing http://crbug.com/106682
1967 'name': 'ContentSettings',
1968 'type': 'group',
1969 'caption': '''Content Settings''',
1970 'desc': '''Content Settings allow you to specify how contents of a specific type (for example Cookies, Images or JavaScript) is handled.''',
1971 'policies': [
1972 {
1973 'name': 'DefaultCookiesSetting',
1974 'type': 'int-enum',
1975 'schema': {
1976 'type': 'integer',
1977 'enum': [ 1, 2, 4 ],
1978 },
1979 'items': [
1980 {
1981 'name': 'AllowCookies',
1982 'value': 1,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001983 'caption': '''Allow all sites to set local data''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001984 },
1985 {
1986 'name': 'BlockCookies',
1987 'value': 2,
1988 'caption': '''Do not allow any site to set local data''',
1989 },
1990 {
1991 'name': 'SessionOnly',
1992 'value': 4,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001993 'caption': '''Keep cookies for the duration of the session''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001994 },
1995 ],
Ben Murdoch558790d2013-07-30 15:19:42 +01001996 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00001997 'features': {
1998 'dynamic_refresh': True,
1999 'per_profile': True,
2000 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002001 'example_value': 1,
2002 'id': 48,
2003 'caption': '''Default cookies setting''',
2004 'desc': '''Allows you to set whether websites are allowed to set local data. Setting local data can be either allowed for all websites or denied for all websites.
2005
2006 If this policy is left not set, 'AllowCookies' will be used and the user will be able to change it.''',
2007 },
2008 {
2009 'name': 'DefaultImagesSetting',
2010 'type': 'int-enum',
2011 'schema': {
2012 'type': 'integer',
2013 'enum': [ 1, 2 ],
2014 },
2015 'items': [
2016 {
2017 'name': 'AllowImages',
2018 'value': 1,
2019 'caption': '''Allow all sites to show all images''',
2020 },
2021 {
2022 'name': 'BlockImages',
2023 'value': 2,
2024 'caption': '''Do not allow any site to show images''',
2025 },
2026 ],
Ben Murdoch558790d2013-07-30 15:19:42 +01002027 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002028 'features': {
2029 'dynamic_refresh': True,
2030 'per_profile': True,
2031 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002032 'example_value': 1,
2033 'id': 49,
2034 'caption': '''Default images setting''',
2035 'desc': '''Allows you to set whether websites are allowed to display images. Displaying images can be either allowed for all websites or denied for all websites.
2036
2037 If this policy is left not set, 'AllowImages' will be used and the user will be able to change it.''',
2038 },
2039 {
2040 'name': 'DefaultJavaScriptSetting',
2041 'type': 'int-enum',
2042 'schema': {
2043 'type': 'integer',
2044 'enum': [ 1, 2 ],
2045 },
2046 'items': [
2047 {
2048 'name': 'AllowJavaScript',
2049 'value': 1,
2050 'caption': '''Allow all sites to run JavaScript''',
2051 },
2052 {
2053 'name': 'BlockJavaScript',
2054 'value': 2,
2055 'caption': '''Do not allow any site to run JavaScript''',
2056 },
2057 ],
Ben Murdoch558790d2013-07-30 15:19:42 +01002058 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002059 'features': {
2060 'dynamic_refresh': True,
2061 'per_profile': True,
2062 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002063 'example_value': 1,
2064 'id': 50,
2065 'caption': '''Default JavaScript setting''',
2066 'desc': '''Allows you to set whether websites are allowed to run JavaScript. Running JavaScript can be either allowed for all websites or denied for all websites.
2067
2068 If this policy is left not set, 'AllowJavaScript' will be used and the user will be able to change it.''',
2069 },
2070 {
2071 'name': 'DefaultPluginsSetting',
2072 'type': 'int-enum',
2073 'schema': {
2074 'type': 'integer',
2075 'enum': [ 1, 2, 3 ],
2076 },
2077 'items': [
2078 {
2079 'name': 'AllowPlugins',
2080 'value': 1,
2081 'caption': '''Allow all sites to automatically run plugins''',
2082 },
2083 {
2084 'name': 'BlockPlugins',
2085 'value': 2,
2086 'caption': '''Block all plugins''',
2087 },
2088 {
2089 'name': 'ClickToPlay',
2090 'value': 3,
2091 'caption': '''Click to play''',
2092 },
2093 ],
2094 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002095 'features': {
2096 'dynamic_refresh': True,
2097 'per_profile': True,
2098 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002099 'example_value': 1,
2100 'id': 51,
2101 'caption': '''Default plugins setting''',
2102 'desc': '''Allows you to set whether websites are allowed to automatically run plugins. Automatically running plugins can be either allowed for all websites or denied for all websites.
2103
2104 Click to play allows plugins to run but the user must click them to start their execution.
2105
2106 If this policy is left not set, 'AllowPlugins' will be used and the user will be able to change it.''',
2107 },
2108 {
2109 'name': 'DefaultPopupsSetting',
2110 'type': 'int-enum',
2111 'schema': {
2112 'type': 'integer',
2113 'enum': [ 1, 2 ],
2114 },
2115 'items': [
2116 {
2117 'name': 'AllowPopups',
2118 'value': 1,
2119 'caption': '''Allow all sites to show pop-ups''',
2120 },
2121 {
2122 'name': 'BlockPopups',
2123 'value': 2,
2124 'caption': '''Do not allow any site to show popups''',
2125 },
2126 ],
2127 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002128 'features': {
2129 'dynamic_refresh': True,
2130 'per_profile': True,
2131 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002132 'example_value': 1,
2133 'id': 52,
2134 'caption': '''Default popups setting''',
2135 'desc': '''Allows you to set whether websites are allowed to show pop-ups. Showing popups can be either allowed for all websites or denied for all websites.
2136
2137 If this policy is left not set, 'BlockPopups' will be used and the user will be able to change it.''',
2138 },
2139 {
2140 'name': 'DefaultNotificationsSetting',
2141 'type': 'int-enum',
2142 'schema': {
2143 'type': 'integer',
2144 'enum': [ 1, 2, 3 ],
2145 },
2146 'items': [
2147 {
2148 'name': 'AllowNotifications',
2149 'value': 1,
2150 'caption': '''Allow sites to show desktop notifications''',
2151 },
2152 {
2153 'name': 'BlockNotifications',
2154 'value': 2,
2155 'caption': '''Do not allow any site to show desktop notifications''',
2156 },
2157 {
2158 'name': 'AskNotifications',
2159 'value': 3,
2160 'caption': '''Ask every time a site wants to show desktop notifications''',
2161 },
2162 ],
2163 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002164 'features': {
2165 'dynamic_refresh': True,
2166 'per_profile': True,
2167 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002168 'example_value': 2,
2169 'id': 53,
2170 'caption': '''Default notification setting''',
2171 'desc': '''Allows you to set whether websites are allowed to display desktop notifications. Displaying desktop notifications can be allowed by default, denied by default or the user can be asked every time a website wants to show desktop notifications.
2172
2173 If this policy is left not set, 'AskNotifications' will be used and the user will be able to change it.''',
2174 },
2175 {
2176 'name': 'DefaultGeolocationSetting',
2177 'type': 'int-enum',
2178 'schema': {
2179 'type': 'integer',
2180 'enum': [ 1, 2, 3 ],
2181 },
2182 'items': [
2183 {
2184 'name': 'AllowGeolocation',
2185 'value': 1,
2186 'caption': '''Allow sites to track the users' physical location''',
2187 },
2188 {
2189 'name': 'BlockGeolocation',
2190 'value': 2,
2191 'caption': '''Do not allow any site to track the users' physical location''',
2192 },
2193 {
2194 'name': 'AskGeolocation',
2195 'value': 3,
2196 'caption': '''Ask whenever a site wants to track the users' physical location''',
2197 },
2198 ],
Ben Murdoch558790d2013-07-30 15:19:42 +01002199 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002200 'features': {
2201 'dynamic_refresh': True,
2202 'per_profile': True,
2203 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002204 'example_value': 0,
2205 'id': 54,
2206 'caption': '''Default geolocation setting''',
2207 'desc': '''Allows you to set whether websites are allowed to track the users' physical location. Tracking the users' physical location can be allowed by default, denied by default or the user can be asked every time a website requests the physical location.
2208
2209 If this policy is left not set, 'AskGeolocation' will be used and the user will be able to change it.''',
2210 },
2211 {
2212 'name': 'DefaultMediaStreamSetting',
2213 'type': 'int-enum',
2214 'schema': {
2215 'type': 'integer',
2216 'enum': [ 2, 3 ],
2217 },
2218 'items': [
2219 {
2220 'name': 'BlockAccess',
2221 'value': 2,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002222 'caption': '''Do not allow any site to access the camera and microphone''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002223 },
2224 {
2225 'name': 'PromptOnAccess',
2226 'value': 3,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002227 'caption': '''Ask every time a site wants to access the camera and/or microphone''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002228 },
2229 ],
2230 'supported_on': ['chrome.*:22-', 'chrome_os:0.22-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002231 'features': {
2232 'dynamic_refresh': True,
2233 'per_profile': True,
2234 },
2235 'deprecated': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002236 'example_value': 2,
2237 'id': 149,
2238 'caption': '''Default mediastream setting''',
2239 'desc': '''Allows you to set whether websites are allowed to get access to media capture devices. Access to media capture devices can be allowed by default, or the user can be asked every time a website wants to get access to media capture devices.
2240
2241 If this policy is left not set, 'PromptOnAccess' will be used and the user will be able to change it.''',
2242 },
2243 {
2244 'name': 'AutoSelectCertificateForUrls',
2245 'type': 'list',
2246 'schema': {
2247 'type': 'array',
2248 'items': { 'type': 'string' },
2249 },
2250 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002251 'features': {
2252 'dynamic_refresh': True,
2253 'per_profile': True,
2254 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002255 'example_value': ["{\\\"pattern\\\":\\\"https://www.example.com\\\",\\\"filter\\\":{\\\"ISSUER\\\":{\\\"CN\\\":\\\"certificate issuer name\\\"}}}"],
2256 'id': 102,
2257 'caption': '''Automatically select client certificates for these sites''',
2258 'desc': '''Allows you to specify a list of url patterns that specify sites for which <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> should automatically select a client certificates, if the site requests a certificate.
2259
2260 If this policy is left not set no auto-selection will be done for any site.''',
2261 },
2262 {
2263 'name': 'CookiesAllowedForUrls',
2264 'type': 'list',
2265 'schema': {
2266 'type': 'array',
2267 'items': { 'type': 'string' },
2268 },
Ben Murdoch558790d2013-07-30 15:19:42 +01002269 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002270 'features': {
2271 'dynamic_refresh': True,
2272 'per_profile': True,
2273 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002274 'example_value': ['http://www.example.com', '[*.]example.edu'],
2275 'id': 77,
2276 'caption': '''Allow cookies on these sites''',
2277 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set cookies.
2278
2279 If this policy is left not set the global default value will be used for all sites either from the 'DefaultCookiesSetting' policy if it is set, or the user's personal configuration otherwise.''',
2280 },
2281 {
2282 'name': 'CookiesBlockedForUrls',
2283 'type': 'list',
2284 'schema': {
2285 'type': 'array',
2286 'items': { 'type': 'string' },
2287 },
Ben Murdoch558790d2013-07-30 15:19:42 +01002288 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002289 'features': {
2290 'dynamic_refresh': True,
2291 'per_profile': True,
2292 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002293 'example_value': ['http://www.example.com', '[*.]example.edu'],
2294 'id': 67,
2295 'caption': '''Block cookies on these sites''',
2296 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to set cookies.
2297
2298 If this policy is left not set the global default value will be used for all sites either from the 'DefaultCookiesSetting' policy if it is set, or the user's personal configuration otherwise.''',
2299 },
2300 {
2301 'name': 'CookiesSessionOnlyForUrls',
2302 'type': 'list',
2303 'schema': {
2304 'type': 'array',
2305 'items': { 'type': 'string' },
2306 },
Ben Murdoch558790d2013-07-30 15:19:42 +01002307 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002308 'features': {
2309 'dynamic_refresh': True,
2310 'per_profile': True,
2311 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002312 'example_value': ['http://www.example.com', '[*.]example.edu'],
2313 'id': 68,
2314 'caption': '''Allow session only cookies on these sites''',
2315 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set session only cookies.
2316
2317 If this policy is left not set the global default value will be used for all sites either from the 'DefaultCookiesSetting' policy if it is set, or the user's personal configuration otherwise.
2318
2319 If the "RestoreOnStartup" policy is set to restore URLs from previous sessions this policy will not be respectred and cookies will be stored permanently for those sites.''',
2320 },
2321 {
2322 'name': 'ImagesAllowedForUrls',
2323 'type': 'list',
2324 'schema': {
2325 'type': 'array',
2326 'items': { 'type': 'string' },
2327 },
Ben Murdoch558790d2013-07-30 15:19:42 +01002328 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002329 'features': {
2330 'dynamic_refresh': True,
2331 'per_profile': True,
2332 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002333 'example_value': ['http://www.example.com', '[*.]example.edu'],
2334 'id': 69,
2335 'caption': '''Allow images on these sites''',
2336 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to display images.
2337
2338 If this policy is left not set the global default value will be used for all sites either from the 'DefaultImagesSetting' policy if it is set, or the user's personal configuration otherwise.''',
2339 },
2340 {
2341 'name': 'ImagesBlockedForUrls',
2342 'type': 'list',
2343 'schema': {
2344 'type': 'array',
2345 'items': { 'type': 'string' },
2346 },
Ben Murdoch558790d2013-07-30 15:19:42 +01002347 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002348 'features': {
2349 'dynamic_refresh': True,
2350 'per_profile': True,
2351 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002352 'example_value': ['http://www.example.com', '[*.]example.edu'],
2353 'id': 70,
2354 'caption': '''Block images on these sites''',
2355 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to display images.
2356
2357 If this policy is left not set the global default value will be used for all sites either from the 'DefaultImagesSetting' policy if it is set, or the user's personal configuration otherwise.''',
2358 },
2359 {
2360 'name': 'JavaScriptAllowedForUrls',
2361 'type': 'list',
2362 'schema': {
2363 'type': 'array',
2364 'items': { 'type': 'string' },
2365 },
Ben Murdoch558790d2013-07-30 15:19:42 +01002366 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002367 'features': {
2368 'dynamic_refresh': True,
2369 'per_profile': True,
2370 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002371 'example_value': ['http://www.example.com', '[*.]example.edu'],
2372 'id': 71,
2373 'caption': '''Allow JavaScript on these sites''',
2374 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to run JavaScript.
2375
2376 If this policy is left not set the global default value will be used for all sites either from the 'DefaultJavaScriptSetting' policy if it is set, or the user's personal configuration otherwise.''',
2377 },
2378 {
2379 'name': 'JavaScriptBlockedForUrls',
2380 'type': 'list',
2381 'schema': {
2382 'type': 'array',
2383 'items': { 'type': 'string' },
2384 },
Ben Murdoch558790d2013-07-30 15:19:42 +01002385 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002386 'features': {
2387 'dynamic_refresh': True,
2388 'per_profile': True,
2389 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002390 'example_value': ['http://www.example.com', '[*.]example.edu'],
2391 'id': 72,
2392 'caption': '''Block JavaScript on these sites''',
2393 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to run JavaScript.
2394
2395 If this policy is left not set the global default value will be used for all sites either from the 'DefaultJavaScriptSetting' policy if it is set, or the user's personal configuration otherwise.''',
2396 },
2397 {
2398 'name': 'PluginsAllowedForUrls',
2399 'type': 'list',
2400 'schema': {
2401 'type': 'array',
2402 'items': { 'type': 'string' },
2403 },
2404 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002405 'features': {
2406 'dynamic_refresh': True,
2407 'per_profile': True,
2408 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002409 'example_value': ['http://www.example.com', '[*.]example.edu'],
2410 'id': 73,
2411 'caption': '''Allow plugins on these sites''',
2412 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to run plugins.
2413
2414 If this policy is left not set the global default value will be used for all sites either from the 'DefaultPluginsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2415 },
2416 {
2417 'name': 'PluginsBlockedForUrls',
2418 'type': 'list',
2419 'schema': {
2420 'type': 'array',
2421 'items': { 'type': 'string' },
2422 },
2423 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002424 'features': {
2425 'dynamic_refresh': True,
2426 'per_profile': True,
2427 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002428 'example_value': ['http://www.example.com', '[*.]example.edu'],
2429 'id': 74,
2430 'caption': '''Block plugins on these sites''',
2431 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to run plugins.
2432
2433 If this policy is left not set the global default value will be used for all sites either from the 'DefaultPluginsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2434 },
2435 {
2436 'name': 'PopupsAllowedForUrls',
2437 'type': 'list',
2438 'schema': {
2439 'type': 'array',
2440 'items': { 'type': 'string' },
2441 },
2442 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002443 'features': {
2444 'dynamic_refresh': True,
2445 'per_profile': True,
2446 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002447 'example_value': ['http://www.example.com', '[*.]example.edu'],
2448 'id': 75,
2449 'caption': '''Allow popups on these sites''',
2450 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to open popups.
2451
2452 If this policy is left not set the global default value will be used for all sites either from the 'DefaultPopupsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2453 },
2454 {
2455 'name': 'PopupsBlockedForUrls',
2456 'type': 'list',
2457 'schema': {
2458 'type': 'array',
2459 'items': { 'type': 'string' },
2460 },
2461 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002462 'features': {
2463 'dynamic_refresh': True,
2464 'per_profile': True,
2465 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002466 'example_value': ['http://www.example.com', '[*.]example.edu'],
2467 'id': 76,
2468 'caption': '''Block popups on these sites''',
2469 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to open popups.
2470
2471 If this policy is left not set the global default value will be used for all sites either from the 'DefaultPopupsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2472 },
2473 {
2474 'name': 'NotificationsAllowedForUrls',
2475 'type': 'list',
2476 'schema': {
2477 'type': 'array',
2478 'items': { 'type': 'string' },
2479 },
2480 'supported_on': ['chrome.*:16-', 'chrome_os:0.16-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002481 'features': {
2482 'dynamic_refresh': True,
2483 'per_profile': True,
2484 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002485 'example_value': ['http://www.example.com', '[*.]example.edu'],
2486 'id': 105,
2487 'caption': '''Allow notifications on these sites''',
2488 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to display notifications.
2489
2490 If this policy is left not set the global default value will be used for all sites either from the 'DefaultNotificationsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2491 },
2492 {
2493 'name': 'NotificationsBlockedForUrls',
2494 'type': 'list',
2495 'schema': {
2496 'type': 'array',
2497 'items': { 'type': 'string' },
2498 },
2499 'supported_on': ['chrome.*:16-', 'chrome_os:0.16-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002500 'features': {
2501 'dynamic_refresh': True,
2502 'per_profile': True,
2503 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002504 'example_value': ['http://www.example.com', '[*.]example.edu'],
2505 'id': 106,
2506 'caption': '''Block notifications on these sites''',
2507 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to display notifications.
2508
2509 If this policy is left not set the global default value will be used for all sites either from the 'DefaultNotificationsSetting' policy if it is set, or the user's personal configuration otherwise.''',
2510 },
2511 ],
2512 },
2513 {
2514 'name': 'Disable3DAPIs',
2515 'type': 'main',
2516 'schema': { 'type': 'boolean' },
2517 'supported_on': ['chrome.*:9-', 'chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002518 'features': {
2519 'dynamic_refresh': True,
2520 'per_profile': True,
2521 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002522 'example_value': False,
2523 'id': 55,
2524 'caption': '''Disable support for 3D graphics APIs''',
2525 'desc': '''Disable support for 3D graphics APIs.
2526
2527 Enabling this setting prevents web pages from accessing the graphics processing unit (GPU). Specifically, web pages can not access the WebGL API and plugins can not use the Pepper 3D API.
2528
2529 Disabling this setting or leaving it not set potentially allows web pages to use the WebGL API and plugins to use the Pepper 3D API. The default settings of the browser may still require command line arguments to be passed in order to use these APIs.''',
2530 },
2531 {
2532 'name': 'PolicyRefreshRate',
2533 'type': 'int',
2534 'schema': { 'type': 'integer' },
2535 'supported_on': ['chrome_os:0.11-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002536 'features': {
2537 'dynamic_refresh': True,
2538 'per_profile': True,
2539 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002540 'example_value': 3600000,
2541 'id': 56,
2542 'caption': '''Refresh rate for user policy''',
2543 'desc': '''Specifies the period in milliseconds at which the device management service is queried for user policy information.
2544
2545 Setting this policy overrides the default value of 3 hours. Valid values for this policy are in the range from 1800000 (30 minutes) to 86400000 (1 day). Any values not in this range will be clamped to the respective boundary.
2546
2547 Leaving this policy not set will make <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> use the default value of 3 hours.''',
2548 },
2549 {
Torne (Richard Coles)a36e5922013-08-05 13:57:33 +01002550 'name': 'MaxInvalidationFetchDelay',
2551 'type': 'int',
2552 'schema': { 'type': 'integer' },
2553 'supported_on': ['chrome.*:30-', 'chrome_os:0.30-'],
2554 'features': {
2555 'dynamic_refresh': True,
2556 'per_profile': True,
2557 },
2558 'example_value': 10000,
2559 'id': 228,
2560 'caption': '''Maximum fetch delay after a policy invalidation''',
2561 'desc': '''Specifies the maximum delay in milliseconds between receiving a policy invalidation and fetching the new policy from the device management service.
2562
2563 Setting this policy overrides the default value of 5000 milliseconds. Valid values for this policy are in the range from 1000 (1 second) to 300000 (5 minutes). Any values not in this range will be clamped to the respective boundary.
2564
2565 Leaving this policy not set will make <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> use the default value of 5000 milliseconds.''',
2566 },
2567 {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002568 'name': 'ChromeFrameRendererSettings',
2569 'type': 'group',
2570 'caption': '''Default HTML renderer for <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
2571 'desc': '''Allows you to configure the default HTML renderer when <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> is installed.
2572 The default setting is to allow the host browser do the rendering, but you
2573 can optionally override this and have <ph name="PRODUCT_FRAME_NAME">$3<ex>
2574 Google Chrome Frame</ex></ph> render HTML pages by default.''',
2575 'policies': [
2576 {
2577 'name': 'ChromeFrameRendererSettings',
2578 'type': 'int-enum',
2579 'schema': {
2580 'type': 'integer',
2581 'enum': [ 0, 1 ],
2582 },
2583 'items': [
2584 {
2585 'name': 'RenderInHost',
2586 'value': 0,
2587 'caption': '''Use the host browser by default''',
2588 },
2589 {
2590 'name': 'RenderInChromeFrame',
2591 'value': 1,
2592 'caption': '''Use <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> by default''',
2593 },
2594 ],
2595 'supported_on': ['chrome_frame:8-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002596 'features': {
2597 'dynamic_refresh': False,
2598 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002599 'example_value': 1,
2600 'id': 57,
2601 'caption': '''Default HTML renderer for <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
2602 'desc': '''Allows you to configure the default HTML renderer when <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> is installed.
2603 The default setting used when this policy is left not set is to allow the host browser do the rendering, but you can optionally override this and have <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> render HTML pages by default.''',
2604 },
2605 {
2606 'name': 'RenderInChromeFrameList',
2607 'type': 'list',
2608 'schema': {
2609 'type': 'array',
2610 'items': { 'type': 'string' },
2611 },
2612 'supported_on': ['chrome_frame:8-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002613 'features': {
2614 'dynamic_refresh': False,
2615 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002616 'example_value': ['http://www.example.com', 'http://www.example.edu'],
2617 'id': 58,
2618 'caption': '''Always render the following URL patterns in <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
2619 'desc': '''Customize the list of URL patterns that should always be rendered by <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>.
2620
2621 If this policy is not set the default renderer will be used for all sites as specified by the 'ChromeFrameRendererSettings' policy.
2622
2623 For example patterns see http://www.chromium.org/developers/how-tos/chrome-frame-getting-started.''',
2624 },
2625 {
2626 'name': 'RenderInHostList',
2627 'type': 'list',
2628 'schema': {
2629 'type': 'array',
2630 'items': { 'type': 'string' },
2631 },
2632 'supported_on': ['chrome_frame:8-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002633 'features': {
2634 'dynamic_refresh': False,
2635 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002636 'example_value': ['http://www.example.com', 'http://www.example.edu'],
2637 'id': 59,
2638 'caption': '''Always render the following URL patterns in the host browser''',
2639 'desc': '''Customize the list of URL patterns that should always be rendered by the host browser.
2640
2641 If this policy is not set the default renderer will be used for all sites as specified by the 'ChromeFrameRendererSettings' policy.
2642
2643 For example patterns see http://www.chromium.org/developers/how-tos/chrome-frame-getting-started.''',
2644 },
2645 {
2646 'name': 'AdditionalLaunchParameters',
2647 'type': 'string',
2648 'schema': { 'type': 'string' },
2649 'supported_on': ['chrome_frame:19-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002650 'features': {
2651 'dynamic_refresh': False,
2652 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002653 'example_value': '--enable-media-stream --enable-media-source',
2654 'id': 141,
2655 'caption': '''Additional command line parameters for <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>''',
2656 'desc': '''Allows you to specify additional parameters that are used when <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> launches <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
2657
2658 If this policy is not set the default command line will be used.''',
2659 },
2660 ],
2661 },
2662 {
2663 'name': 'ChromeFrameContentTypes',
2664 'type': 'group',
2665 'caption': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the following content types''',
2666 'desc': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the following content types.''',
2667 'policies': [
2668 {
2669 'name': 'ChromeFrameContentTypes',
2670 'type': 'list',
2671 'schema': {
2672 'type': 'array',
2673 'items': { 'type': 'string' },
2674 },
2675 'supported_on': ['chrome_frame:8-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002676 'features': {
2677 'dynamic_refresh': False,
2678 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002679 'example_value': ['text/xml', 'application/xml'],
2680 'id': 60,
2681 'caption': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the listed content types''',
2682 'desc': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the listed content types.
2683
2684 If this policy is not set the default renderer will be used for all sites as specified by the 'ChromeFrameRendererSettings' policy.''',
2685 },
2686 ],
2687 },
2688 {
2689 'name': 'ChromeOsLockOnIdleSuspend',
2690 'type': 'main',
2691 'schema': { 'type': 'boolean' },
2692 'supported_on': ['chrome_os:0.9-'],
2693 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002694 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002695 'dynamic_refresh': True,
2696 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002697 },
2698 'example_value': True,
2699 'id': 61,
2700 'caption': '''Enable lock when the device become idle or suspended''',
2701 'desc': '''Enable lock when <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices become idle or suspended.
2702
2703 If you enable this setting, users will be asked for a password to unlock the device from sleep.
2704
2705 If you disable this setting, users will not be asked for a password to unlock the device from sleep.
2706
2707 If you enable or disable this setting, users cannot change or override it.
2708
2709 If the policy is left not set the user can choose whether he wants to be asked for password to unlock the device or not.''',
2710 },
2711 {
2712 'name': 'InstantEnabled',
2713 'type': 'main',
2714 'schema': { 'type': 'boolean' },
Torne (Richard Coles)b2df76e2013-05-13 16:52:09 +01002715 'supported_on': ['chrome.*:11-28', 'chrome_os:0.11-0.28'],
2716 'deprecated': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002717 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002718 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002719 'dynamic_refresh': True,
2720 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002721 },
2722 'example_value': True,
2723 'id': 62,
2724 'caption': '''Enable Instant''',
2725 'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s Instant feature and prevents users from changing this setting.
2726
2727 If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> Instant is enabled.
2728
2729 If you disable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> Instant is disabled.
2730
2731 If you enable or disable this setting, users cannot change or override this setting.
2732
Torne (Richard Coles)b2df76e2013-05-13 16:52:09 +01002733 If this setting is left not set the user can decide to use this function or not.
2734
2735 This setting has been removed from Chrome 29 and higher versions.''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002736 },
2737 {
2738 'name': 'TranslateEnabled',
2739 'type': 'main',
2740 'schema': { 'type': 'boolean' },
Ben Murdoch558790d2013-07-30 15:19:42 +01002741 'supported_on': ['chrome.*:12-', 'chrome_os:0.12-', 'android:30-'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002742 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002743 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002744 'dynamic_refresh': True,
2745 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002746 },
2747 'example_value': True,
2748 'id': 80,
2749 'caption': '''Enable Translate''',
2750 'desc': '''Enables the integrated Google Translate service on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
2751
2752 If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will show an integrated toolbar offering to translate the page for the user, when appropriate.
2753
2754 If you disable this setting, users will never see the translation bar.
2755
2756 If you enable or disable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
2757
2758 If this setting is left not set the user can decide to use this function or not.''',
2759 },
2760 {
2761 'name': 'AllowOutdatedPlugins',
2762 'type': 'main',
2763 'schema': { 'type': 'boolean' },
2764 'supported_on': ['chrome.*:12-', 'chrome_os:0.12-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002765 'features': {
2766 'dynamic_refresh': True,
2767 'per_profile': True,
2768 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002769 'example_value': True,
2770 'id': 81,
2771 'caption': '''Allow running plugins that are outdated''',
2772 'desc': '''Allows <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to run plugins that are outdated.
2773
2774 If you enable this setting, outdated plugins are used as normal plugins.
2775
2776 If you disable this setting, outdated plugins will not be used and users will not be asked for permission to run them.
2777
2778 If this setting is not set, users will be asked for permission to run outdated plugins.''',
2779 },
2780 {
2781 'name': 'AlwaysAuthorizePlugins',
2782 'type': 'main',
2783 'schema': { 'type': 'boolean' },
2784 'supported_on': ['chrome.*:13-', 'chrome_os:0.13-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002785 'features': {
2786 'dynamic_refresh': True,
2787 'per_profile': True,
2788 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002789 'example_value': True,
2790 'id': 86,
2791 'caption': '''Always runs plugins that require authorization''',
2792 'desc': '''Allows <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to run plugins that require authorization.
2793
2794 If you enable this setting, plugins that are not outdated always run.
2795
2796 If this setting is disabled or not set, users will be asked for permission to run plugins that require authorization. These are plugins that can compromise security.''',
2797 },
2798 {
2799 'name': 'BookmarkBarEnabled',
2800 'type': 'main',
2801 'schema': { 'type': 'boolean' },
2802 'supported_on': ['chrome.*:12-', 'chrome_os:0.12-'],
2803 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002804 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002805 'dynamic_refresh': True,
2806 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002807 },
2808 'example_value': True,
2809 'id': 82,
2810 'caption': '''Enable Bookmark Bar''',
2811 'desc': '''Enables the bookmark bar on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
2812
2813 If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will show a bookmark bar.
2814
2815 If you disable this setting, users will never see the bookmark bar.
2816
2817 If you enable or disable this setting, users cannot change or override it in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
2818
2819 If this setting is left not set the user can decide to use this function or not.''',
2820 },
2821 {
2822 'name': 'EditBookmarksEnabled',
2823 'type': 'main',
2824 'schema': { 'type': 'boolean' },
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01002825 'supported_on': ['chrome.*:12-', 'chrome_os:0.12-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002826 'features': {
2827 'dynamic_refresh': True,
2828 'per_profile': True,
2829 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002830 'example_value': False,
2831 'id': 83,
2832 'caption': '''Enables or disables bookmark editing''',
2833 'desc': '''Enables or disables editing bookmarks in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
2834
2835 If you enable this setting, bookmarks can be added, removed or modified. This is the default also when this policy is not set.
2836
2837 If you disable this setting, bookmarks can not be added, removed or modified. Existing bookmarks are still available.''',
2838 },
2839 {
2840 'name': 'AllowFileSelectionDialogs',
2841 'type': 'main',
2842 'schema': { 'type': 'boolean' },
2843 'supported_on': ['chrome.*:12-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002844 'features': {
2845 'dynamic_refresh': True,
2846 'per_profile': False,
2847 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002848 'example_value': True,
2849 'id': 84,
2850 'caption': '''Allow invocation of file selection dialogs''',
2851 'desc': '''Allows access to local files on the machine by allowing <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to display file selection dialogs.
2852
2853 If you enable this setting, users can open file selection dialogs as normal.
2854
2855 If you disable this setting, whenever the user performs an action which would provoke a file selection dialog (like importing bookmarks, uploading files, saving links, etc.) a message is displayed instead and the user is assumed to have clicked Cancel on the file selection dialog.
2856
2857 If this setting is not set, users can open file selection dialogs as normal.''',
2858 },
2859 {
2860 'name': 'GCFUserDataDir',
2861 'type': 'string',
2862 'schema': { 'type': 'string' },
2863 'supported_on': ['chrome_frame:12-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002864 'features': {
2865 'dynamic_refresh': False,
2866 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002867 'example_value': '${user_home}/Chrome Frame',
2868 'id': 87,
2869 'caption': '''Set <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> user data directory''',
2870 'desc': '''Configures the directory that <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> will use for storing user data.
2871
2872 If you set this policy, <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> will use the provided directory.
2873
2874 See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
2875
2876 If this setting is left not set the default profile directory will be used.''',
2877 'label': '''Set user data directory''',
2878 },
2879 {
2880 'name': 'DevicePolicyRefreshRate',
2881 'type': 'int',
2882 'schema': { 'type': 'integer' },
2883 'supported_on': ['chrome_os:0.11-'],
2884 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002885 'features': {
2886 'dynamic_refresh': True,
2887 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002888 'example_value': 3600000,
2889 'id': 90,
2890 'caption': '''Refresh rate for Device Policy''',
2891 'desc': '''Specifies the period in milliseconds at which the device management service is queried for device policy information.
2892
2893 Setting this policy overrides the default value of 3 hours. Valid values for this policy are in the range from 1800000 (30 minutes) to 86400000 (1 day). Any values not in this range will be clamped to the respective boundary.
2894
2895 Leaving this policy not set will make <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> use the default value of 3 hours.''',
2896 },
2897 {
2898 'name': 'ImportBookmarks',
2899 'type': 'main',
2900 'schema': { 'type': 'boolean' },
2901 'supported_on': ['chrome.*:15-'],
2902 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002903 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002904 'dynamic_refresh': True,
2905 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002906 },
2907 'example_value': True,
2908 'id': 97,
2909 'caption': '''Import bookmarks from default browser on first run''',
2910 'desc': '''This policy forces bookmarks to be imported from the current default browser if enabled. If enabled, this policy also affects the import dialog.
2911
2912 If disabled, no bookmarks are imported.
2913
2914 If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
2915 'label': '''Import bookmarks from default browser on first run''',
2916 },
2917 {
2918 'name': 'ImportHistory',
2919 'type': 'main',
2920 'schema': { 'type': 'boolean' },
2921 'supported_on': ['chrome.*:15-'],
2922 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002923 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002924 'dynamic_refresh': True,
2925 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002926 },
2927 'example_value': True,
2928 'id': 98,
2929 'caption': '''Import browsing history from default browser on first run''',
2930 'desc': '''This policy forces the browsing history to be imported from the current default browser if enabled. If enabled, this policy also affects the import dialog.
2931
2932 If disabled, no browsing history is imported.
2933
2934 If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
2935 'label': '''Import browsing history from default browser on first run''',
2936 },
2937 {
2938 'name': 'ImportHomepage',
2939 'type': 'main',
2940 'schema': { 'type': 'boolean' },
2941 'supported_on': ['chrome.*:15-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002942 'features': {
2943 'dynamic_refresh': True,
2944 'per_profile': True,
2945 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002946 'example_value': True,
2947 'id': 99,
2948 'caption': '''Import of homepage from default browser on first run''',
2949 'desc': '''This policy forces the home page to be imported from the current default browser if enabled.
2950
2951 If disabled, the home page is not imported.
2952
2953 If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
2954 'label': '''Import of homepage from default browser on first run''',
2955 },
2956 {
2957 'name': 'ImportSearchEngine',
2958 'type': 'main',
2959 'schema': { 'type': 'boolean' },
2960 'supported_on': ['chrome.*:15-'],
2961 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002962 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002963 'dynamic_refresh': True,
2964 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002965 },
2966 'example_value': True,
2967 'id': 100,
2968 'caption': '''Import search engines from default browser on first run''',
2969 'desc': '''This policy forces search engines to be imported from the current default browser if enabled. If enabled, this policy also affects the import dialog.
2970
2971 If disabled, the default search engine is not imported.
2972
2973 If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
2974 'label': '''Import search engines from default browser on first run''',
2975 },
2976 {
2977 'name': 'ImportSavedPasswords',
2978 'type': 'main',
2979 'schema': { 'type': 'boolean' },
2980 'supported_on': ['chrome.*:15-'],
2981 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002982 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00002983 'dynamic_refresh': True,
2984 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00002985 },
2986 'example_value': True,
2987 'id': 101,
2988 'caption': '''Import saved passwords from default browser on first run''',
2989 'desc': '''This policy forces the saved passwords to be imported from the previous default browser if enabled. If enabled, this policy also affects the import dialog.
2990
2991 If disabled, the saved passwords are not imported.
2992
2993 If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
2994 'label': '''Import saved passwords from default browser on first run''',
2995 },
2996 {
2997 'name': 'MaxConnectionsPerProxy',
2998 'type': 'int',
2999 'schema': { 'type': 'integer' },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003000 'supported_on': ['chrome.*:14-'],
3001 'features': {
3002 'dynamic_refresh': False,
3003 'per_profile': False,
3004 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003005 'example_value': 32,
3006 'id': 92,
3007 'caption': '''Maximal number of concurrent connections to the proxy server''',
3008 'desc': '''Specifies the maximal number of simultaneous connections to the proxy server.
3009
3010 Some proxy servers can not handle high number of concurrent connections per client and this can be solved by setting this policy to a lower value.
3011
3012 The value of this policy should be lower than 100 and higher than 6 and the default value is 32.
3013
3014 Some web apps are known to consume many connections with hanging GETs, so lowering below 32 may lead to browser networking hangs if too many such web apps are open. Lower below the default at your own risk.
3015
3016 If this policy is left not set the default value will be used which is 32.''',
3017 },
3018 {
3019 'name': 'HideWebStorePromo',
3020 'type': 'main',
3021 'schema': { 'type': 'boolean' },
Torne (Richard Coles)b2df76e2013-05-13 16:52:09 +01003022 'supported_on': ['chrome.*:15-21', 'chrome_os:0.15-0.21'],
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003023 'deprecated': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003024 'features': {
3025 'dynamic_refresh': False,
3026 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003027 'example_value': False,
3028 'id': 96,
3029 'caption': '''Prevent app promotions from appearing on the new tab page''',
3030 'desc': '''When set to True, promotions for Chrome Web Store apps will not appear on the new tab page.
3031
3032 Setting this option to False or leaving it not set will make the promotions for Chrome Web Store apps appear on the new tab page''',
3033 },
3034 {
3035 'name': 'URLBlacklist',
3036 'type': 'list',
3037 'schema': {
3038 'type': 'array',
3039 'items': { 'type': 'string' },
3040 },
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01003041 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003042 'features': {
3043 'dynamic_refresh': True,
3044 'per_profile': True,
3045 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003046 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/bad_path', 'http://server:8080/path', '.exact.hostname.com', '*'],
3047 'id': 103,
3048 'caption': '''Block access to a list of URLs''',
3049 'desc': '''Blocks access to the listed URLs.
3050
3051 This policy prevents the user from loading web pages from blacklisted URLs.
3052
3053 A URL has the format 'scheme://host:port/path'.
3054 The optional scheme can be http, https or ftp. Only this scheme will be blocked; if none is specified, all schemes are blocked.
3055 The host can be a hostname or an IP address. Subdomains of a hostname will also be blocked. To prevent blocking subdomains, include a '.' before the hostname. The special hostname '*' will block all domains.
3056 The optional port is a valid port number from 1 to 65535. If none is specified, all ports are blocked.
3057 If the optional path is specified, only paths with that prefix will be blocked.
3058
3059 Exceptions can be defined in the URL whitelist policy. These policies are limited to 1000 entries; subsequent entries will be ignored.
3060
3061 If this policy is not set no URL will be blacklisted in the browser.''',
3062 },
3063 {
3064 'name': 'URLWhitelist',
3065 'type': 'list',
3066 'schema': {
3067 'type': 'array',
3068 'items': { 'type': 'string' },
3069 },
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01003070 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003071 'features': {
3072 'dynamic_refresh': True,
3073 'per_profile': True,
3074 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003075 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/bad_path', 'http://server:8080/path', '.exact.hostname.com'],
3076 'id': 104,
3077 'caption': '''Allows access to a list of URLs''',
3078 'desc': '''Allows access to the listed URLs, as exceptions to the URL blacklist.
3079
3080 See the description of the URL blacklist policy for the format of entries of this list.
3081
3082 This policy can be used to open exceptions to restrictive blacklists. For example, '*' can be blacklisted to block all requests, and this policy can be used to allow access to a limited list of URLs. It can be used to open exceptions to certain schemes, subdomains of other domains, ports, or specific paths.
3083
3084 The most specific filter will determine if a URL is blocked or allowed. The whitelist takes precedence over the blacklist.
3085
3086 This policy is limited to 1000 entries; subsequent entries will be ignored.
3087
3088 If this policy is not set there will be no exceptions to the blacklist from the 'URLBlacklist' policy.''',
3089 },
3090 {
3091 'name': 'OpenNetworkConfiguration',
3092 'type': 'string',
3093 'schema': { 'type': 'string' },
3094 'supported_on': ['chrome_os:0.16-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003095 'features': {
3096 'dynamic_refresh': True,
3097 'per_profile': True,
3098 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003099 'example_value': '{ "NetworkConfigurations": [ { "GUID": "{4b224dfd-6849-7a63-5e394343244ae9c9}", "Name": "my WiFi", "Type": "WiFi", "WiFi": { "SSID": "my WiFi", "HiddenSSID": false, "Security": "None", "AutoConnect": true } } ] }',
3100 'id': 107,
3101 'caption': '''User-level network configuration''',
3102 'desc': '''Allows pushing network configuration to be applied per-user to a <ph name="PRODUCT_OS_NAME">$2<ex>Chromium OS</ex></ph> device. The network configuration is a JSON-formatted string as defined by the Open Network Configuration format described at <ph name="ONC_SPEC_URL">https://sites.google.com/a/chromium.org/dev/chromium-os/chromiumos-design-docs/open-network-configuration</ph>''',
3103 },
3104 {
3105 'name': 'DeviceOpenNetworkConfiguration',
3106 'type': 'string',
3107 'schema': { 'type': 'string' },
3108 'supported_on': ['chrome_os:0.16-'],
3109 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003110 'features': {
3111 'dynamic_refresh': True,
3112 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003113 'example_value': '{ "NetworkConfigurations": [ { "GUID": "{4b224dfd-6849-7a63-5e394343244ae9c9}", "Name": "my WiFi", "Type": "WiFi", "WiFi": { "SSID": "my WiFi", "HiddenSSID": false, "Security": "None", "AutoConnect": true } } ] }',
3114 'id': 108,
3115 'caption': '''Device-level network configuration''',
3116 'desc': '''Allows pushing network configuration to be applied for all users of a <ph name="PRODUCT_OS_NAME">$2<ex>Chromium OS</ex></ph> device. The network configuration is a JSON-formatted string as defined by the Open Network Configuration format described at <ph name="ONC_SPEC_URL">https://sites.google.com/a/chromium.org/dev/chromium-os/chromiumos-design-docs/open-network-configuration</ph>''',
3117 },
3118 {
3119 'name': 'CloudPrintSubmitEnabled',
3120 'type': 'main',
3121 'schema': { 'type': 'boolean' },
3122 'supported_on': ['chrome.*:17-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003123 'features': {
3124 'dynamic_refresh': True,
3125 'per_profile': True,
3126 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003127 'example_value': True,
3128 'id': 109,
3129 'caption': '''Enable submission of documents to <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph>''',
3130 'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to submit documents to <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> for printing. NOTE: This only affects <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> support in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. It does not prevent users from submitting print jobs on web sites.
3131
3132 If this setting is enabled or not configured, users can print to <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> from the <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> print dialog.
3133
3134 If this setting is disabled, users cannot print to <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> from the <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> print dialog''',
3135 },
3136 {
3137 'name': 'EnterpriseWebStoreURL',
3138 'type': 'string',
3139 'schema': { 'type': 'string' },
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01003140 'supported_on': ['chrome.*:17-28', 'chrome_os:0.17-0.28'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003141 'features': {
3142 'dynamic_refresh': True,
3143 'per_profile': True,
3144 },
3145 'deprecated': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003146 'example_value': 'http://company-intranet/chromeapps',
3147 'id': 112,
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +01003148 'caption': '''Enterprise web store URL (deprecated)''',
3149 'desc': '''This setting has been retired as of <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> version 29. The recommended way to set up organization-hosted extension/app collections is to include the site hosting the CRX packages in ExtensionInstallSources and put direct download links to the packages on a web page. A launcher for that web page can be created using the ExtensionInstallForcelist policy.''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003150 },
3151 {
3152 'name': 'EnterpriseWebStoreName',
3153 'type': 'string',
3154 'schema': { 'type': 'string' },
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01003155 'supported_on': ['chrome.*:17-28', 'chrome_os:0.17-0.28'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003156 'features': {
3157 'dynamic_refresh': True,
3158 'per_profile': True,
3159 },
3160 'deprecated': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003161 'example_value': 'WidgCo Chrome Apps',
3162 'id': 113,
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +01003163 'caption': '''Enterprise web store name (deprecated)''',
3164 'desc': '''This setting has been retired as of <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> version 29. The recommended way to set up organization-hosted extension/app collections is to include the site hosting the CRX packages in ExtensionInstallSources and put direct download links to the packages on a web page. A launcher for that web page can be created using the ExtensionInstallForcelist policy.''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003165 },
3166 {
3167 'name': 'EnableOriginBoundCerts',
3168 'type': 'main',
3169 'schema': { 'type': 'boolean' },
3170 'supported_on': ['chrome.*:17-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003171 'features': {
3172 'dynamic_refresh': True,
3173 'per_profile': False,
3174 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003175 'future': True,
3176 'example_value': True,
3177 'id': 114,
3178 'caption': '''Enable TLS domain-bound certificates extension''',
3179 'desc': '''Specifies whether the TLS domain-bound certificates extension should be enabled.
3180
3181 This setting is used to enable the TLS domain-bound certificates extension for testing. This experimental setting will be removed in the future.''',
3182 },
3183 {
3184 'name': 'EnableMemoryInfo',
3185 'type': 'main',
3186 'schema': { 'type': 'boolean' },
3187 'supported_on': ['chrome.*:17-', 'chrome_os:0.18-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003188 'features': {
3189 'dynamic_refresh': True,
3190 'per_profile': True,
3191 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003192 'future': True,
3193 'example_value': False,
3194 'id': 115,
3195 'caption': '''Enable reporting memory info (JS heap size) to page''',
3196 'desc': '''Allows pages to access JavaScript memory usage statistics.
3197
3198 This settings makes the memory statistics from the Developer Tools Profiles panel available to the web page itself.''',
3199 },
3200 {
3201 'name': 'DisablePrintPreview',
3202 'type': 'main',
3203 'schema': { 'type': 'boolean' },
3204 'supported_on': ['chrome.*:18-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003205 'features': {
3206 'dynamic_refresh': False,
3207 'per_profile': True,
3208 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003209 'example_value': False,
3210 'id': 117,
3211 'caption': '''Disable Print Preview''',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003212 'desc': '''Show the system print dialog instead of print preview.
3213
3214 When this setting is enabled, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will open the system print dialog instead of the built-in print preview when a user requests a page to be printed.
3215
3216 If this policy is not set or is set to false, print commands trigger the print preview screen.''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003217 },
3218 {
3219 'name': 'DisableSSLRecordSplitting',
3220 'type': 'main',
3221 'schema': { 'type': 'boolean' },
3222 'supported_on': ['chrome.*:18-', 'chrome_os:0.18-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003223 'features': {
3224 'dynamic_refresh': True,
3225 'per_profile': False,
3226 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003227 'example_value': True,
3228 'id': 118,
3229 'caption': '''Disable SSL record splitting''',
3230 'desc': '''Specifies whether SSL record splitting should be disabled. Record splitting is a workaround for a weakness in SSL 3.0 and TLS 1.0 but can cause compatibility issues with some HTTPS servers and proxies.
3231
3232 If the policy is not set, or is set to false, then record splitting will be used on SSL/TLS connections which use CBC ciphersuites.''',
3233 },
3234 {
3235 'name': 'EnableOnlineRevocationChecks',
3236 'type': 'main',
3237 'schema': { 'type': 'boolean' },
3238 'supported_on': ['chrome.*:19-', 'chrome_os:0.19-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003239 'features': {
3240 'dynamic_refresh': True,
3241 'per_profile': False,
3242 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003243 'example_value': False,
3244 'id': 129,
3245 'caption': '''Whether online OCSP/CRL checks are performed''',
3246 'desc': '''In light of the fact that soft-fail, online revocation checks provide no effective security benefit, they are disabled by default in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> version 19 and later. By setting this policy to true, the previous behaviour is restored and online OCSP/CRL checks will be performed.
3247
3248 If the policy is not set, or is set to false, then Chrome will not perform online revocation checks in Chrome 19 and later.''',
3249 },
3250 {
Ben Murdoch32409262013-08-07 11:04:47 +01003251 'name': 'RequireOnlineRevocationChecksForLocalAnchors',
3252 'type': 'main',
3253 'schema': { 'type': 'boolean' },
3254 'supported_on': ['chrome_os:0.30-', 'chrome.linux:30-', 'chrome.win:30-'],
3255 'features': {
3256 'dynamic_refresh': True,
3257 'per_profile': False,
3258 },
3259 'example_value': False,
3260 'id': 235,
3261 'caption': '''Whether online OCSP/CRL checks are required for local trust anchors''',
3262 'desc': '''When this setting is enabled, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will always perform revocation checking for server certificates that successfully validate and are signed by locally-installed CA certificates.
3263
3264 If <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is unable to obtain revocation status information, such certificates will be treated as revoked ('hard-fail').
3265
3266 If this policy is not set, or it is set to false, then Chrome will use the existing online revocation checking settings.''',
3267 },
3268 {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003269 'name': 'ReportDeviceVersionInfo',
3270 'type': 'main',
3271 'schema': { 'type': 'boolean' },
3272 'supported_on': ['chrome_os:0.18-'],
3273 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003274 'features': {
3275 'dynamic_refresh': True,
3276 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003277 'example_value': False,
3278 'id': 119,
3279 'caption': '''Report OS and firmware version''',
3280 'desc': '''Report OS and firmware version of enrolled devices.
3281
3282 If this setting is set to True, enrolled devices will report the OS and firmware version periodically. If this setting is not set or set to False, version info will not be reported.''',
3283 },
3284 {
3285 'name': 'ReportDeviceActivityTimes',
3286 'type': 'main',
3287 'schema': { 'type': 'boolean' },
3288 'supported_on': ['chrome_os:18-'],
3289 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003290 'features': {
3291 'dynamic_refresh': True,
3292 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003293 'example_value': False,
3294 'id': 120,
3295 'caption': '''Report device activity times''',
3296 'desc': '''Report device activity times.
3297
3298 If this setting is set to True, enrolled devices will report time periods when a user is active on the device. If this setting is not set or set to False, device activity times will not be recorded or reported.''',
3299 },
3300 {
3301 'name': 'ReportDeviceBootMode',
3302 'type': 'main',
3303 'schema': { 'type': 'boolean' },
3304 'supported_on': ['chrome_os:18-'],
3305 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003306 'features': {
3307 'dynamic_refresh': True,
3308 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003309 'example_value': False,
3310 'id': 121,
3311 'caption': '''Report device boot mode''',
3312 'desc': '''Report the state of the device's dev switch at boot.
3313
3314 If the policy is not set, or set to false, the state of the dev switch will not be reported.''',
3315 },
3316 {
3317 'name': 'ReportDeviceLocation',
3318 'type': 'main',
3319 'schema': { 'type': 'boolean' },
3320 'supported_on': ['chrome_os:20-'],
3321 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003322 'features': {
3323 'dynamic_refresh': True,
3324 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003325 'future': True,
3326 'example_value': False,
3327 'id': 143,
3328 'caption': '''Report device location''',
3329 'desc': '''Report the geographic location of the device.
3330
3331 If the policy is not set, or set to false, the location will not be reported.''',
3332 },
3333 {
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01003334 'name': 'ReportDeviceNetworkInterfaces',
3335 'type': 'main',
3336 'schema': { 'type': 'boolean' },
3337 'supported_on': ['chrome_os:29-'],
3338 'device_only': True,
3339 'features': {
3340 'dynamic_refresh': True,
3341 },
3342 'example_value': False,
3343 'id': 224,
3344 'caption': '''Report device network interfaces''',
3345 'desc': '''Report list of network interfaces with their types and hardware addresses to the server.
3346
3347 If the policy is not set, or set to false, the interface list will not be reported.''',
3348 },
3349 {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003350 'name': 'DeviceUserWhitelist',
3351 'type': 'list',
3352 'schema': {
3353 'type': 'array',
3354 'items': { 'type': 'string' },
3355 },
3356 'supported_on': ['chrome_os:12-'],
3357 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003358 'features': {
3359 'dynamic_refresh': True,
3360 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003361 'example_value': [ 'madmax@managedchrome.com' ],
3362 'id': 122,
3363 'caption': '''Login user white list''',
3364 'desc': '''Defines the list of users that are allowed to login to the device. Entries are of the form <ph name="USER_WHITELIST_ENTRY_FORMAT">user@domain</ph>, such as <ph name="USER_WHITELIST_ENTRY_EXAMPLE">madmax@managedchrome.com</ph>. To allow arbitrary users on a domain, use entries of the form <ph name="USER_WHITELIST_ENTRY_WILDCARD">*@domain</ph>.
3365
3366 If this policy is not configured, there are no restrictions on which users are allowed to sign in. Note that creating new users still requires the <ph name="DEVICEALLOWNEWUSERS_POLICY_NAME">DeviceAllowNewUsers</ph> policy to be configured appropriately.''',
3367 },
3368 {
3369 'name': 'DeviceAllowNewUsers',
3370 'type': 'main',
3371 'schema': { 'type': 'boolean' },
3372 'supported_on': ['chrome_os:12-'],
3373 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003374 'features': {
3375 'dynamic_refresh': True,
3376 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003377 'example_value': True,
3378 'id': 123,
3379 'caption': '''Allow creation of new user accounts''',
3380 'desc': '''Controls whether <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> allows new user accounts to be created. If this policy is set to false, users that do not have an account already will not be able to login.
3381
3382 If this policy is set to true or not configured, new user accounts will be allowed to be created provided that <ph name="DEVICEUSERWHITELISTPROTO_POLICY_NAME">DeviceUserWhitelist</ph> does not prevent the user from logging in.''',
3383 },
3384 {
3385 'name': 'DeviceGuestModeEnabled',
3386 'type': 'main',
3387 'schema': { 'type': 'boolean' },
3388 'supported_on': ['chrome_os:12-'],
3389 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003390 'features': {
3391 'dynamic_refresh': True,
3392 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003393 'example_value': True,
3394 'id': 124,
3395 'caption': '''Enable guest mode''',
3396 'desc': '''If this policy is set to true or not configured, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will enable guest logins. Guest logins are anonymous user sessions and do not require a password.
3397
3398 If this policy is set to false, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will not allow guest sessions to be started.''',
3399 },
3400 {
3401 'name': 'DeviceShowUserNamesOnSignin',
3402 'type': 'main',
3403 'schema': { 'type': 'boolean' },
3404 'supported_on': ['chrome_os:12-'],
3405 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003406 'features': {
3407 'dynamic_refresh': True,
3408 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003409 'example_value': True,
3410 'id': 125,
3411 'caption': '''Show usernames on login screen''',
3412 'desc': '''If this policy is set to true or not configured, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will show existing users on the login screen and allow to pick one. If this policy is set to false, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will use the username/password prompt for login.''',
3413 },
3414 {
3415 'name': 'DeviceDataRoamingEnabled',
3416 'type': 'main',
3417 'schema': { 'type': 'boolean' },
3418 'supported_on': ['chrome_os:12-'],
3419 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003420 'features': {
3421 'dynamic_refresh': True,
3422 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003423 'example_value': True,
3424 'id': 126,
3425 'caption': '''Enable data roaming''',
3426 'desc': '''Determines whether data roaming should be enabled for the device. If set to true, data roaming is allowed. If left unconfigured or set to false, data roaming will be not available.''',
3427 },
3428 {
3429 'name': 'DeviceMetricsReportingEnabled',
3430 'type': 'main',
3431 'schema': { 'type': 'boolean' },
3432 'supported_on': ['chrome_os:14-'],
3433 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003434 'features': {
3435 'dynamic_refresh': True,
3436 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003437 'example_value': True,
3438 'id': 127,
3439 'caption': '''Enable metrics reporting''',
3440 'desc': '''Controls whether usage metrics are reported back to Google. If set to true, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will report usage metrics. If not configured or set to false, metrics reporting will be disabled.''',
3441 },
3442 {
3443 'name': 'ChromeOsReleaseChannel',
3444 'type': 'string-enum',
3445 'schema': {
3446 'type': 'string',
3447 'enum': [ 'stable-channel', 'beta-channel', 'dev-channel' ],
3448 },
3449 'items': [
3450 {
3451 'name': 'StableChannel',
3452 'value': 'stable-channel',
3453 'caption': '''Stable channel''',
3454 },
3455 {
3456 'name': 'BetaChannel',
3457 'value': 'beta-channel',
3458 'caption': '''Beta channel''',
3459 },
3460 {
3461 'name': 'DevChannel',
3462 'value': 'dev-channel',
3463 'caption': '''Dev channel (may be unstable)''',
3464 },
3465 ],
3466 'supported_on': ['chrome_os:0.11-'],
3467 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003468 'features': {
3469 'dynamic_refresh': True,
3470 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003471 'example_value': 'stable-channel',
3472 'id': 91,
3473 'caption': '''Release channel''',
3474 'desc': '''Specifies the release channel that this device should be locked to.''',
3475 },
3476 {
3477 'name': 'ChromeOsReleaseChannelDelegated',
3478 'type': 'main',
3479 'schema': { 'type': 'boolean' },
3480 'supported_on': ['chrome_os:0.19-'],
3481 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003482 'features': {
3483 'dynamic_refresh': True,
3484 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003485 'example_value': False,
3486 'id': 134,
3487 'caption': '''Whether the release channel should be configurable by the user''',
3488 'desc': '''If this policy is set to True and the ChromeOsReleaseChannel policy is not specified then users of the enrolling domain will be allowed to change the release channel of the device. If this policy is set to false the device will be locked in whatever channel it was last set.
3489
3490 The user selected channel will be overridden by the ChromeOsReleaseChannel policy, but if the policy channel is more stable than the one that was installed on the device, then the channel will only switch after the version of the more stable channel reaches a higher version number than the one installed on the device.''',
3491 },
3492 {
3493 'name': 'DeviceEphemeralUsersEnabled',
3494 'type': 'main',
3495 'schema': { 'type': 'boolean' },
3496 'supported_on': ['chrome_os:19-'],
3497 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003498 'features': {
3499 'dynamic_refresh': True,
3500 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003501 'example_value': True,
3502 'id': 128,
3503 'caption': '''Wipe user data on sign-out''',
3504 'desc': '''Determines whether <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> keeps local account data after logout. If set to true, no persistent accounts are kept by <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> and all data from the user session will be discarded after logout. If this policy is set to false or not configured, the device may keep (encrypted) local user data.''',
3505 },
3506 {
3507 'name': 'DeviceStartUpUrls',
3508 'type': 'list',
3509 'schema': {
3510 'type': 'array',
3511 'items': { 'type': 'string' },
3512 },
3513 'supported_on': ['chrome_os:19-'],
3514 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003515 'features': {
3516 'dynamic_refresh': True,
3517 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003518 'example_value': [ 'http://google.com', 'chrome-extension://aaaaaaaaaaaaaaaaaaaaaaaa/' ],
3519 'id': 137,
3520 'caption': '''Load specified urls on demo login''',
3521 'desc': '''This policy is active in retail mode only.
3522
3523 Determines the set of URLs to be loaded when the demo session is started. This policy will override any other mechanisms for setting the initial URL and thus can only be applied to a session not associated with a particular user.''',
3524 },
3525 {
3526 'name': 'DeviceIdleLogoutTimeout',
3527 'type': 'int',
3528 'schema': { 'type': 'integer' },
3529 'supported_on': ['chrome_os:19-'],
3530 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003531 'features': {
3532 'dynamic_refresh': True,
3533 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003534 'example_value': 60000,
3535 'id': 130,
3536 'caption': '''Timeout until idle user log-out is executed''',
3537 'desc': '''This policy is active in retail mode only.
3538
3539 When the value of this policy is set and is not 0 then the currently logged in demo user will be logged out automatically after an inactivity time of the specified duration has elapsed.
3540
3541 The policy value should be specified in milliseconds.''',
3542 },
3543 {
3544 'name': 'DeviceIdleLogoutWarningDuration',
3545 'type': 'int',
3546 'schema': { 'type': 'integer' },
3547 'supported_on': ['chrome_os:19-'],
3548 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003549 'features': {
3550 'dynamic_refresh': True,
3551 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003552 'example_value': 15000,
3553 'id': 131,
3554 'caption': '''Duration of the idle log-out warning message''',
3555 'desc': '''This policy is active in retail mode only.
3556
3557 When DeviceIdleLogoutTimeout is specified this policy defines the duration of the warning box with a count down timer that is shown to the user before the logout is executed.
3558
3559 The policy value should be specified in milliseconds.''',
3560 },
3561 {
3562 'name': 'DeviceLoginScreenSaverId',
3563 'type': 'string',
3564 'schema': { 'type': 'string' },
3565 'supported_on': ['chrome_os:19-'],
3566 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003567 'features': {
3568 'dynamic_refresh': True,
3569 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003570 'example_value': 'fhblcfnmnbehmifidkddcenilbpddlfk',
3571 'id': 132,
3572 'caption': '''Screen saver to be used on the sign-in screen in retail mode''',
3573 'desc': '''This policy is active in retail mode only.
3574
3575 Determines the id of the extension to be used as a screen saver on the sign-in screen. The extension must be part of the AppPack that is configured for this domain through the DeviceAppPack policy.''',
3576 },
3577 {
3578 'name': 'DeviceLoginScreenSaverTimeout',
3579 'type': 'int',
3580 'schema': { 'type': 'integer' },
3581 'supported_on': ['chrome_os:19-'],
3582 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003583 'features': {
3584 'dynamic_refresh': True,
3585 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003586 'example_value': 120000,
3587 'id': 133,
3588 'caption': '''Duration of inactivity before the screen saver is shown on the sign-in screen in retail mode''',
3589 'desc': '''This policy is active in retail mode only.
3590
3591 Determines the duration before the screen saver is shown on the sign-in screen for devices in retail mode.
3592
3593 The policy value should be specified in milliseconds.''',
3594 },
3595 {
3596 'name': 'DeviceAppPack',
3597 'type': 'list',
3598 'schema': {
3599 'type': 'array',
3600 'items': { 'type': 'string' },
3601 },
3602 'supported_on': ['chrome_os:19-'],
3603 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003604 'features': {
3605 'dynamic_refresh': True,
3606 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003607 'example_value': [ { "extension-id": "khgabmflimjjbclkmljlpmgaleanedem", "update-url": "http://clients2.google.com/service/update2/crx" } ],
3608 'id': 135,
3609 'caption': '''List of AppPack extensions''',
3610 'desc': '''This policy is active in retail mode only.
3611
3612 Lists extensions that are automatically installed for the Demo user, for devices in retail mode. These extensions are saved in the device and can be installed while offline, after the installation.
3613
3614 Each list entry contains a dictionary that must include the extension ID in the 'extension-id' field, and its update URL in the 'update-url' field.''',
3615 },
3616 {
3617 'name': 'DeviceAutoUpdateDisabled',
3618 'type': 'main',
3619 'schema': { 'type': 'boolean' },
3620 'supported_on': ['chrome_os:19-'],
3621 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003622 'features': {
3623 'dynamic_refresh': True,
3624 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003625 'example_value': True,
3626 'id': 136,
3627 'caption': '''Disables Auto Update''',
3628 'desc': '''Disables automatic updates when set to True.
3629
3630 <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices automatically check for updates when this setting is not configured or set to False.''',
3631 },
3632 {
3633 'name': 'DeviceTargetVersionPrefix',
3634 'type': 'string',
3635 'schema': { 'type': 'string' },
3636 'supported_on': ['chrome_os:19-'],
3637 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003638 'features': {
3639 'dynamic_refresh': True,
3640 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003641 'example_value': '1412.',
3642 'id': 142,
3643 'caption': '''Target Auto Update Version''',
3644 'desc': '''Sets a target version for Auto Updates.
3645
3646 Specifies the prefix of a target version <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> should update to. If the device is running a version that's before the specified prefix, it will update to the latest version with the given prefix. If the device is already on a later version, there is no effect (i.e. no downgrades are performed) and the device will remain on the current version. The prefix format works component-wise as is demonstrated in the following example:
3647
3648 "" (or not configured): update to latest version available.
3649 "1412.": update to any minor version of 1412 (e.g. 1412.24.34 or 1412.60.2)
3650 "1412.2.": update to any minor version of 1412.2 (e.g. 1412.2.34 or 1412.2.2)
3651 "1412.24.34": update to this specific version only''',
3652 },
3653 {
3654 'name': 'DeviceUpdateScatterFactor',
3655 'type': 'int',
3656 'schema': { 'type': 'integer' },
3657 'supported_on': ['chrome_os:20-'],
3658 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003659 'features': {
3660 'dynamic_refresh': True,
3661 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003662 'example_value': 7200,
3663 'id': 145,
3664 'caption': '''Auto update scatter factor''',
3665 'desc': '''Specifies the number of seconds up to which a device may randomly delay its download of an update from the time the update was first pushed out to the server. The device may wait a portion of this time in terms of wall-clock-time and the remaining portion in terms of the number of update checks. In any case, the scatter is upper bounded to a constant amount of time so that a device does not ever get stuck waiting to download an update forever.''',
3666 },
3667 {
3668 'name': 'DeviceUpdateAllowedConnectionTypes',
3669 'type': 'list',
3670 'schema': {
3671 'type': 'array',
3672 'items': { 'type': 'string' },
3673 },
3674 'supported_on': ['chrome_os:21-'],
3675 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003676 'features': {
3677 'dynamic_refresh': True,
3678 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003679 'example_value': [ 'ethernet' ],
3680 'id': 146,
3681 'caption': '''Connection types allowed for updates''',
3682 'desc': ''' The types of connections that are allowed to use for OS updates. OS updates potentially put heavy strain on the connection due to their size and may incur additional cost. Therefore, they are by default not enabled for connection types that are considered expensive, which include WiMax, Bluetooth and Cellular at the moment.
3683
3684 The recognized connection type identifiers are "ethernet", "wifi", "wimax", "bluetooth" and "cellular".''',
3685 },
3686 {
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003687 'name': 'DeviceLocalAccounts',
3688 'type': 'list',
3689 'schema': {
3690 'type': 'array',
3691 'items': { 'type': 'string' },
3692 },
3693 'supported_on': ['chrome_os:0.25-'],
3694 'device_only': True,
3695 'future': True,
3696 'features': {
3697 'dynamic_refresh': True,
3698 },
3699 'example_value': [ "demo@example.com" ],
3700 'id': 163,
3701 'caption': '''Device-local accounts''',
3702 'desc': '''Specifies the list of device-local accounts to be shown on the login screen.
3703
3704 Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''',
3705 },
3706 {
3707 'name': 'DeviceLocalAccountAutoLoginId',
3708 'type': 'string',
3709 'schema': { 'type': 'string' },
3710 'supported_on': ['chrome_os:26-'],
3711 'device_only': True,
3712 'features': {
3713 'dynamic_refresh': True,
3714 },
3715 'example_value': "public@example.com",
3716 'id': 194,
3717 'caption': '''Public session for auto-login''',
3718 'desc': '''A public session to auto-login after a delay.
3719
3720 If this policy is set, the specified session will be automatically logged in after a period of time has elapsed at the login screen without user interaction. The public session must already be configured (see |DeviceLocalAccounts|).
3721
3722 If this policy is unset, there will be no auto-login.''',
3723 },
3724 {
3725 'name': 'DeviceLocalAccountAutoLoginDelay',
3726 'type': 'int',
3727 'schema': { 'type': 'integer' },
3728 'supported_on': ['chrome_os:26-'],
3729 'device_only': True,
3730 'features': {
3731 'dynamic_refresh': True,
3732 },
3733 'example_value': 180000,
3734 'id': 195,
3735 'caption': '''Public session auto-login timer''',
3736 'desc': '''The public session auto-login delay.
3737
3738 If the |DeviceLocalAccountAutoLoginId| policy is unset, this policy has no effect. Otherwise:
3739
3740 If this policy is set, it determines the amount of time without user activity that should elapse before automatically logging into the public session specified by the |DeviceLocalAccountAutoLoginId| policy.
3741
3742 If this policy is unset, 0 milliseconds will be used as the timeout.
3743
3744 This policy is specified in milliseconds.'''
3745 },
3746 {
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01003747 'name': 'DeviceLocalAccountAutoLoginBailoutEnabled',
3748 'type': 'main',
3749 'schema': { 'type': 'boolean' },
3750 'supported_on': ['chrome_os:28-'],
3751 'device_only': True,
3752 'features': {
3753 'dynamic_refresh': True,
3754 },
3755 'future': True,
3756 'example_value': True,
3757 'id': 202,
3758 'caption': '''Enable bailout keyboard shortcut for auto-login''',
3759 'desc': '''Enable bailout keyboard shortcut for auto-login.
3760
3761 If this policy is unset or set to True and a device-local account is configured for zero-delay auto-login, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will honor the keyboard shortcut Ctrl+Alt+S for bypassing auto-login and showing the login screen.
3762
3763 If this policy is set to False, zero-delay auto-login (if configured) cannot be bypassed.'''
3764 },
3765 {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003766 'name': 'BackgroundModeEnabled',
3767 'type': 'main',
3768 'schema': { 'type': 'boolean' },
3769 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'],
3770 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003771 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003772 'dynamic_refresh': True,
3773 'per_profile': False,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003774 },
3775 'example_value': True,
3776 'id': 138,
3777 'caption': '''Continue running background apps when <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is closed''',
3778 'desc': '''Determines whether a <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> process is started on OS login and keeps running when the last browser window is closed, allowing background apps to remain active. The background process displays an icon in the system tray and can always be closed from there.
3779
3780 If this policy is set to True, background mode is enabled and cannot be controlled by the user in the browser settings.
3781
3782 If this policy is set to False, background mode is disabled and cannot be controlled by the user in the browser settings.
3783
3784 If this policy is left unset, background mode is initially disabled and can be controlled by the user in the browser settings.''',
3785 },
3786 {
3787 'name': 'Drive',
3788 'type': 'group',
3789 'caption': '''Configure Google Drive options''',
3790 'desc': '''Configure Google Drive in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.''',
3791 'policies': [
3792 {
3793 'name': 'DriveDisabled',
3794 'type': 'main',
3795 'schema': { 'type': 'boolean' },
3796 'supported_on': ['chrome_os:19-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003797 'features': {
3798 'dynamic_refresh': True,
3799 'per_profile': True,
3800 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003801 'example_value': True,
3802 'id': 139,
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01003803 'caption': '''Disables Drive in the Chrome OS Files app''',
3804 'desc': '''Disables Google Drive syncing in the Chrome OS Files app when set to True. In that case, no data is uploaded to Google Drive.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003805
3806 If not set or set to False, then users will be able to transfer files to Google Drive.''',
3807 },
3808 {
3809 'name': 'DriveDisabledOverCellular',
3810 'type': 'main',
3811 'schema': { 'type': 'boolean' },
3812 'supported_on': ['chrome_os:19-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003813 'features': {
3814 'dynamic_refresh': True,
3815 'per_profile': True,
3816 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003817 'example_value': True,
3818 'id': 140,
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01003819 'caption': '''Disables Google Drive over Cellular connections in the Chrome OS Files app''',
3820 'desc': '''Disables Google Drive syncing in the Chrome OS Files app when using a cellular connection when set to True. In that case, data is only synced to Google Drive when connected via WiFi or Ethernet.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003821
3822 If not set or set to False, then users will be able to transfer files to Google Drive via cellular connections.''',
3823 },
3824 ],
3825 },
3826 {
3827 'name': 'PinnedLauncherApps',
3828 'type': 'list',
3829 'schema': {
3830 'type': 'array',
3831 'items': { 'type': 'string' },
3832 },
3833 'supported_on': ['chrome_os:20-' ],
3834 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003835 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003836 'dynamic_refresh': True,
3837 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003838 },
3839 'example_value': ['pjkljhegncpnkpknbcohdijeoejaedia'],
3840 'id': 144,
3841 'caption': '''List of pinned apps to show in the launcher''',
3842 'desc': '''Lists the application identifiers <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shows as pinned apps in the launcher bar.
3843
3844 If this policy is configured, the set of applications is fixed and can't be changed by the user.
3845
3846 If this policy is left unset, the user may change the list of pinned apps in the launcher.''',
3847 },
3848 {
3849 'name': 'RestrictSigninToPattern',
3850 'type': 'string',
3851 'schema': { 'type': 'string' },
3852 'supported_on': ['chrome.*:21-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003853 'features': {
3854 'dynamic_refresh': True,
3855 'per_profile': False,
3856 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003857 'example_value': '*@domain.com',
3858 'id': 147,
3859 'caption': '''Restrict which users are allowed to sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>''',
3860 'desc': '''Contains a regular expression which is used to determine which users can sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
3861
3862 An appropriate error is displayed if a user tries to log in with a username that does not match this pattern.
3863
3864 If this policy is left not set or blank, then any user can sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
3865 },
3866 {
3867 'name': 'DisableSafeBrowsingProceedAnyway',
3868 'type': 'main',
3869 'schema': { 'type': 'boolean' },
Ben Murdoch558790d2013-07-30 15:19:42 +01003870 'supported_on': ['chrome.*:22-', 'chrome_os:0.22-', 'android:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003871 'features': {
3872 'dynamic_refresh': True,
3873 'per_profile': True,
3874 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003875 'example_value': True,
3876 'id': 150,
3877 'caption': '''Disable proceeding from the Safe Browsing warning page''',
3878 'desc': '''The Safe Browsing service shows a warning page when users navigate to sites that are flagged as potentially mallicious. Enabling this setting prevents users from proceeding anyway from the warning page to the malicious site.
3879
3880 If this setting is disabled or not configured then users can choose to proceed to the flagged site after being shown the warning.''',
3881 },
3882 {
3883 'name': 'SpellCheckServiceEnabled',
3884 'type': 'main',
3885 'schema': { 'type': 'boolean' },
3886 'supported_on': ['chrome.*:22-', 'chrome_os:0.22-'],
3887 'features': {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003888 'can_be_recommended': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003889 'dynamic_refresh': True,
3890 'per_profile': True,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003891 },
3892 'example_value': False,
3893 'id': 151,
3894 'caption': '''Enable or disable spell checking web service''',
3895 'desc': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> can use a Google web service to help resolve spelling errors. If this setting is enabled, then this service is always used. If this setting is disabled, then this service is never used.
3896
3897 Spell checking can still be performed using a downloaded dictionary; this policy only controls the usage of the online service.
3898
3899 If this setting is not configured then users can choose whether the spell checking service should be used or not.''',
3900 },
3901 {
3902 'name': 'ExternalStorageDisabled',
3903 'type': 'main',
3904 'schema': { 'type': 'boolean' },
3905 'supported_on': ['chrome_os:0.22-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003906 'features': {
3907 'dynamic_refresh': True,
3908 'per_profile': True,
3909 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003910 'example_value': True,
3911 'id': 152,
3912 'caption': '''Disable mounting of external storage''',
3913 'desc': '''Disable mounting of external storage.
3914
3915 When this policy is set to true, external storage will not be available in the file browser.
3916
3917 This policy affects all types of storage media. For example: USB flash drives, external hard drives, SD and other memory cards, optical storage etc. Internal storage is not affected, therefore files saved in the Download folder can still be accessed. Google Drive is also not affected by this policy.
3918
3919 If this setting is disabled or not configured then users can use all supported types of external storage on their device.''',
3920 },
3921 {
3922 'name': 'AudioOutputAllowed',
3923 'type': 'main',
3924 'schema': { 'type': 'boolean' },
3925 'supported_on': ['chrome_os:0.23-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003926 'features': {
3927 'dynamic_refresh': True,
3928 'per_profile': False,
3929 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003930 'example_value': False,
3931 'id': 159,
3932 'caption': '''Allow playing audio''',
3933 'desc': '''Allow playing audio.
3934
3935 When this policy is set to false, audio output will not be available on the device while the user is logged in.
3936
3937 This policy affects all types of audio output and not only the built-in speakers. Audio accessability features are also inhibited by this policy. Do not enable this policy if a screen reader is required for the user.
3938
3939 If this setting is set to true or not configured then users can use all supported audio outputs on their device.''',
3940 },
3941 {
3942 'name': 'AudioCaptureAllowed',
3943 'type': 'main',
3944 'schema': { 'type': 'boolean' },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003945 'supported_on': ['chrome.*:25-', 'chrome_os:0.23-'],
3946 'features': {
3947 'dynamic_refresh': True,
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01003948 'per_profile': False,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003949 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003950 'example_value': False,
3951 'id': 160,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003952 'caption': '''Allow or deny audio capture''',
3953 'desc': '''Allow or deny audio capture.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003954
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +01003955 If enabled or not configured (default), the user will be prompted for
3956 audio capture access except for URLs configured in the
3957 AudioCaptureAllowedUrls list which will be granted access without prompting.
3958
3959 When this policy is disabled, the user will never be prompted and audio
3960 capture only be available to URLs configured in AudioCaptureAllowedUrls.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003961
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003962 This policy affects all types of audio inputs and not only the built-in microphone.''',
3963 },
3964 {
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +01003965 'name': 'AudioCaptureAllowedUrls',
3966 'type': 'list',
3967 'schema': {
3968 'type': 'array',
3969 'items': { 'type': 'string' },
3970 },
3971 'supported_on': ['chrome.*:29-', 'chrome_os:0.29-'],
3972 'features': {
3973 'dynamic_refresh': True,
3974 'per_profile': True,
3975 },
3976 'example_value': ['http://www.example.com/', 'http://[*.]example.edu/'],
3977 'id': 208,
3978 'caption': '''URLs that will be granted access to audio capture devices without prompt.''',
3979 'desc': '''Patterns in this list will be matched against the security
3980 origin of the requesting URL. If a match is found, access to audio
3981 capture devices will be granted without prompt.
3982
3983 NOTE: This policy is currently only supported when running in Kiosk mode.''',
3984 },
3985 {
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003986 'name': 'VideoCaptureAllowed',
3987 'type': 'main',
3988 'schema': { 'type': 'boolean' },
3989 'supported_on': ['chrome.*:25-', 'chrome_os:0.25-'],
3990 'features': {
3991 'dynamic_refresh': True,
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +01003992 'per_profile': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00003993 },
3994 'example_value': False,
3995 'id': 167,
3996 'caption': '''Allow or deny video capture''',
3997 'desc': '''Allow or deny video capture.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00003998
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +01003999 If enabled or not configured (default), the user will be prompted for
4000 video capture access except for URLs configured in the
4001 VideoCaptureAllowedUrls list which will be granted access without prompting.
4002
4003 When this policy is disabled, the user will never be prompted and video
4004 capture only be available to URLs configured in VideoCaptureAllowedUrls.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004005
4006 This policy affects all types of video inputs and not only the built-in camera.''',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00004007 },
4008 {
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +01004009 'name': 'VideoCaptureAllowedUrls',
4010 'type': 'list',
4011 'schema': {
4012 'type': 'array',
4013 'items': { 'type': 'string' },
4014 },
4015 'supported_on': ['chrome.*:29-', 'chrome_os:0.29-'],
4016 'features': {
4017 'dynamic_refresh': True,
4018 'per_profile': True,
4019 },
4020 'example_value': ['http://www.example.com/', 'http://[*.]example.edu/'],
4021 'id': 209,
4022 'caption': '''URLs that will be granted access to video capture devices without prompt.''',
4023 'desc': '''Patterns in this list will be matched against the security
4024 origin of the requesting URL. If a match is found, access to audio
4025 capture devices will be granted without prompt.
4026
4027 NOTE: This policy is currently only supported when running in Kiosk mode.''',
4028 },
4029 {
Torne (Richard Coles)58218062012-11-14 11:43:16 +00004030 'name': 'DisableScreenshots',
4031 'type': 'main',
4032 'schema': { 'type': 'boolean' },
4033 'supported_on': ['chrome_os:22-', 'chrome.*:22-'],
4034 'features': {
4035 'dynamic_refresh': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004036 'per_profile': False,
Torne (Richard Coles)58218062012-11-14 11:43:16 +00004037 },
4038 'example_value': True,
4039 'id': 153,
4040 'caption': '''Disable taking screenshots''',
4041 'desc': '''Disables taking screenshots.
4042
4043 If enabled screenshots cannot be taken using keyboard shortcuts or extension APIs.
4044
4045 If disabled or not specified, taking screenshots is allowed.'''
4046 },
4047 {
4048 'name': 'SystemTimezone',
4049 'type': 'string',
4050 'schema': { 'type': 'string' },
4051 'supported_on': ['chrome_os:22-'],
4052 'device_only': True,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004053 'features': {
4054 'dynamic_refresh': True,
4055 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00004056 'example_value': 'America/Los_Angeles',
4057 'id': 158,
4058 'caption': '''Timezone''',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004059 'desc': '''Specifies the timezone to be used for the device. Users can override the specified timezone for the current session. However, on logout it is set back to the specified timezone. If an invalid value is provided, the policy is still activated using "GMT" instead. If an empty string is provided, the policy is ignored.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00004060
4061 If this policy is not used, the currently active timezone will remain in use however users can change the timezone and the change is persistent. Thus a change by one user affects the login-screen and all other users.
4062
4063 New devices start out with the timezone set to "US/Pacific".
4064
4065 The format of the value follows the names of timezones in the "IANA Time Zone Database" (see "http://en.wikipedia.org/wiki/List_of_tz_database_time"). In particular, most timezones can be referred to by "continent/large_city" or "ocean/large_city".''',
4066 },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004067 {
Ben Murdochbb1529c2013-08-08 10:24:53 +01004068 'name': 'SystemUse24HourClock',
4069 'type': 'main',
4070 'schema': { 'type': 'boolean' },
4071 'supported_on': ['chrome_os:30-'],
4072 'device_only': True,
4073 'features': {
4074 'dynamic_refresh': True,
4075 },
4076 'example_value': True,
4077 'id': 236,
4078 'caption': '''Use 24 hour clock by default''',
4079 'desc': '''Specifies the clock format be used for the device. Users can override clock format for the current session. However, on logout it is set back to the specified value. If an empty string is provided, device owner preference is used.''',
4080 },
4081 {
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004082 'name': 'ShowLogoutButtonInTray',
4083 'type': 'main',
4084 'schema': { 'type': 'boolean' },
4085 'supported_on': ['chrome_os:25-'],
4086 'features': {
4087 'dynamic_refresh': True,
4088 'per_profile': True,
4089 },
4090 'example_value': True,
4091 'id': 164,
4092 'caption': '''Add a logout button to the system tray''',
4093 'desc': '''Adds a logout button to the system tray.
4094
4095 If enabled, a big, red logout button is shown in the system tray while a session is active and the screen is not locked.
4096
4097 If disabled or not specified, no big, red logout button is shown in the system tray.''',
4098 },
4099 {
4100 'name': 'BuiltInDnsClientEnabled',
4101 'type': 'main',
4102 'schema': { 'type': 'boolean' },
4103 'supported_on': ['chrome.*:25-'],
4104 'features': {
4105 'dynamic_refresh': True,
4106 'per_profile': False,
4107 },
4108 'example_value': True,
4109 'id': 165,
4110 'caption': '''Use built-in DNS client''',
4111 'desc': '''Controls whether the built-in DNS client is used in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
4112
4113 If this policy is set to true, the built-in DNS client will be used, if available.
4114
4115 If this policy is set to false, the built-in DNS client will never be used.
4116
4117 If this policy is left not set, the users will be able to change whether the built-in DNS client is used by editing chrome://flags or specifying a command-line flag.''',
4118 },
4119 {
4120 'name': 'ShelfAutoHideBehavior',
4121 'type': 'string-enum',
4122 'schema': {
4123 'type': 'string',
4124 'enum': [
4125 'Always',
4126 'Never'
4127 ],
4128 },
4129 'items': [
4130 {
4131 'name': 'AlwaysAutoHideShelf',
4132 'value': 'Always',
4133 'caption': '''Always auto-hide the shelf''',
4134 },
4135 {
4136 'name': 'NeverAutoHideShelf',
4137 'value': 'Never',
4138 'caption': '''Never auto-hide the shelf''',
4139 },
4140 ],
4141 'supported_on': ['chrome_os:25-'],
4142 'features': {
4143 'can_be_recommended': True,
4144 'dynamic_refresh': True,
4145 'per_profile': False,
4146 },
4147 'example_value': 'Always',
4148 'id': 166,
4149 'caption': '''Control shelf auto-hiding''',
4150 'desc': '''Control auto-hiding of the <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shelf.
4151
4152 If this policy is set to 'AlwaysAutoHideShelf', the shelf will always auto-hide.
4153
4154 If this policy is set to 'NeverAutoHideShelf', the shelf never auto-hide.
4155
4156 If you set this policy, users cannot change or override it.
4157
4158 If the policy is left not set, users can choose whether the shelf should auto-hide.''',
4159 },
4160 {
4161 'name': 'UserDisplayName',
4162 'type': 'string',
4163 'schema': { 'type': 'string' },
4164 'supported_on': ['chrome_os:25-'],
4165 'features': {
4166 'dynamic_refresh': True,
4167 'per_profile': False,
4168 },
4169 'example_value': 'Policy User',
4170 'id': 169,
4171 'caption': '''Set the display name for device-local accounts''',
4172 'desc': '''Controls the account name <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shows on the login screen for the corresponding device-local account.
4173
4174 If this policy is set, the login screen will use the specified string in the picture-based login chooser for the corresponding device-local account.
4175
4176 If the policy is left not set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will use the device-local account's email account ID as the display name on the login screen.
4177
4178 This policy is ignored for regular user accounts.''',
4179 },
4180 {
4181 'name': 'SessionLengthLimit',
4182 'type': 'int',
4183 'schema': { 'type': 'integer' },
4184 'supported_on': ['chrome_os:25-'],
4185 'features': {
4186 'dynamic_refresh': True,
4187 'per_profile': False,
4188 },
4189 'example_value': 3600000,
4190 'id': 170,
4191 'caption': '''Limit the session length''',
4192 'desc': '''Limit the maximum length of a user session.
4193
4194 When this policy is set, it specifies the length of time after which a user is automatically logged out, terminating the session. The user is informed about the remaining time by a countdown timer shown in the system tray.
4195
4196 When this policy is not set, the session length is not limited.
4197
4198 If you set this policy, users cannot change or override it.
4199
4200 The policy value should be specified in milliseconds. Values are clamped to a range of 30 seconds to 24 hours.''',
4201 },
4202 {
4203 'name': 'PowerManagement',
4204 'type': 'group',
4205 'caption': '''Power mangement''',
4206 'desc': '''Configure power manegement in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.
4207
4208 These policies let you configure how <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> behaves when the user remains idle for some amount of time.''',
4209 'policies': [
4210 {
4211 'name': 'ScreenDimDelayAC',
4212 'type': 'int',
4213 'schema': { 'type': 'integer' },
4214 'supported_on': ['chrome_os:26-'],
4215 'features': {
4216 'dynamic_refresh': True,
4217 'per_profile': False,
4218 },
4219 'example_value': 420000,
4220 'id': 172,
4221 'caption': '''Screen dim delay when running on AC power''',
4222 'desc': '''Specifies the length of time without user input after which the screen is dimmed when running on AC power.
4223
4224 When this policy is set to a value greater than zero, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> dims the screen.
4225
4226 When this policy is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> does not dim the screen when the user becomes idle.
4227
4228 When this policy is unset, a default length of time is used.
4229
4230 The policy value should be specified in milliseconds. Values are clamped to be less than or equal the screen off delay (if set) and the idle delay.''',
4231 },
4232 {
4233 'name': 'ScreenOffDelayAC',
4234 'type': 'int',
4235 'schema': { 'type': 'integer' },
4236 'supported_on': ['chrome_os:26-'],
4237 'features': {
4238 'dynamic_refresh': True,
4239 'per_profile': False,
4240 },
4241 'example_value': 480000,
4242 'id': 173,
4243 'caption': '''Screen off delay when running on AC power''',
4244 'desc': '''Specifies the length of time without user input after which the screen is turned off when running on AC power.
4245
4246 When this policy is set to a value greater than zero, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> turns off the screen.
4247
4248 When this policy is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> does not turn off the screen when the user becomes idle.
4249
4250 When this policy is unset, a default length of time is used.
4251
4252 The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
4253 },
4254 {
4255 'name': 'ScreenLockDelayAC',
4256 'type': 'int',
4257 'schema': { 'type': 'integer' },
4258 'supported_on': ['chrome_os:26-'],
4259 'features': {
4260 'dynamic_refresh': True,
4261 'per_profile': False,
4262 },
4263 'example_value': 600000,
4264 'id': 174,
4265 'caption': '''Screen lock delay when running on AC power''',
4266 'desc': '''Specifies the length of time without user input after which the screen is locked when running on AC power.
4267
4268 When this policy is set to a value greater than zero, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> locks the screen.
4269
4270 When this policy is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> does not lock the screen when the user becomes idle.
4271
4272 When this policy is unset, a default length of time is used.
4273
4274 The recommended way to lock the screen on idle is to enable screen locking on suspend and have <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> suspend after the idle delay. This policy should only be used when screen locking should occur a significant amount of time sooner than suspend or when suspend on idle is not desired at all.
4275
4276 The policy value should be specified in milliseconds. Values are clamped to be less than the idle delay.''',
4277 },
4278 {
4279 'name': 'IdleWarningDelayAC',
4280 'type': 'int',
4281 'schema': { 'type': 'integer' },
4282 'supported_on': ['chrome_os:27-'],
4283 'features': {
4284 'dynamic_refresh': True,
4285 'per_profile': False,
4286 },
4287 'example_value': 545000,
4288 'id': 197,
4289 'caption': '''Idle warning delay when running on AC power''',
4290 'desc': '''Specifies the length of time without user input after which a warning dialog is shown when running on AC power.
4291
4292 When this policy is set, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shows a warning dialog telling the user that the idle action is about to be taken.
4293
4294 When this policy is unset, no warning dialog is shown.
4295
4296 The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
4297 },
4298 {
4299 'name': 'IdleDelayAC',
4300 'type': 'int',
4301 'schema': { 'type': 'integer' },
4302 'supported_on': ['chrome_os:26-'],
4303 'features': {
4304 'dynamic_refresh': True,
4305 'per_profile': False,
4306 },
4307 'example_value': 1800000,
4308 'id': 175,
4309 'caption': '''Idle delay when running on AC power''',
4310 'desc': '''Specifies the length of time without user input after which the idle action is taken when running on AC power.
4311
4312 When this policy is set, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> takes the idle action, which can be configured separately.
4313
4314 When this policy is unset, a default length of time is used.
4315
4316 The policy value should be specified in milliseconds.''',
4317 },
4318 {
4319 'name': 'ScreenDimDelayBattery',
4320 'type': 'int',
4321 'schema': { 'type': 'integer' },
4322 'supported_on': ['chrome_os:26-'],
4323 'features': {
4324 'dynamic_refresh': True,
4325 'per_profile': False,
4326 },
4327 'example_value': 300000,
4328 'id': 176,
4329 'caption': '''Screen dim delay when running on battery power''',
4330 'desc': '''Specifies the length of time without user input after which the screen is dimmed when running on battery power.
4331
4332 When this policy is set to a value greater than zero, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> dims the screen.
4333
4334 When this policy is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> does not dim the screen when the user becomes idle.
4335
4336 When this policy is unset, a default length of time is used.
4337
4338 The policy value should be specified in milliseconds. Values are clamped to be less than or equal the screen off delay (if set) and the idle delay.''',
4339 },
4340 {
4341 'name': 'ScreenOffDelayBattery',
4342 'type': 'int',
4343 'schema': { 'type': 'integer' },
4344 'supported_on': ['chrome_os:26-'],
4345 'features': {
4346 'dynamic_refresh': True,
4347 'per_profile': False,
4348 },
4349 'example_value': 360000,
4350 'id': 177,
4351 'caption': '''Screen off delay when running on battery power''',
4352 'desc': '''Specifies the length of time without user input after which the screen is turned off when running on battery power.
4353
4354 When this policy is set to a value greater than zero, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> turns off the screen.
4355
4356 When this policy is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> does not turn off the screen when the user becomes idle.
4357
4358 When this policy is unset, a default length of time is used.
4359
4360 The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
4361 },
4362 {
4363 'name': 'ScreenLockDelayBattery',
4364 'type': 'int',
4365 'schema': { 'type': 'integer' },
4366 'supported_on': ['chrome_os:26-'],
4367 'features': {
4368 'dynamic_refresh': True,
4369 'per_profile': False,
4370 },
4371 'example_value': 600000,
4372 'id': 178,
4373 'caption': '''Screen lock delay when running on battery power''',
4374 'desc': '''Specifies the length of time without user input after which the screen is locked when running on battery power.
4375
4376 When this policy is set to a value greater than zero, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> locks the screen.
4377
4378 When this policy is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> does not lock the screen when the user becomes idle.
4379
4380 When this policy is unset, a default length of time is used.
4381
4382 The recommended way to lock the screen on idle is to enable screen locking on suspend and have <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> suspend after the idle delay. This policy should only be used when screen locking should occur a significant amount of time sooner than suspend or when suspend on idle is not desired at all.
4383
4384 The policy value should be specified in milliseconds. Values are clamped to be less than the idle delay.''',
4385 },
4386 {
4387 'name': 'IdleWarningDelayBattery',
4388 'type': 'int',
4389 'schema': { 'type': 'integer' },
4390 'supported_on': ['chrome_os:27-'],
4391 'features': {
4392 'dynamic_refresh': True,
4393 'per_profile': False,
4394 },
4395 'example_value': 545000,
4396 'id': 198,
4397 'caption': '''Idle warning delay when running on battery power''',
4398 'desc': '''Specifies the length of time without user input after which a warning dialog is shown when running on battery power.
4399
4400 When this policy is set, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shows a warning dialog telling the user that the idle action is about to be taken.
4401
4402 When this policy is unset, no warning dialog is shown.
4403
4404 The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
4405 },
4406 {
4407 'name': 'IdleDelayBattery',
4408 'type': 'int',
4409 'schema': { 'type': 'integer' },
4410 'supported_on': ['chrome_os:26-'],
4411 'features': {
4412 'dynamic_refresh': True,
4413 'per_profile': False,
4414 },
4415 'example_value': 600000,
4416 'id': 179,
4417 'caption': '''Idle delay when running on battery power''',
4418 'desc': '''Specifies the length of time without user input after which the idle action is taken when running on battery power.
4419
4420 When this policy is set, it specifies the length of time that the user must remain idle before <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> takes the idle action, which can be configured separately.
4421
4422 When this policy is unset, a default length of time is used.
4423
4424 The policy value should be specified in milliseconds.''',
4425 },
4426 {
Ben Murdoch558790d2013-07-30 15:19:42 +01004427 'name': 'IdleAction',
4428 'type': 'int-enum',
4429 'schema': {
4430 'type': 'integer',
4431 'enum': [ 0, 1, 2, 3 ],
4432 },
4433 'items': [
4434 {
4435 'name': 'IdleActionSuspend',
4436 'value': 0,
4437 'caption': '''Suspend''',
4438 },
4439 {
4440 'name': 'IdleActionLogout',
4441 'value': 1,
4442 'caption': '''Log the user out''',
4443 },
4444 {
4445 'name': 'IdleActionShutdown',
4446 'value': 2,
4447 'caption': '''Shut down''',
4448 },
4449 {
4450 'name': 'IdleActionDoNothing',
4451 'value': 3,
4452 'caption': '''Do nothing''',
4453 },
4454 ],
4455 'supported_on': ['chrome_os:26-'],
4456 'features': {
4457 'dynamic_refresh': True,
4458 'per_profile': False,
4459 },
4460 'deprecated': True,
4461 'example_value': 0,
4462 'id': 180,
4463 'caption': '''Action to take when the idle delay is reached''',
4464 'desc': '''Specify the action to take when the idle delay is reached.
4465
4466 Note that this policy is deprecated and will be removed in the future.
4467
4468 This policy provides a fallback value for the more-specific <ph name="IDLEACTIONAC_POLICY_NAME">IdleActionAC</ph> and <ph name="IDLEACTIONBATTERY_POLICY_NAME">IdleActionBattery</ph> policies. If this policy is set, its value gets used if the respective more-specific policy is not set.
4469
4470 When this policy is unset, behavior of the more-specific policies remains unaffected.''',
4471 },
4472 {
Ben Murdocheb525c52013-07-10 11:40:50 +01004473 'name': 'IdleActionAC',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004474 'type': 'int-enum',
4475 'schema': {
4476 'type': 'integer',
4477 'enum': [ 0, 1, 2, 3 ],
4478 },
4479 'items': [
4480 {
4481 'name': 'IdleActionSuspend',
4482 'value': 0,
4483 'caption': '''Suspend''',
4484 },
4485 {
4486 'name': 'IdleActionLogout',
4487 'value': 1,
Ben Murdocheb525c52013-07-10 11:40:50 +01004488 'caption': '''Log the user out''',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004489 },
4490 {
4491 'name': 'IdleActionShutdown',
4492 'value': 2,
4493 'caption': '''Shut down''',
4494 },
4495 {
4496 'name': 'IdleActionDoNothing',
4497 'value': 3,
4498 'caption': '''Do nothing''',
4499 },
4500 ],
Ben Murdocheb525c52013-07-10 11:40:50 +01004501 'supported_on': ['chrome_os:30-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004502 'features': {
4503 'dynamic_refresh': True,
4504 'per_profile': False,
4505 },
4506 'example_value': 0,
Ben Murdoch558790d2013-07-30 15:19:42 +01004507 'id': 226,
Ben Murdocheb525c52013-07-10 11:40:50 +01004508 'caption': '''Action to take when the idle delay is reached while running on AC power''',
4509 'desc': '''Specify the action to take when the idle delay is reached while running on AC power.
4510
4511 When this policy is set, it specifies the action that <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> takes when the user remains idle for the length of time given by the idle delay, which can be configured separately.
4512
4513 When this policy is unset, the default action is taken, which is suspend.
4514
4515 If the action is suspend, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can separately be configured to either lock or not lock the screen before suspending.''',
4516 },
4517 {
4518 'name': 'IdleActionBattery',
4519 'type': 'int-enum',
4520 'schema': {
4521 'type': 'integer',
4522 'enum': [ 0, 1, 2, 3 ],
4523 },
4524 'items': [
4525 {
4526 'name': 'IdleActionSuspend',
4527 'value': 0,
4528 'caption': '''Suspend''',
4529 },
4530 {
4531 'name': 'IdleActionLogout',
4532 'value': 1,
4533 'caption': '''Log the user out''',
4534 },
4535 {
4536 'name': 'IdleActionShutdown',
4537 'value': 2,
4538 'caption': '''Shut down''',
4539 },
4540 {
4541 'name': 'IdleActionDoNothing',
4542 'value': 3,
4543 'caption': '''Do nothing''',
4544 },
4545 ],
4546 'supported_on': ['chrome_os:30-'],
4547 'features': {
4548 'dynamic_refresh': True,
4549 'per_profile': False,
4550 },
4551 'example_value': 0,
4552 'id': 222,
4553 'caption': '''Action to take when the idle delay is reached while running on battery power''',
4554 'desc': '''Specify the action to take when the idle delay is reached while running on battery power.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004555
4556 When this policy is set, it specifies the action that <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> takes when the user remains idle for the length of time given by the idle delay, which can be configured separately.
4557
4558 When this policy is unset, the default action is taken, which is suspend.
4559
4560 If the action is suspend, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can separately be configured to either lock or not lock the screen before suspending.''',
4561 },
4562 {
4563 'name': 'LidCloseAction',
4564 'type': 'int-enum',
4565 'schema': {
4566 'type': 'integer',
4567 'enum': [ 0, 1, 2, 3 ],
4568 },
4569 'items': [
4570 {
4571 'name': 'LidCloseActionSuspend',
4572 'value': 0,
4573 'caption': '''Suspend''',
4574 },
4575 {
4576 'name': 'LidCloseActionLogout',
4577 'value': 1,
Ben Murdocheb525c52013-07-10 11:40:50 +01004578 'caption': '''Log the user out''',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004579 },
4580 {
4581 'name': 'LidCloseActionShutdown',
4582 'value': 2,
4583 'caption': '''Shut down''',
4584 },
4585 {
4586 'name': 'LidCloseActionDoNothing',
4587 'value': 3,
4588 'caption': '''Do nothing''',
4589 },
4590 ],
4591 'supported_on': ['chrome_os:26-'],
4592 'features': {
4593 'dynamic_refresh': True,
4594 'per_profile': False,
4595 },
4596 'example_value': 0,
4597 'id': 181,
4598 'caption': '''Action to take when the user closes the lid''',
4599 'desc': '''Specify the action to take when the user closes the lid.
4600
4601 When this policy is set, it specifies the action that <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> takes when the user closes the device's lid.
4602
4603 When this policy is unset, the default action is taken, which is suspend.
4604
4605 If the action is suspend, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can separately be configured to either lock or not lock the screen before suspending.''',
4606 },
4607 {
4608 'name': 'PowerManagementUsesAudioActivity',
4609 'type': 'main',
4610 'schema': { 'type': 'boolean' },
4611 'supported_on': ['chrome_os:26-'],
4612 'features': {
4613 'dynamic_refresh': True,
4614 'per_profile': False,
4615 },
4616 'example_value': True,
4617 'id': 182,
4618 'caption': '''Specify whether audio activity affects power management''',
4619 'desc': '''Specifies whether audio activity affects power management.
4620
4621 If this policy is set to True or is unset, the user is not considered to be idle while audio is playing. This prevents the idle timeout from being reached and the idle action from being taken. However, screen dimming, screen off and screen lock will be performed after the configured timeouts, irrespective of audio activity.
4622
4623 If this policy is set to False, audio activity does not prevent the user from being considered idle.''',
4624 },
4625 {
4626 'name': 'PowerManagementUsesVideoActivity',
4627 'type': 'main',
4628 'schema': { 'type': 'boolean' },
4629 'supported_on': ['chrome_os:26-'],
4630 'features': {
4631 'dynamic_refresh': True,
4632 'per_profile': False,
4633 },
4634 'example_value': True,
4635 'id': 183,
4636 'caption': '''Specify whether video activity affects power management''',
4637 'desc': '''Specifies whether video activity affects power management.
4638
4639 If this policy is set to True or is unset, the user is not considered to be idle while video is playing. This prevents the idle delay, screen dim delay, screen off delay and screen lock delay from being reached and the corresponding actions from being taken.
4640
4641 If this policy is set to False, video activity does not prevent the user from being considered idle.''',
4642 },
4643 {
4644 'name': 'PresentationIdleDelayScale',
4645 'type': 'int',
4646 'schema': { 'type': 'integer' },
Ben Murdocheb525c52013-07-10 11:40:50 +01004647 'supported_on': ['chrome_os:26-28'],
4648 'features': {
4649 'dynamic_refresh': True,
4650 'per_profile': False,
4651 },
4652 'deprecated': True,
4653 'example_value': 200,
4654 'id': 184,
4655 'caption': '''Percentage by which to scale the idle delay in presentation mode (deprecated)''',
4656 'desc': '''This policy has been retired as of <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> version 29. Please use the PresentationScreenDimDelayScale policy instead.''',
4657 },
4658 {
4659 'name': 'PresentationScreenDimDelayScale',
4660 'type': 'int',
4661 'schema': { 'type': 'integer' },
4662 'supported_on': ['chrome_os:29-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004663 'features': {
4664 'dynamic_refresh': True,
4665 'per_profile': False,
4666 },
4667 'example_value': 200,
Ben Murdocheb525c52013-07-10 11:40:50 +01004668 'id': 220,
4669 'caption': '''Percentage by which to scale the screen dim delay in presentation mode''',
4670 'desc': '''Specifies the percentage by which the screen dim delay is scaled when the device is in presentation mode.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004671
Ben Murdocheb525c52013-07-10 11:40:50 +01004672 If this policy is set, it specifies the percentage by which the screen dim delay is scaled when the device is in presentation mode. When the screen dim delay is scaled, the screen off, screen lock and idle delays get adjusted to maintain the same distances from the screen dim delay as originally configured.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004673
4674 If this policy is unset, a default scale factor is used.
4675
Ben Murdocheb525c52013-07-10 11:40:50 +01004676 The scale factor must be 100% or more. Values that would make the screen dim delay in presentation mode shorter than the regular screen dim delay are not allowed.''',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004677 },
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01004678 {
4679 'name': 'AllowScreenWakeLocks',
4680 'type': 'main',
4681 'schema': { 'type': 'boolean' },
4682 'supported_on': ['chrome_os:28-'],
4683 'features': {
4684 'dynamic_refresh': True,
4685 'per_profile': False,
4686 },
4687 'example_value': False,
4688 'id': 203,
4689 'caption': '''Allow screen wake locks''',
4690 'desc': '''Specifies whether screen wake locks are allowed. Screen wake locks can be requested by extensions via the power management extension API.
4691
4692 If this policy is set to true or left not set, screen wake locks will be honored for power management.
4693
4694 If this policy is set to false, screen wake lock requests will get ignored.''',
4695 },
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01004696 {
4697 'name': 'UserActivityScreenDimDelayScale',
4698 'type': 'int',
4699 'schema': { 'type': 'integer' },
4700 'supported_on': ['chrome_os:29-'],
4701 'features': {
4702 'dynamic_refresh': True,
4703 'per_profile': False,
4704 },
4705 'example_value': 200,
4706 'id': 210,
4707 'caption': '''Percentage by which to scale the screen dim delay if the user becomes active after dimming''',
4708 'desc': '''Specifies the percentage by which the screen dim delay is scaled when user activity is observed while the screen is dimmed or soon after the screen has been turned off.
4709
4710 If this policy is set, it specifies the percentage by which the screen dim delay is scaled when user activity is observed while the screen is dimmed or soon after the screen has been turned off. When the dim delay is scaled, the screen off, screen lock and idle delays get adjusted to maintain the same distances from the screen dim delay as originally configured.
4711
4712 If this policy is unset, a default scale factor is used.
4713
4714 The scale factor must be 100% or more.''',
4715 },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004716 ],
4717 },
4718 {
Ben Murdoch9ab55632013-07-18 11:57:30 +01004719 # TODO(bartfab): Change the policy type to 'dict' once this is fully
4720 # supported. http://crbug.com/258339
4721 'name': 'DeviceLoginScreenPowerManagement',
4722 'type': 'string',
4723 'schema': { 'type': 'string' },
4724 'supported_on': ['chrome_os:30-'],
4725 'device_only': True,
4726 'features': {
4727 'dynamic_refresh': True,
4728 },
4729 'example_value': '{ "AC": { "IdleAction": "DoNothing" }, "Battery": { "IdleAction": "DoNothing" } }',
4730 'id': 225,
4731 'caption': '''Power mangement on the login screen''',
4732 'desc': '''Configure power management on the login screen in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.
4733
4734 This policy lets you configure how <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> behaves when there is no user activity for some amount of time while the login screen is being shown. The policy controls multiple settings. For their individual semantics and value ranges, see the corresponding policies that control power management within a session. The only deviations from these policies are:
4735 * The actions to take on idle or lid close cannot be to end the session.
4736 * The default action taken on idle when running on AC power is to shut down.
4737
4738 The policy should be specified as a string that expresses the individual settings in JSON format, conforming to the following schema:
4739 {
4740 "type": "object",
4741 "properties": {
4742 "AC": {
4743 "description": "Power management settings applicable only when running on AC power",
4744 "type": "object",
4745 "properties": {
4746 "Delays": {
4747 "type": "object",
4748 "properties": {
4749 "ScreenDim": {
4750 "description": "The length of time without user input after which the screen is dimmed, in milliseconds",
4751 "type": "integer",
4752 "minimum": 0
4753 },
4754 "ScreenOff": {
4755 "description": "The length of time without user input after which the screen is turned off, in milliseconds",
4756 "type": "integer",
4757 "minimum": 0
4758 },
4759 "Idle": {
4760 "description": "The length of time without user input after which the idle action is taken, in milliseconds",
4761 "type": "integer",
4762 "minimum": 0
4763 }
4764 }
4765 },
4766 "IdleAction": {
4767 "description": "Action to take when the idle delay is reached",
4768 "enum": [ "Suspend", "Shutdown", "DoNothing" ]
4769 }
4770 }
4771 },
4772 "Battery": {
4773 "description": "Power management settings applicable only when running on battery power",
4774 "type": "object",
4775 "properties": {
4776 "Delays": {
4777 "type": "object",
4778 "properties": {
4779 "ScreenDim": {
4780 "description": "The length of time without user input after which the screen is dimmed, in milliseconds",
4781 "type": "integer",
4782 "minimum": 0
4783 },
4784 "ScreenOff": {
4785 "description": "The length of time without user input after which the screen is turned off, in milliseconds",
4786 "type": "integer",
4787 "minimum": 0
4788 },
4789 "Idle": {
4790 "description": "The length of time without user input after which the idle action is taken, in milliseconds",
4791 "type": "integer",
4792 "minimum": 0
4793 }
4794 }
4795 },
4796 "IdleAction": {
4797 "description": "Action to take when the idle delay is reached",
4798 "enum": [ "Suspend", "Shutdown", "DoNothing" ]
4799 }
4800 }
4801 },
4802 "LidCloseAction": {
4803 "description": "Action to take when the lid is closed",
4804 "enum": [ "Suspend", "Shutdown", "DoNothing" ]
4805 },
4806 "UserActivityScreenDimDelayScale": {
4807 "description": "Percentage by which the screen dim delay is scaled when user activity is observed while the screen is dimmed or soon after the screen has been turned off",
4808 "type": "integer",
4809 "minimum": 100
4810 }
4811 }
4812 }
4813
4814 If a setting is left unspecified, a default value is used.
4815
4816 If this policy is unset, defaults are used for all settings.''',
4817 },
4818 {
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00004819 'name': 'DeviceAllowRedeemChromeOsRegistrationOffers',
4820 'type': 'main',
4821 'schema': { 'type': 'boolean' },
4822 'supported_on': ['chrome_os:26-'],
4823 'device_only': True,
4824 'features': {
4825 'dynamic_refresh': True,
4826 },
4827 'example_value': True,
4828 'id': 185,
4829 'caption': '''Allow users to redeem offers through Chrome OS Registration.''',
4830 'desc': '''IT admins for enterprise devices can use this flag to controll whether to allow users to redeem offers through Chrome OS Registration.
4831
4832 If this policy is set to true or left not set, users will be able to redeem offers through Chrome OS Registration.
4833
4834 If this policy is set to false, user will not be able to redeem offers.''',
4835 },
4836 {
4837 'name': 'TermsOfServiceURL',
4838 'type': 'string',
4839 'schema': { 'type': 'string' },
4840 'supported_on': ['chrome_os:26-'],
4841 'features': {
4842 'dynamic_refresh': True,
4843 'per_profile': False,
4844 },
4845 'example_value': 'http://www.example.com/terms_of_service.txt',
4846 'id': 186,
4847 'caption': '''Set the Terms of Service for a device-local account''',
4848 'desc': '''Sets the Terms of Service that the user must accept before starting a device-local account session.
4849
4850 If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will download the Terms of Service and present them to the user whenever a device-local account session is starting. The user will only be allowed into the session after accepting the Terms of Service.
4851
4852 If this policy is not set, no Terms of Service are shown.
4853
4854 The policy should be set to a URL from which <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can download the Terms of Service. The Terms of Service must be plain text, served as MIME type text/plain. No markup is allowed.''',
4855 },
4856 {
4857 'name': 'Accessibility',
4858 'type': 'group',
4859 'caption': '''Accessibility settings''',
4860 'desc': '''Configure <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> accessibility features.''',
4861 'policies': [
4862 {
4863 'name': 'ShowAccessibilityOptionsInSystemTrayMenu',
4864 'type': 'main',
4865 'schema': { 'type': 'boolean' },
4866 'supported_on': ['chrome_os:27-'],
4867 'features': {
4868 'can_be_recommended': True,
4869 'dynamic_refresh': True,
4870 'per_profile': True,
4871 },
4872 'example_value': True,
4873 'id': 188,
4874 'caption': '''Show accessibility options in system tray menu''',
4875 'desc': '''Show <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> accessibility options in the systenm menu.
4876
4877 If this policy is set to true, Accessibility options always appear in system tray menu.
4878
4879 If this policy is set to false, Accessibility options never appear in system tray menu.
4880
4881 If you set this policy, users cannot change or override it.
4882
4883 If this policy is left unset, Accessibility options will not appear in the system tray menu, but the user can cause the Accessibility options to appear via the Settings page.'''
4884 },
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01004885 {
4886 'name': 'LargeCursorEnabled',
4887 'type': 'main',
4888 'schema': { 'type': 'boolean' },
4889 'supported_on': ['chrome_os:29-'],
4890 'features': {
4891 'can_be_recommended': True,
4892 'dynamic_refresh': True,
4893 'per_profile': True,
4894 },
4895 'example_value': True,
4896 'id': 211,
4897 'caption': '''Enable large cursor''',
4898 'desc': '''Enable the large cursor accessibility feature.
4899
4900 If this policy is set to true, the large cursor will always be enabled.
4901
4902 If this policy is set to false, the large cursor will always be disabled.
4903
4904 If you set this policy, users cannot change or override it.
4905
4906 If this policy is left unset, the large cursor is disabled initially but can be enabled by the user anytime.'''
4907 },
4908 {
4909 'name': 'SpokenFeedbackEnabled',
4910 'type': 'main',
4911 'schema': { 'type': 'boolean' },
4912 'supported_on': ['chrome_os:29-'],
4913 'features': {
4914 'can_be_recommended': True,
4915 'dynamic_refresh': True,
4916 'per_profile': True,
4917 },
4918 'example_value': True,
4919 'id': 212,
4920 'caption': '''Enable spoken feedback''',
4921 'desc': '''Enable the spoken feedback accessibility feature.
4922
4923 If this policy is set to true, spoken feedback will always be enabled.
4924
4925 If this policy is set to false, spoken feedback will always be disabled.
4926
4927 If you set this policy, users cannot change or override it.
4928
4929 If this policy is left unset, spoken feedback is disabled initially but can be enabled by the user anytime.'''
4930 },
4931 {
4932 'name': 'HighContrastEnabled',
4933 'type': 'main',
4934 'schema': { 'type': 'boolean' },
4935 'supported_on': ['chrome_os:29-'],
4936 'features': {
4937 'can_be_recommended': True,
4938 'dynamic_refresh': True,
4939 'per_profile': True,
4940 },
4941 'example_value': True,
4942 'id': 213,
4943 'caption': '''Enable high contrast mode''',
4944 'desc': '''Enable the high contrast mode accessibility feature.
4945
4946 If this policy is set to true, high contrast mode will always be enabled.
4947
4948 If this policy is set to false, high contrast mode will always be disabled.
4949
4950 If you set this policy, users cannot change or override it.
4951
4952 If this policy is left unset, high contrast mode is disabled initially but can be enabled by the user anytime.'''
4953 },
4954 {
4955 'name': 'ScreenMagnifierType',
4956 'type': 'int-enum',
4957 'schema': {
4958 'type': 'integer',
4959 'enum': [ 0, 1 ],
4960 },
4961 'items': [
4962 {
4963 'name': 'None',
4964 'value': 0,
4965 'caption': '''Screen magnifier disabled''',
4966 },
4967 {
4968 'name': 'Full-screen',
4969 'value': 1,
4970 'caption': '''Full-screen magnifier enabled''',
4971 },
4972 ],
4973 'supported_on': ['chrome_os:29-'],
4974 'features': {
4975 'can_be_recommended': True,
4976 'dynamic_refresh': True,
4977 'per_profile': True,
4978 },
4979 'example_value': 1,
4980 'id': 214,
4981 'caption': '''Set screen magnifier type''',
4982 'desc': '''Set the type of screen magnifier that is enabled.
4983
4984 If this policy is set, it controls the type of screen magnifier that is enabled. Setting the policy to "None" disables the screen magnifier.
4985
4986 If you set this policy, users cannot change or override it.
4987
4988 If this policy is left unset, the screen magnifier is disabled initially but can be enabled by the user anytime.''',
4989 },
Ben Murdocheb525c52013-07-10 11:40:50 +01004990 {
4991 'name': 'DeviceLoginScreenDefaultLargeCursorEnabled',
4992 'type': 'main',
4993 'schema': { 'type': 'boolean' },
4994 'supported_on': ['chrome_os:29-'],
4995 'device_only': True,
4996 'features': {
4997 'dynamic_refresh': True,
4998 },
4999 'example_value': True,
5000 'id': 215,
5001 'caption': '''Set default state of the large cursor on the login screen''',
5002 'desc': '''Set the default state of the large cursor accessibility feature on the login screen.
5003
5004 If this policy is set to true, the large cursor will be enabled when the login screen is shown.
5005
5006 If this policy is set to false, the large cursor will be disabled when the login screen is shown.
5007
5008 If you set this policy, users can temporarily override it by enabling or disabling the large cursor. However, the user's choice is not persistent and the default is restored whenever the login screen is shown anew or the user remains idle on the login screen for a minute.
5009
5010 If this policy is left unset, the large cursor is disabled when the login screen is first shown. Users can enable or disable the large cursor anytime and its status on the login screen is persisted between users.''',
5011 },
5012 {
5013 'name': 'DeviceLoginScreenDefaultSpokenFeedbackEnabled',
5014 'type': 'main',
5015 'schema': { 'type': 'boolean' },
5016 'supported_on': ['chrome_os:29-'],
5017 'device_only': True,
5018 'features': {
5019 'dynamic_refresh': True,
5020 },
5021 'example_value': True,
5022 'id': 216,
5023 'caption': '''Set the default state of spoken feedback on the login screen''',
5024 'desc': '''Set the default state of the spoken feedback accessibility feature on the login screen.
5025
5026 If this policy is set to true, spoken feedback will be enabled when the login screen is shown.
5027
5028 If this policy is set to false, spoken feedback will be disabled when the login screen is shown.
5029
5030 If you set this policy, users can temporarily override it by enabling or disabling spoken feedback. However, the user's choice is not persistent and the default is restored whenever the login screen is shown anew or the user remains idle on the login screen for a minute.
5031
5032 If this policy is left unset, spoken feedback is disabled when the login screen is first shown. Users can enable or disable spoken feedback anytime and its status on the login screen is persisted between users.''',
5033 },
5034 {
5035 'name': 'DeviceLoginScreenDefaultHighContrastEnabled',
5036 'type': 'main',
5037 'schema': { 'type': 'boolean' },
5038 'supported_on': ['chrome_os:29-'],
5039 'device_only': True,
5040 'features': {
5041 'dynamic_refresh': True,
5042 },
5043 'example_value': True,
5044 'id': 217,
5045 'caption': '''Set the default state of high contrast mode on the login screen''',
5046 'desc': '''Set the default state of the high contrast mode accessibility feature on the login screen.
5047
5048 If this policy is set to true, high contrast mode will be enabled when the login screen is shown.
5049
5050 If this policy is set to false, high contrast mode will be disabled when the login screen is shown.
5051
5052 If you set this policy, users can temporarily override it by enabling or disabling high contrast mode. However, the user's choice is not persistent and the default is restored whenever the login screen is shown anew or the user remains idle on the login screen for a minute.
5053
5054 If this policy is left unset, high contrast mode is disabled when the login screen is first shown. Users can enable or disable high contrast mode anytime and its status on the login screen is persisted between users.''',
5055 },
5056 {
5057 'name': 'DeviceLoginScreenDefaultScreenMagnifierType',
5058 'type': 'int-enum',
5059 'schema': {
5060 'type': 'integer',
5061 'enum': [ 0, 1 ],
5062 },
5063 'items': [
5064 {
5065 'name': 'None',
5066 'value': 0,
5067 'caption': '''Screen magnifier disabled''',
5068 },
5069 {
5070 'name': 'Full-screen',
5071 'value': 1,
5072 'caption': '''Full-screen magnifier enabled''',
5073 },
5074 ],
5075 'supported_on': ['chrome_os:29-'],
5076 'device_only': True,
5077 'features': {
5078 'dynamic_refresh': True,
5079 },
5080 'example_value': 1,
5081 'id': 218,
5082 'caption': '''Set the default screen magnifier type enabled on the login screen''',
5083 'desc': '''Set the default type of screen magnifier that is enabled on the login screen.
5084
5085 If this policy is set, it controls the type of screen magnifier that is enabled when the login screen is shown. Setting the policy to "None" disables the screen magnifier.
5086
5087 If you set this policy, users can temporarily override it by enabling or disabling the screen magnifier. However, the user's choice is not persistent and the default is restored whenever the login screen is shown anew or the user remains idle on the login screen for a minute.
5088
5089 If this policy is left unset, the screen magnifier is disabled when the login screen is first shown. Users can enable or disable the screen magnifier anytime and its status on the login screen is persisted between users.''',
5090 },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005091 ],
5092 },
5093 {
5094 'name': 'HideWebStoreIcon',
5095 'type': 'main',
5096 'schema': { 'type': 'boolean' },
5097 'supported_on': ['chrome.*:26-'],
5098 'features': {
5099 'dynamic_refresh': True,
5100 'per_profile': True,
5101 },
5102 'example_value': True,
5103 'id': 189,
5104 'caption': '''Hide the web store from the new tab page and app launcher''',
5105 'desc': '''Hide the Chrome Web Store app and footer link from the New Tab Page and Chrome OS app launcher.
5106
5107 When this policy is set to true, the icons are hidden.
5108
5109 When this policy is set to false or is not configured, the icons are visible.''',
5110 },
5111 {
5112 'name': 'DeviceStartUpFlags',
5113 'type': 'list',
5114 'schema': {
5115 'type': 'array',
5116 'items': { 'type': 'string' },
5117 },
5118 'supported_on': ['chrome_os:27-'],
5119 'device_only': True,
5120 'features': {
5121 'dynamic_refresh': False,
5122 },
5123 'example_value': [ "enable-managed-mode", "my-cool-flag" ],
5124 'id': 191,
5125 'caption': '''System wide flags to be applied on Chrome start-up''',
5126 'desc': '''Specifies the flags that should be applied to Chrome when it starts. The specified flags are applied before Chrome is started even for the sign-in screen.''',
5127 },
5128 {
5129 'name': 'UptimeLimit',
5130 'type': 'int',
5131 'schema': { 'type': 'integer' },
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01005132 'supported_on': ['chrome_os:29-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005133 'device_only': True,
5134 'features': {
5135 'dynamic_refresh': True,
5136 },
5137 'example_value': 86400,
5138 'id': 192,
5139 'caption': '''Limit device uptime by automatically rebooting''',
5140 'desc': '''Limit the device uptime by scheduling automatic reboots.
5141
5142 When this policy is set, it specifies the length of device uptime after which an automatic reboot is scheduled.
5143
5144 When this policy is not set, the device uptime is not limited.
5145
5146 If you set this policy, users cannot change or override it.
5147
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01005148 An automatic reboot is scheduled at the selected time but may be delayed on the device by up to 24 hours if a user is currently using the device.
5149
5150 Note: Currently, automatic reboots are only enabled while the login screen is being shown or a kiosk app session is in progress. This will change in the future and the policy will always apply, regardless of whether a session of any particular type is in progress or not.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005151
5152 The policy value should be specified in seconds. Values are clamped to be at least 3600 (one hour).''',
5153 },
5154 {
5155 'name': 'RebootAfterUpdate',
5156 'type': 'main',
5157 'schema': { 'type': 'boolean' },
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01005158 'supported_on': ['chrome_os:29-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005159 'device_only': True,
5160 'features': {
5161 'dynamic_refresh': True,
5162 },
5163 'example_value': True,
5164 'id': 193,
5165 'caption': '''Automatically reboot after update''',
5166 'desc': '''Schedule an automatic reboot after a <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> update has been applied.
5167
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01005168 When this policy is set to true, an automatic reboot is scheduled when a <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> update has been applied and a reboot is required to complete the update process. The reboot is scheduled immediately but may be delayed on the device by up to 24 hours if a user is currently using the device.
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005169
5170 When this policy is set to false, no automatic reboot is scheduled after applying a <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> update. The update process is completed when the user next reboots the device.
5171
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01005172 If you set this policy, users cannot change or override it.
5173
5174 Note: Currently, automatic reboots are only enabled while the login screen is being shown or a kiosk app session is in progress. This will change in the future and the policy will always apply, regardless of whether a session of any particular type is in progress or not.''',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005175 },
5176 {
5177 'name': 'VariationsRestrictParameter',
5178 'type': 'string',
5179 'schema': { 'type': 'string' },
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01005180 'supported_on': ['chrome.*:27-'],
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005181 'features': {
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01005182 'dynamic_refresh': False,
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005183 'per_profile': False,
5184 },
5185 'example_value': 'restricted',
5186 'id': 196,
5187 'future': True,
5188 'caption': '''Set the restriction on the fetching of the Variations seed''',
5189 'desc': '''Add a parameter to the fetching of the Variations seed in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
5190
5191 If specified, will add a query parameter called 'restrict' to the URL used to fetch the Variations seed. The value of the parameter will be the value specified in this policy.
5192
5193 If not specified, will not modify the Variations seed URL.''',
5194 },
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01005195 {
5196 'name': 'DeviceVariationsRestrictParameter',
5197 'type': 'string',
5198 'schema': { 'type': 'string' },
5199 'supported_on': ['chrome_os:28-'],
5200 'features': {
5201 'dynamic_refresh': False,
5202 'per_profile': False,
5203 },
5204 'device_only': True,
5205 'example_value': 'restricted',
5206 'id': 199,
5207 'future': True,
5208 'caption': '''Set the restriction on the fetching of the Variations seed''',
5209 'desc': '''Add a parameter to the fetching of the Variations seed in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.
5210
5211 If specified, will add a query parameter called 'restrict' to the URL used to fetch the Variations seed. The value of the parameter will be the value specified in this policy.
5212
5213 If not specified, will not modify the Variations seed URL.''',
5214 },
5215 {
5216 'name': 'Attestation',
5217 'type': 'group',
5218 'caption': 'Remote Attestation',
5219 'desc': 'Configure the remote attestation with TPM mechanism.',
5220 'policies': [
5221 {
Torne (Richard Coles)a93a17c2013-05-15 11:34:50 +01005222 'name': 'AttestationEnabledForDevice',
5223 'type': 'main',
5224 'schema': { 'type': 'boolean' },
5225 'supported_on': ['chrome_os:28-'],
5226 'features': {
5227 'dynamic_refresh': True,
5228 'per_profile': False,
5229 },
5230 'device_only': True,
5231 'example_value': True,
5232 'id': 207,
5233 'caption': '''Enable remote attestation for the device.''',
5234 'desc': '''If true, remote attestation is allowed for the device and a certificate will automatically be generated and uploaded to the Device Management Server.
5235
5236 If it is set to false, or if it is not set, no certificate will be generated and calls to the enterprise.platformKeysPrivate extension API will fail.''',
5237 },
5238 {
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01005239 'name': 'AttestationEnabledForUser',
5240 'type': 'main',
5241 'schema': { 'type': 'boolean' },
5242 'supported_on': ['chrome_os:28-'],
5243 'features': {
5244 'dynamic_refresh': True,
5245 'per_profile': True,
5246 },
5247 'example_value': True,
5248 'id': 200,
5249 'caption': '''Enable remote attestation for the user.''',
5250 'desc': '''If true, the user can use the hardware on Chrome devices to remote attest its identity to the privacy CA via the Enterprise Platform Keys API chrome.enterprise.platformKeysPrivate.challengeUserKey().
5251
5252 If it is set to false, or if it is not set, calls to the API will fail with an error code.''',
5253 },
5254 {
5255 'name': 'AttestationExtensionWhitelist',
5256 'type': 'list',
5257 'schema': {
5258 'type': 'array',
5259 'items': { 'type': 'string' },
5260 },
5261 'supported_on': ['chrome_os:28-'],
5262 'features': {
5263 'dynamic_refresh': True,
5264 'per_profile': True,
5265 },
5266 'example_value': ['ghdilpkmfbfdnomkmaiogjhjnggaggoi'],
5267 'id': 201,
5268 'caption': '''Extensions allowed to to use the remote attestation API.''',
5269 'desc': '''This policy specifies the allowed extensions to use Enterprise Platform Keys API chrome.enterprise.platformKeysPrivate.challengeUserKey() for remote attestation. Extensions must be added to this list to use the API.
5270
5271 If an extension is not in the list, or the list is not set, the call to the API will fail with an error code.''',
5272 },
5273 ],
5274 },
5275 {
Ben Murdocheb525c52013-07-10 11:40:50 +01005276 'name': 'SuppressChromeFrameTurndownPrompt',
5277 'caption': '''Suppress the <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> turndown prompt''',
5278 'desc': '''Suppresses the turndown prompt that appears when a site is rendered by <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>.''',
5279 'type': 'main',
5280 'schema': { 'type': 'boolean' },
5281 'supported_on': ['chrome_frame:29-'],
5282 'features': {
5283 'dynamic_refresh': False,
5284 },
5285 'example_value': True,
5286 'id': 221,
5287 },
5288 {
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01005289 'name': 'LocallyManagedUsers',
5290 'type': 'group',
5291 'caption': '''Locally managed users settings''',
5292 'desc': '''Configure settings for managed users.''',
5293 'policies': [
5294 {
5295 'name': 'ContentPackDefaultFilteringBehavior',
5296 'future': True,
5297 'type': 'int-enum',
5298 'schema': {
5299 'type': 'integer',
5300 'enum': [ 0, 1, 2 ],
5301 },
5302 'items': [
5303 {
5304 'name': 'Allow',
5305 'value': 0,
5306 'caption': '''Allow access to sites outside of content packs.''',
5307 },
5308 {
5309 'name': 'Warn',
5310 'value': 1,
5311 'caption': '''Warn when visiting sites outside of content packs.''',
5312 },
5313 {
5314 'name': 'Block',
5315 'value': 2,
5316 'caption': '''Block access to sites outside of content packs.''',
5317 },
5318 ],
5319 'supported_on': ['chrome.*:28-', 'chrome_os:0.28-'],
5320 'features': {
5321 'dynamic_refresh': True,
5322 'per_profile': True
5323 },
5324 'example_value': 2,
5325 'id': 204,
5326 'caption': '''Default behavior for sites not in any content pack''',
5327 'desc': '''The default behavior for sites not in any content pack.
5328
5329 This policy is for internal use by Chrome itself.''',
5330 },
5331 {
5332 'name': 'ContentPackManualBehaviorHosts',
5333 'future': True,
5334 'type': 'dict',
5335 'schema': {
5336 'type': 'object',
5337 'additionalProperties': {
5338 'type': 'boolean'
5339 }
5340 },
5341 'supported_on': ['chrome.*:28-', 'chrome_os:0.28-'],
5342 'features': {
5343 'dynamic_refresh': True,
5344 'per_profile': True
5345 },
5346 'example_value': {
5347 'www.example.com': True,
5348 'moose.org': False
5349 },
5350 'id': 205,
5351 'caption': '''Managed user manual exception hosts''',
5352 'desc': '''A dictionary mapping hostnames to a boolean flag specifying whether access to the host should be allowed (true) or blocked (false).
5353
5354 This policy is for internal use by Chrome itself.''',
5355 },
5356 {
5357 'name': 'ContentPackManualBehaviorURLs',
5358 'future': True,
5359 'type': 'dict',
5360 'schema': {
5361 'type': 'object',
5362 'additionalProperties': {
5363 'type': 'boolean'
5364 }
5365 },
5366 'supported_on': ['chrome.*:28-', 'chrome_os:0.28-'],
5367 'features': {
5368 'dynamic_refresh': True,
5369 'per_profile': True
5370 },
5371 'example_value': {
5372 'https://www.example.com': True,
5373 'http://moose.org': False
5374 },
5375 'id': 206,
5376 'caption': '''Managed user manual exception URLs''',
5377 'desc': '''A dictionary mapping URLs to a boolean flag specifying whether access to the host should be allowed (true) or blocked (false).
5378
5379 This policy is for internal use by Chrome itself.''',
5380 },
Ben Murdocheb525c52013-07-10 11:40:50 +01005381 {
5382 'name': 'SupervisedUsersEnabled',
5383 'type': 'main',
5384 'schema': { 'type': 'boolean' },
5385 'supported_on': ['chrome_os:29-'],
5386 'device_only': True,
5387 'features': {
5388 'dynamic_refresh': False,
5389 },
5390 'example_value': True,
5391 'id': 219,
5392 'caption': '''Enable supervised users.''',
5393 'desc': '''If set to true, supervised users can be created and used.
5394
5395 If set to false or not configured, supervised-user creation and login will be disabled. All existing supervised users will be hidden.
5396
5397 NOTE: The default behavior for consumer and enterprise devices differs: on consumer devices supervised users are enabled by default, but on enterprise devices they are disabled by default.'''
5398 },
5399 {
5400 'name': 'SupervisedUserCreationEnabled',
5401 'type': 'main',
5402 'schema': { 'type': 'boolean' },
5403 'supported_on': ['chrome.*:29-'],
5404 'features': {
5405 'dynamic_refresh': True,
5406 'per_profile': True,
5407 },
5408 'example_value': True,
5409 'id': 223,
5410 'caption': '''Enable creation of supervised users.''',
5411 'desc': '''If set to false, supervised-user creation by this user will be disabled. Any existing supervised users will still be available.
5412
5413 If set to true or not configured, supervised users can be created and managed by this user.'''
5414 },
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01005415 ],
5416 },
Ben Murdochd3868032013-07-31 10:55:33 +01005417 # TODO(joaodasilva): replace the 'dict' type with a more generic
5418 # 'json' type. The actual schema type for this should be 'array'.
5419 {
5420 'name': 'ManagedBookmarks',
5421 'type': 'dict',
5422 'schema': {
5423 'type': 'object',
5424 'items': {
5425 'type': 'object',
5426 'properties': {
5427 'name': { 'type': 'string' },
5428 'url': { 'type': 'string' },
5429 },
5430 },
5431 },
5432 'supported_on': ['android:30-'],
5433 'features': {
5434 'dynamic_refresh': True,
5435 'per_profile': True,
5436 },
5437 'future': True,
5438 'example_value': { "name": "Google", "url": "google.com" },
5439 'id': 227,
5440 'caption': '''Managed Bookmarks''',
5441 'desc': '''Configures a list of managed bookmarks.
5442
5443 The policy is a list of bookmarks, and each bookmark is a dictionary containing the bookmark "name" and target "url".
5444
5445 These bookmarks are placed in a Managed bookmarks folder inside the Mobile bookmarks. These bookmarks can't be modified by the user.
5446
5447 When this policy is set then the Managed bookmarks are the default folder opened when the bookmarks view is opened in Chrome.
5448
5449 Managed bookmarks are not synced to the user account.''',
5450 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005451 ],
5452 'messages': {
5453 # Messages that are not associated to any policies.
5454 'win_supported_winxpsp2': {
5455 'desc': '''A label specifying the oldest possible compatible version of Windows. This text will appear right next to a label containing the text 'Supported on:'.''',
5456 'text': '''Microsoft Windows XP SP2 or later'''
5457 },
5458 'mac_chrome_preferences': {
5459 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
5460 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferences'''
5461 },
5462 'doc_data_type': {
5463 'desc': '''Caption text of the field 'data type' in the summary chart of a policy in the generated documentation''',
5464 'text': '''Data type:'''
5465 },
5466 'doc_win_reg_loc': {
5467 'desc': '''Caption text of the field 'windows registry location' in the summary chart of a policy in the generated documentation''',
5468 'text': '''Windows registry location:'''
5469 },
5470 'doc_mac_linux_pref_name': {
5471 'desc': '''Caption text of the field 'mac/linux preference name' in the summary chart of a policy in the generated documentation''',
5472 'text': '''Mac/Linux preference name:'''
5473 },
5474 'doc_supported_on': {
5475 'desc': '''Caption text of the list of 'products, platforms and versions where this policy is supported' in the summary chart of a policy in the generated documentation''',
5476 'text': '''Supported on:'''
5477 },
5478 'doc_since_version': {
5479 'desc': '''Text in the summary chart of a policy that specifies the version number in which the policy was introduced.''',
5480 'text': '''since version <ph name="SINCE_VERSION">$6<ex>8</ex></ph>'''
5481 },
5482 'doc_until_version': {
5483 'desc': '''Text in the summary chart of a policy that specifies the version number after which the policy was dropped.''',
5484 'text': '''until version <ph name="UNTIL_VERSION">$6<ex>10</ex></ph>'''
5485 },
5486 'doc_supported_features': {
5487 'desc': '''Caption text of the list of 'policy features that this policy supports' in the summary chart of a policy in the generated documentation''',
5488 'text': '''Supported features:'''
5489 },
5490 'doc_description': {
5491 'desc': '''Caption text of the 'description text' in the summary chart of a policy in the generated documentation''',
5492 'text': '''Description:'''
5493 },
5494 'doc_example_value': {
5495 'desc': '''Caption text of the field 'example value' in the summary chart of a policy in the generated documentation''',
5496 'text': '''Example value:'''
5497 },
5498 'doc_intro': {
5499 'desc': '''Introduction text for the generated policy documentation''',
5500 'text': '''This is the list of policies that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> respects.
5501
5502 You don't need to change these settings by hand! You can download easy-to-use templates from
5503 <ph name="POLICY_TEMPLATE_DOWNLOAD_URL">http://www.chromium.org/administrators/policy-templates<ex>
5504 http://www.chromium.org/administrators/policy-templates</ex></ph>.
5505
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01005506 The list of supported policies is the same for Chromium and Google Chrome.
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005507
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01005508 These policies are strictly intended to be used to configure instances of Chrome internal to your organization. Use of these policies outside of your organization (for example, in a publicly distributed program) is considered malware and will likely be labeled as malware by Google and anti-virus vendors.
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +01005509
Ben Murdoch7dbb3d52013-07-17 14:55:54 +01005510 Note: starting with Chrome 28, policies are loaded directly from the Group Policy API on Windows. Policies manually written to the registry will be ignored. See http://crbug.com/259236 for details.'''
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005511 },
5512 'doc_back_to_top': {
5513 'desc': '''Text of a link in the generated policy documentation, that takes the user to the top of the page''',
5514 'text': '''Back to top'''
5515 },
5516 'doc_supported': {
5517 'desc': '''Appears next to the name of each supported feature in the 'list of supported policy features' in the generated policy documentation''',
5518 'text': '''Yes'''
5519 },
5520 'doc_not_supported': {
5521 'desc': '''Appears next to the name of each unsupported feature in the 'list of supported policy features' in the generated policy documentation''',
5522 'text': '''No'''
5523 },
5524 'doc_name_column_title': {
5525 'desc': '''Appears at the top of the policy summary table, over the column of policy names, in the generated policy documentation''',
5526 'text': '''Policy Name'''
5527 },
5528 'doc_description_column_title': {
5529 'desc': '''Appears at the top of the policy summary table, over the column of short policy descriptions, in the generated policy documentation''',
5530 'text': '''Description'''
5531 },
5532 'doc_feature_dynamic_refresh': {
5533 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''',
5534 'text': '''Dynamic Policy Refresh'''
5535 },
5536 'doc_feature_can_be_recommended': {
5537 'desc': '''The name of the feature that indicates for a given policy that it can be recommended, instead of mandatory''',
5538 'text': '''Can Be Recommended'''
5539 },
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005540 'doc_feature_per_profile': {
5541 'desc': '''The name of the feature that indicates whether a policy is applicable to browser Profiles individually or whether it affects the entire browser.''',
5542 'text': '''Per Profile'''
5543 },
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005544 'doc_deprecated': {
5545 'desc': '''Text appended in parentheses to the policy name to indicate that it has been deprecated''',
5546 'text': 'deprecated',
5547 },
5548 'doc_recommended': {
5549 'desc': '''Text appended in parentheses next to the policies top-level container to indicate that those policies are of the Recommended level''',
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +00005550 'text': 'Default Settings (users can override)',
Torne (Richard Coles)58218062012-11-14 11:43:16 +00005551 },
5552 },
5553 'placeholders': [],
5554}