Commit 9610fc68 authored by Chris Sharp's avatar Chris Sharp Committed by Commit Bot

Add 'items' for some bool policies

Updated the following policies:
ShowAppsShortcutInBookmarkBar
SignedHTTPExchangeEnabled
SpellcheckEnabled
SpellcheckServiceEnabled
UserFeedbackAllowed
WebRtcAllowLegacyTLSProtocols
WPADQuickCheckEnabled

Also add some additional values that can be used to verify a description
describes the unset state, when possible.

Bug: 1139306
Change-Id: Id73b76865d25d7eb1896bf4d75dbaf7bff5a76d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2535034Reviewed-by: default avatarJulian Pastarmov <pastarmovj@chromium.org>
Commit-Queue: Chris Sharp <csharp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#827254}
parent 30ed0a82
......@@ -1478,6 +1478,16 @@
'dynamic_refresh': False,
'per_profile': False,
},
'items': [
{
'value': True,
'caption': 'Enable Web Proxy Auto-Discovery (WPAD) optimizations',
},
{
'value': False,
'caption': 'Disable Web Proxy Auto-Discovery (WPAD) optimization',
},
],
'example_value': True,
'default': True,
'id': 261,
......@@ -7691,6 +7701,20 @@
'dynamic_refresh': True,
'per_profile': True,
},
'items': [
{
'value': True,
'caption': 'Show the apps shortcut in the bookmark bar',
},
{
'value': False,
'caption': 'Do not show the apps shortcut in the bookmark bar',
},
{
'value': None,
'caption': 'Allow the user to decide',
},
],
'example_value': False,
'default': None,
'id': 267,
......@@ -10343,6 +10367,20 @@
'dynamic_refresh': True,
'per_profile': True,
},
'items': [
{
'value': True,
'caption': 'Use a Google web service to help resolve spelling errors',
},
{
'value': False,
'caption': 'Do not use any Google web services to help resolve spelling errors',
},
{
'value': None,
'caption': 'Allow the user to choose if Google web services are used to resolve spelling errors',
},
],
'example_value': False,
'default': None,
'id': 151,
......@@ -17465,6 +17503,20 @@
'dynamic_refresh': True,
'per_profile': True,
},
'items': [
{
'value': True,
'caption': 'Enable spellcheck',
},
{
'value': False,
'caption': 'Disable spellcheck',
},
{
'value': None,
'caption': 'Allow the user to enable or disable spellcheck',
},
],
'example_value': False,
'default': None,
'id': 408,
......@@ -20381,6 +20433,16 @@
'dynamic_refresh': True,
'per_profile': True,
},
'items': [
{
'value': True,
'caption': 'Accept web contents served as Signed HTTP Exchanges',
},
{
'value': False,
'caption': 'Prevent Signed HTTP Exchanges from loading',
},
],
'example_value': True,
'default': True,
'id': 542,
......@@ -20462,6 +20524,16 @@
'schema': {
'type': 'boolean',
},
'items': [
{
'value': True,
'caption': 'Allow users to file feedback',
},
{
'value': False,
'caption': 'Prevent users from filing feedback',
},
],
'supported_on': ['chrome.*:77-', 'chrome_os:77-'],
'features': {
'dynamic_refresh': True,
......@@ -23407,6 +23479,16 @@ If you disable this policy, web page scrolling to specific text fragments via UR
'dynamic_refresh': False,
'per_profile': False,
},
'items': [
{
'value': True,
'caption': 'Allow WebRTC to use obsolete versions of the TLD/DTLS protocol',
},
{
'value': False,
'caption': 'Prevent WebRTC from using obsolete versions of TLS/DTLS',
},
],
'example_value': False,
'default': False,
'id': 787,
......@@ -565,7 +565,7 @@ class PolicyTemplateChecker(object):
# Since the item captions don't appear everywhere the description does,
# try and ensure the items are still described in the descriptions.
value_to_names = {
None: {'None', 'Unset', 'unset'},
None: {'None', 'Unset', 'unset', 'not set', 'not configured'},
True: {'True', 'Enable', 'enable'},
False: {'False', 'Disable', 'disable'},
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment