Home | History | Annotate | Download | only in resources
      1 {
      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
     33 #   'external' - a policy that references external data.
     34 #     NOTE: This type is currently supported on Chrome OS only.
     35 #
     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:
     77 #       'chrome_frame', 'chrome_os', 'android', 'ios',
     78 #       '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.
    104 #
    105 #   The 'max_size' key is used to specify the maximal size of the external data
    106 #   that a policy can reference, in bytes. This annotation is compulsory for
    107 #   policies of type 'external'. It is ignored for all other policy types.
    108 #
    109 #   The 'future' key is used to indicate that a policy isn't yet ready for
    110 #   usage. It defaults to False, and currently affects the generated policy
    111 #   templates and documentation. The policy definition list that Chrome sees
    112 #   will include policies marked with 'future'. If a WIP policy isn't meant to
    113 #   be seen by the policy providers either, the 'supported_on' key should be set
    114 #   to an empty list.
    115 #
    116 # IDs:
    117 #   Since a Protocol Buffer definition is generated from this file, unique and
    118 #   persistent IDs for all fields (but not for groups!) are needed. These are
    119 #   specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
    120 #   because doing so would break the deployed wire format!
    121 #   For your editing convenience: highest ID currently used: 270
    122 #
    123 # Placeholders:
    124 #   The following placeholder strings are automatically substituted:
    125 #     $1 -> Google Chrome / Chromium
    126 #     $2 -> Google Chrome OS / Chromium OS
    127 #     $3 -> Google Chrome Frame / Chromium Frame
    128 #     $6 is reserved for doc_writer
    129 #
    130 # Device Policy:
    131 #   An additional flag device_only (optional, defaults to False) indicates
    132 #   that this policy is only supported as a device-level Cloud Policy.
    133 #   In that case no entry in the UserPolicy Protobuf is generated and
    134 #   it is assumed that it will be added to the DevicePolicy Protobuf manually.
    135 #
    136   'policy_definitions': [
    137     {
    138       'name': 'Homepage',
    139       'type': 'group',
    140       'caption': '''Home page''',
    141       'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it.
    142 
    143       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'.''',
    144       'policies': [
    145         {
    146           'name': 'HomepageLocation',
    147           'type': 'string',
    148           'schema': { 'type': 'string' },
    149           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
    150           'features': {
    151             'can_be_recommended': True,
    152             'dynamic_refresh': True,
    153             'per_profile': True,
    154           },
    155           'example_value': 'http://chromium.org',
    156           'id': 1,
    157           'caption': '''Configure the home page URL''',
    158           'desc': '''Configures the default home page URL in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it.
    159 
    160           The home page is the page opened by the Home button. The pages that open on startup are controlled by the RestoreOnStartup policies.
    161 
    162           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.
    163 
    164           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.
    165 
    166           Leaving this policy not set will allow the user to choose his home page on his own if HomepageIsNewTabPage is not set too.''',
    167           'label': '''Home page URL''',
    168         },
    169         {
    170           'name': 'HomepageIsNewTabPage',
    171           'type': 'main',
    172           'schema': { 'type': 'boolean' },
    173           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
    174           'features': {
    175             'can_be_recommended': True,
    176             'dynamic_refresh': True,
    177             'per_profile': True,
    178           },
    179           'example_value': True,
    180           'id': 2,
    181           'caption': '''Use New Tab Page as homepage''',
    182           '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.
    183 
    184           If you enable this setting, the New Tab Page is always used for the home page, and the home page URL location is ignored.
    185 
    186           If you disable this setting, the user's homepage will never be the New Tab Page, unless its URL is set to 'chrome://newtab'.
    187 
    188           If you enable or disable this setting, users cannot change their homepage type in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
    189 
    190           Leaving this policy not set will allow the user to choose whether the new tab page is his home page on his own.''',
    191         },
    192       ],
    193     },
    194     {
    195       'name': 'DefaultBrowserSettingEnabled',
    196       'type': 'main',
    197       'schema': { 'type': 'boolean' },
    198       'supported_on': ['chrome.*:11-'],
    199       'features': {
    200         'dynamic_refresh': True,
    201         'per_profile': False,
    202       },
    203       'example_value': True,
    204       'id': 3,
    205       'caption': '''Set Chrome as Default Browser''',
    206       'desc': '''Configures the default browser checks in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing them.
    207 
    208       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.
    209 
    210       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.
    211 
    212       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.''',
    213       'label': '''Set Chrome as Default Browser''',
    214     },
    215     {
    216       'name': 'ApplicationLocaleValue',
    217       'type': 'string',
    218       'schema': { 'type': 'string' },
    219       'supported_on': ['chrome.win:8-'],
    220       'features': {
    221         'can_be_recommended': True,
    222         'dynamic_refresh': False,
    223         'per_profile': False,
    224       },
    225       'example_value': 'en',
    226       'id': 4,
    227       'caption': '''Application locale''',
    228       'desc': '''Configures the application locale in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing the locale.
    229 
    230       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.
    231 
    232       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'.''',
    233       'label': '''Application locale''',
    234     },
    235     {
    236       'name': 'AlternateErrorPagesEnabled',
    237       'type': 'main',
    238       'schema': { 'type': 'boolean' },
    239       'supported_on': [
    240         'chrome.*:8-',
    241         'chrome_os:11-',
    242         'android:30-',
    243       ],
    244       'features': {
    245         'can_be_recommended': True,
    246         'dynamic_refresh': True,
    247         'per_profile': True,
    248       },
    249       'example_value': True,
    250       'id': 5,
    251       'caption': '''Enable alternate error pages''',
    252       '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.
    253 
    254       If you enable this setting, alternate error pages are used.
    255 
    256       If you disable this setting, alternate error pages are never used.
    257 
    258       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>.
    259 
    260       If this policy is left not set, this will be enabled but the user will be able to change it.''',
    261     },
    262     {
    263       'name': 'SearchSuggestEnabled',
    264       'type': 'main',
    265       'schema': { 'type': 'boolean' },
    266       'supported_on': [
    267         'chrome.*:8-',
    268         'chrome_os:11-',
    269         'android:30-',
    270         'ios:34-',
    271       ],
    272       'features': {
    273         'can_be_recommended': True,
    274         'dynamic_refresh': True,
    275         'per_profile': True,
    276       },
    277       'example_value': True,
    278       'id': 6,
    279       'caption': '''Enable search suggestions''',
    280       'desc': '''Enables search suggestions in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s omnibox and prevents users from changing this setting.
    281 
    282       If you enable this setting, search suggestions are used.
    283 
    284       If you disable this setting, search suggestions are never used.
    285 
    286       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>.
    287 
    288       If this policy is left not set, this will be enabled but the user will be able to change it.''',
    289     },
    290     {
    291       'name': 'DnsPrefetchingEnabled',
    292       'type': 'main',
    293       'schema': { 'type': 'boolean' },
    294       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
    295       'features': {
    296         'can_be_recommended': True,
    297         'dynamic_refresh': True,
    298         'per_profile': True,
    299       },
    300       'example_value': True,
    301       'id': 7,
    302       'caption': '''Enable network prediction''',
    303       'desc': '''Enables network prediction in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
    304 
    305       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.
    306 
    307       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>.
    308 
    309       If this policy is left not set, this will be enabled but the user will be able to change it.''',
    310     },
    311     {
    312       'name': 'WPADQuickCheckEnabled',
    313       'type': 'main',
    314       'schema': { 'type': 'boolean' },
    315       'supported_on': [ 'chrome.*:35-', 'chrome_os:35-' ],
    316       'features': {
    317         'dynamic_refresh': False,
    318         'per_profile': False,
    319       },
    320       'example_value': True,
    321       'id': 261,
    322       'caption': '''Enable WPAD optimization''',
    323       'desc': '''Enables WPAD optimization in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
    324 
    325       Setting this to enabled causes Chrome to wait for a shorter interval for DNS-based WPAD servers.
    326 
    327       If this policy is left not set, this will be enabled and the user will not
    328       be able to change it.''',
    329     },
    330     {
    331       'name': 'DisableSpdy',
    332       'type': 'main',
    333       'schema': { 'type': 'boolean' },
    334       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
    335       'features': {
    336         'dynamic_refresh': True,
    337         'per_profile': False,
    338       },
    339       'example_value': True,
    340       'id': 8,
    341       'caption': '''Disable SPDY protocol''',
    342       'desc': '''Disables use of the SPDY protocol in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
    343 
    344       If this policy is enabled the SPDY protocol will not be available in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
    345 
    346       Setting this policy to disabled will allow the usage of SPDY.
    347 
    348       If this policy is left not set, SPDY will be available.''',
    349     },
    350     {
    351       'name': 'DisabledSchemes',
    352       'type': 'list',
    353       'schema': {
    354         'type': 'array',
    355         'items': { 'type': 'string' },
    356       },
    357       'supported_on': ['chrome.*:12-', 'chrome_os:12-'],
    358       'features': {
    359         'dynamic_refresh': True,
    360         'per_profile': False,
    361       },
    362       'deprecated': True,
    363       'example_value': ['file', 'https'],
    364       'id': 85,
    365       'caption': '''Disable URL protocol schemes''',
    366       'desc': '''This policy is deprecated, please use URLBlacklist instead.
    367 
    368       Disables the listed protocol schemes in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
    369 
    370       URLs using a scheme from this list will not load and can not be navigated to.
    371 
    372       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>.''',
    373       'label': '''List of disabled protocol schemes''',
    374     },
    375     {
    376       'name': 'JavascriptEnabled',
    377       'type': 'main',
    378       'schema': { 'type': 'boolean' },
    379       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
    380       'features': {
    381         'dynamic_refresh': True,
    382         'per_profile': True,
    383       },
    384       'deprecated': True,
    385       'example_value': True,
    386       'id': 9,
    387       'caption': '''Enable JavaScript''',
    388       'desc': '''This policy is deprecated, please use DefaultJavaScriptSetting instead.
    389 
    390       Can be used to disabled JavaScript in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
    391 
    392       If this setting is disabled, web pages cannot use JavaScript and the user cannot change that setting.
    393 
    394       If this setting is enabled or not set, web pages can use JavaScript but the user can change that setting.''',
    395     },
    396     {
    397       'name': 'IncognitoEnabled',
    398       'type': 'main',
    399       'schema': { 'type': 'boolean' },
    400       'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
    401       'features': {
    402         'dynamic_refresh': True,
    403         'per_profile': True,
    404       },
    405       'deprecated': True,
    406       'example_value': False,
    407       'id': 10,
    408       'caption': '''Enable Incognito mode''',
    409       'desc': '''This policy is deprecated. Please, use IncognitoModeAvailability instead.
    410       Enables Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
    411 
    412       If this setting is enabled or not configured, users can open web pages in incognito mode.
    413 
    414       If this setting is disabled, users cannot open web pages in incognito mode.
    415 
    416       If this policy is left not set, this will be enabled and the user will be able to use incognito mode.''',
    417     },
    418     {
    419       'name': 'IncognitoModeAvailability',
    420       'type': 'int-enum',
    421       'schema': {
    422         'type': 'integer',
    423         'enum': [ 0, 1, 2 ],
    424       },
    425       'items': [
    426         {
    427           'name': 'Enabled',
    428           'value': 0,
    429           'caption': '''Incognito mode available''',
    430         },
    431         {
    432           'name': 'Disabled',
    433           'value': 1,
    434           'caption': '''Incognito mode disabled''',
    435         },
    436         {
    437           'name': 'Forced',
    438           'value': 2,
    439           'caption': '''Incognito mode forced''',
    440         },
    441       ],
    442       'supported_on': [
    443         'chrome.*:14-',
    444         'chrome_os:14-',
    445         'android:30-',
    446       ],
    447       'features': {
    448         'dynamic_refresh': True,
    449         'per_profile': True,
    450       },
    451       'example_value': 1,
    452       'id': 93,
    453       'caption': '''Incognito mode availability''',
    454       'desc': '''Specifies whether the user may open pages in Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
    455 
    456       If 'Enabled' is selected or the policy is left unset, pages may be opened in Incognito mode.
    457 
    458       If 'Disabled' is selected, pages may not be opened in Incognito mode.
    459 
    460       If 'Forced' is selected, pages may be opened ONLY in Incognito mode.''',
    461     },
    462     {
    463       'name': 'SavingBrowserHistoryDisabled',
    464       'type': 'main',
    465       'schema': { 'type': 'boolean' },
    466       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
    467       'features': {
    468         'dynamic_refresh': True,
    469         'per_profile': True,
    470       },
    471       'example_value': True,
    472       'id': 11,
    473       'caption': '''Disable saving browser history''',
    474       'desc': '''Disables saving browser history in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
    475 
    476       If this setting is enabled, browsing history is not saved.
    477 
    478       If this setting is disabled or not set, browsing history is saved.''',
    479     },
    480     {
    481       'name': 'AllowDeletingBrowserHistory',
    482       'future': True,
    483       'type': 'main',
    484       'schema': { 'type': 'boolean' },
    485       # TODO(pamg): Restore the correct 'supported' line when the UI properly
    486       # shows that deleting browser history is disabled. Also fix the 'os' line
    487       # in policy_test_cases.json.
    488       # 'supported_on': ['chrome.*:27-', 'chrome_os:27-'],
    489       'supported_on': [],
    490       'features': {
    491         'dynamic_refresh': True,
    492         'per_profile': True,
    493       },
    494       'example_value': True,
    495       'id': 187,
    496       'caption': '''Enable deleting browser and download history''',
    497       '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.
    498 
    499       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.
    500 
    501       If this setting is enabled or not set, browsing and download history can be deleted.
    502 
    503       If this setting is disabled, browsing and download history cannot be deleted.''',
    504     },
    505     {
    506       'name': 'RemoteAccess',
    507       'type': 'group',
    508       'caption': '''Configure remote access options''',
    509       'desc': '''Configure remote access options in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
    510 
    511       These features are ignored unless the Remote Access web application is installed.''',
    512       'policies': [
    513         {
    514           'name': 'RemoteAccessClientFirewallTraversal',
    515           'type': 'main',
    516           'schema': { 'type': 'boolean' },
    517           'supported_on': ['chrome.*:14-', 'chrome_os:14-'],
    518           'features': {
    519             'dynamic_refresh': True,
    520           },
    521           # Mark this 'removed' when http://crbug.com/100216 is resolved.
    522           'deprecated': True,
    523           'example_value': False,
    524           'id': 94,
    525           'caption': '''Enable firewall traversal from remote access client''',
    526           'desc': '''This policy is no longer supported.
    527           Enables usage of STUN and relay servers when connecting to a remote client.
    528 
    529           If this setting is enabled, then this machine can discover and connect to remote host machines even if they are separated by a firewall.
    530 
    531           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.''',
    532         },
    533         {
    534           'name': 'RemoteAccessHostFirewallTraversal',
    535           'type': 'main',
    536           'schema': { 'type': 'boolean' },
    537           'supported_on': ['chrome.*:14-'],
    538           'features': {
    539             'dynamic_refresh': True,
    540             'per_profile': False,
    541           },
    542           'example_value': False,
    543           'id': 95,
    544           'caption': '''Enable firewall traversal from remote access host''',
    545           'desc': '''Enables usage of STUN servers when remote clients are trying to establish a connection to this machine.
    546 
    547           If this setting is enabled, then remote clients can discover and connect to this machines even if they are separated by a firewall.
    548 
    549           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.
    550 
    551           If this policy is left not set the setting will be enabled.''',
    552         },
    553         {
    554           'name': 'RemoteAccessHostDomain',
    555           'type': 'string',
    556           'schema': { 'type': 'string' },
    557           'supported_on': ['chrome.*:22-'],
    558           'features': {
    559             'dynamic_refresh': True,
    560             'per_profile': False,
    561           },
    562           'example_value': 'my-awesome-domain.com',
    563           'id': 154,
    564           'caption': '''Configure the required domain name for remote access hosts''',
    565           'desc': '''Configures the required host domain name that will be imposed on remote access hosts and prevents users from changing it.
    566 
    567           If this setting is enabled, then hosts can be shared only using accounts registered on the specified domain name.
    568 
    569           If this setting is disabled or not set, then hosts can be shared using any account.''',
    570         },
    571         {
    572           'name': 'RemoteAccessHostRequireTwoFactor',
    573           'type': 'main',
    574           'schema': { 'type': 'boolean' },
    575           'supported_on': ['chrome.*:22-'],
    576           'features': {
    577             'dynamic_refresh': True,
    578             'per_profile': False,
    579           },
    580           'example_value': False,
    581           'id': 155,
    582           'caption': '''Enable two-factor authentication for remote access hosts''',
    583           'desc': '''Enables two-factor authentication for remote access hosts instead of a user-specified PIN.
    584 
    585           If this setting is enabled, then users must provide a valid two-factor code when accessing a host.
    586 
    587           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.''',
    588         },
    589         {
    590           'name': 'RemoteAccessHostTalkGadgetPrefix',
    591           'type': 'string',
    592           'schema': { 'type': 'string' },
    593           'supported_on': ['chrome.*:22-'],
    594           'features': {
    595             'dynamic_refresh': True,
    596             'per_profile': False,
    597           },
    598           'example_value': 'chromoting-host',
    599           'id': 156,
    600           'caption': '''Configure the TalkGadget prefix for remote access hosts''',
    601           'desc': '''Configures the TalkGadget prefix that will be used by remote access hosts and prevents users from changing it.
    602 
    603           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'.
    604 
    605           If this setting is enabled, then hosts will use the custom domain name when accessing the TalkGadget instead of the default domain name.
    606 
    607           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.
    608 
    609           Remote access clients are not affected by this policy setting. They will always use 'chromoting-client.talkgadget.google.com' to access the TalkGadget.''',
    610         },
    611         {
    612           'name': 'RemoteAccessHostRequireCurtain',
    613           'type': 'main',
    614           'schema': { 'type': 'boolean' },
    615           'supported_on': ['chrome.*:23-'],
    616           'features': {
    617             'dynamic_refresh': True,
    618             'per_profile': False,
    619           },
    620           'example_value': False,
    621           'id': 157,
    622           'caption': '''Enable curtaining of remote access hosts''',
    623           'desc': '''Enables curtaining of remote access hosts while a connection is in progress.
    624 
    625           If this setting is enabled, then hosts' physical input and output devices are disabled while a remote connection is in progress.
    626 
    627           If this setting is disabled or not set, then both local and remote users can interact with the host when it is being shared.''',
    628         },
    629         {
    630           'name': 'RemoteAccessHostAllowClientPairing',
    631           'type': 'main',
    632           'schema': { 'type': 'boolean' },
    633           'supported_on': ['chrome.*:30-'],
    634           'features': {
    635             'dynamic_refresh': True,
    636             'per_profile': False,
    637           },
    638           'example_value': False,
    639           'id': 234,
    640           'caption': '''Enable or disable PIN-less authentication''',
    641           '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.
    642 
    643           If this setting is disabled, then this feature will not be available.''',
    644         },
    645         {
    646           'name': 'RemoteAccessHostAllowGnubbyAuth',
    647           'type': 'main',
    648           'schema': { 'type': 'boolean' },
    649           'supported_on': ['chrome.*:35-'],
    650           'features': {
    651             'dynamic_refresh': True,
    652             'per_profile': False,
    653           },
    654           'example_value': True,
    655           'id': 257,
    656           'caption': '''Allow gnubby authentication''',
    657           'desc': '''If this setting is enabled, then gnubby authentication requests will be proxied across a remote host connection.
    658 
    659           If this setting is disabled or not configured, gnubby authentication requests will not be proxied.''',
    660         },
    661         {
    662           'name': 'RemoteAccessHostAllowRelayedConnection',
    663           'type': 'main',
    664           'schema': { 'type': 'boolean' },
    665           'supported_on': ['chrome.*:36-'],
    666           'features': {
    667             'dynamic_refresh': True,
    668             'per_profile': False,
    669           },
    670           'example_value': False,
    671           'id': 263,
    672           'caption': '''Enable the use of relay servers by the remote access host''',
    673           'desc': '''Enables usage of relay servers when remote clients are trying to establish a connection to this machine.
    674 
    675           If this setting is enabled, then remote clients can use relay servers to connect to this machine when a direct connection is not available (e.g. due to firewall restrictions).
    676 
    677           Note that if the policy <ph name="REMOTEACCESSHOSTFIREWALLTRAVERSAL_POLICY_NAME">RemoteAccessHostFirewallTraversal</ph> is disabled, this policy will be ignored.
    678 
    679           If this policy is left not set the setting will be enabled.''',
    680         },
    681         {
    682           'name': 'RemoteAccessHostUdpPortRange',
    683           'type': 'string',
    684           'schema': { 'type': 'string' },
    685           'supported_on': ['chrome.*:36-'],
    686           'features': {
    687             'dynamic_refresh': True,
    688             'per_profile': False,
    689           },
    690           'example_value': '12400-12409',
    691           'id': 264,
    692           'caption': '''Restrict the UDP port range used by the remote access host''',
    693           'desc': '''Restricts the UDP port range used by the remote access host in this machine.
    694 
    695           If this policy is left not set, or if it is set to an empty string, the remote access host will be allowed to use any available port, unless the policy <ph name="REMOTEACCESSHOSTFIREWALLTRAVERSAL_POLICY_NAME">RemoteAccessHostFirewallTraversal</ph> is disabled, in which case the remote access host will use UDP ports in the 12400-12409 range.''',
    696         },
    697       ],
    698     },
    699     {
    700       'name': 'PrintingEnabled',
    701       'type': 'main',
    702       'schema': { 'type': 'boolean' },
    703       'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
    704       'features': {
    705         'dynamic_refresh': True,
    706         'per_profile': True,
    707       },
    708       'example_value': True,
    709       'id': 12,
    710       'caption': '''Enable printing''',
    711       'desc': '''Enables printing in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
    712 
    713       If this setting is enabled or not configured, users can print.
    714 
    715       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.''',
    716     },
    717     {
    718       'name': 'CloudPrintProxyEnabled',
    719       'type': 'main',
    720       'schema': { 'type': 'boolean' },
    721       'supported_on': ['chrome.*:17-'],
    722       'features': {
    723         'dynamic_refresh': True,
    724         'per_profile': True,
    725       },
    726       'example_value': True,
    727       'id': 13,
    728       'caption': '''Enable <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> proxy''',
    729       '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.
    730 
    731       If this setting is enabled or not configured, users can enable the cloud print proxy by authentication with their Google account.
    732 
    733       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>.''',
    734     },
    735     {
    736       'name': 'ForceSafeSearch',
    737       'type': 'main',
    738       'schema': { 'type': 'boolean' },
    739       'supported_on': ['chrome.*:25-', 'chrome_os:25-', 'android:30-'],
    740       'features': {
    741         'can_be_recommended': False,
    742         'dynamic_refresh': True,
    743         'per_profile': True,
    744       },
    745       'example_value': False,
    746       'id': 162,
    747       'caption': '''Force SafeSearch''',
    748       'desc': '''Forces queries in Google Web Search to be done with SafeSearch set to active and prevents users from changing this setting.
    749 
    750       If you enable this setting, SafeSearch in Google Search is always active.
    751 
    752       If you disable this setting or do not set a value, SafeSearch in Google Search is not enforced.''',
    753     },
    754     {
    755       'name': 'SafeBrowsingEnabled',
    756       'type': 'main',
    757       'schema': { 'type': 'boolean' },
    758       'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
    759       'features': {
    760         'can_be_recommended': True,
    761         'dynamic_refresh': True,
    762         'per_profile': True,
    763       },
    764       'example_value': True,
    765       'id': 14,
    766       'caption': '''Enable Safe Browsing''',
    767       'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s Safe Browsing feature and prevents users from changing this setting.
    768 
    769       If you enable this setting, Safe Browsing is always active.
    770 
    771       If you disable this setting, Safe Browsing is never active.
    772 
    773       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>.
    774 
    775       If this policy is left not set, this will be enabled but the user will be able to change it.''',
    776     },
    777     {
    778       'name': 'MetricsReportingEnabled',
    779       'type': 'main',
    780       'schema': { 'type': 'boolean' },
    781       'supported_on': ['chrome.*:8-'],
    782       'features': {
    783         'can_be_recommended': True,
    784         'dynamic_refresh': False,
    785         'per_profile': False,
    786       },
    787       'example_value': True,
    788       'id': 15,
    789       'caption': '''Enable reporting of usage and crash-related data''',
    790       '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.
    791 
    792       If you enable this setting, anonymous reporting of usage and crash-related data is sent to Google.
    793 
    794       If you disable this setting, anonymous reporting of usage and crash-related data is never sent to Google.
    795 
    796       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>.
    797 
    798       If this policy is left not set the setting will be what the user chose upon installation / first run.''',
    799     },
    800     {
    801       'name': 'PasswordManager',
    802       'type': 'group',
    803       'caption': '''Password manager''',
    804       '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.''',
    805       'policies': [
    806         {
    807           'name': 'PasswordManagerEnabled',
    808           'type': 'main',
    809           'schema': { 'type': 'boolean' },
    810           'supported_on': [
    811             'chrome.*:8-',
    812             'chrome_os:11-',
    813             'android:30-',
    814             'ios:34-',
    815           ],
    816           'features': {
    817             'can_be_recommended': True,
    818             'dynamic_refresh': True,
    819             'per_profile': True,
    820           },
    821           'example_value': True,
    822           'id': 16,
    823           'caption': '''Enable the password manager''',
    824           'desc': '''Enables saving passwords and using saved passwords in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
    825 
    826           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.
    827 
    828           If you disable this setting, users are not able to save passwords or use already saved passwords.
    829 
    830           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>.
    831 
    832           If this policy is left not set, this will be enabled but the user will be able to change it.''',
    833         },
    834         {
    835           'name': 'PasswordManagerAllowShowPasswords',
    836           'type': 'main',
    837           'schema': { 'type': 'boolean' },
    838           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
    839           'features': {
    840             'dynamic_refresh': True,
    841             'per_profile': True,
    842           },
    843           'example_value': False,
    844           'id': 17,
    845           'caption': '''Allow users to show passwords in Password Manager''',
    846           'desc': '''Controls whether the user may show passwords in clear text in the password manager.
    847 
    848           If you disable this setting, the password manager does not allow showing stored passwords in clear text in the password manager window.
    849 
    850           If you enable or do not set this policy, users can view their passwords in clear text in the password manager.''',
    851         },
    852       ],
    853     },
    854     {
    855       'name': 'AutoFillEnabled',
    856       'type': 'main',
    857       'schema': { 'type': 'boolean' },
    858       'supported_on': [
    859         'chrome.*:8-',
    860         'chrome_os:11-',
    861         'android:30-',
    862         'ios:34-',
    863       ],
    864       'features': {
    865         'can_be_recommended': True,
    866         'dynamic_refresh': True,
    867         'per_profile': True,
    868       },
    869       'example_value': False,
    870       'id': 18,
    871       'caption': '''Enable AutoFill''',
    872       '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.
    873 
    874       If you disable this setting, AutoFill will be inaccessible to users.
    875 
    876       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.''',
    877     },
    878     {
    879       'name': 'DisabledPlugins',
    880       'type': 'list',
    881       'schema': {
    882         'type': 'array',
    883         'items': { 'type': 'string' },
    884       },
    885       'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
    886       'features': {
    887         'dynamic_refresh': True,
    888         'per_profile': True,
    889       },
    890       'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
    891       'id': 19,
    892       'caption': '''Specify a list of disabled plugins''',
    893       '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.
    894 
    895       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.
    896 
    897       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.
    898 
    899       Note that this policy can be overridden by EnabledPlugins and DisabledPluginsExceptions.
    900 
    901       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.''',
    902       'label': '''List of disabled plugins''',
    903     },
    904     {
    905       'name': 'EnabledPlugins',
    906       'type': 'list',
    907       'schema': {
    908         'type': 'array',
    909         'items': { 'type': 'string' },
    910       },
    911       'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
    912       'features': {
    913         'dynamic_refresh': True,
    914         'per_profile': True,
    915       },
    916       'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
    917       'id': 78,
    918       'caption': '''Specify a list of enabled plugins''',
    919       '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.
    920 
    921       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.
    922 
    923       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.
    924 
    925       Note that this policy overrides both DisabledPlugins and DisabledPluginsExceptions.
    926 
    927       If this policy is left not set the user can disable any plugin installed on the system.''',
    928       'label': '''List of enabled plugins''',
    929     },
    930     {
    931       'name': 'DisabledPluginsExceptions',
    932       'type': 'list',
    933       'schema': {
    934         'type': 'array',
    935         'items': { 'type': 'string' },
    936       },
    937       'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
    938       'features': {
    939         'dynamic_refresh': True,
    940         'per_profile': True,
    941       },
    942       'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
    943       'id': 79,
    944       'caption': '''Specify a list of plugins that the user can enable or disable''',
    945       'desc': '''Specifies a list of plugins that user can enable or disable in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
    946 
    947       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.
    948 
    949       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.
    950 
    951       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.
    952 
    953       Note that both the plugin name and the plugin's group name have to be exempted. Each plugin group is shown in a separate section in about:plugins; each section may have one or more plugins. For example, the "Shockwave Flash" plugin belongs to the "Adobe Flash Player" group, and both names have to have a match in the exceptions list if that plugin is to be exempted from the blacklist.
    954 
    955       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.''',
    956       'label': '''List of exceptions to the list of disabled plugins''',
    957     },
    958     {
    959       'name': 'DisablePluginFinder',
    960       'type': 'main',
    961       'schema': { 'type': 'boolean' },
    962       'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
    963       'features': {
    964         'dynamic_refresh': True,
    965         'per_profile': False,
    966       },
    967       'example_value': True,
    968       'id': 66,
    969       'caption': '''Specify whether the plugin finder should be disabled''',
    970       '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>.
    971 
    972       Setting this option to disabled or leave it not set the plugin finder will be active.''',
    973       'label': '''Disable plugin finder''',
    974     },
    975     {
    976       'name': 'SyncDisabled',
    977       'type': 'main',
    978       'schema': { 'type': 'boolean' },
    979       'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
    980       'features': {
    981         'dynamic_refresh': True,
    982         'per_profile': True,
    983       },
    984       'example_value': True,
    985       'id': 20,
    986       'caption': '''Disable synchronization of data with Google''',
    987       '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.
    988 
    989       If you enable this setting, users cannot change or override this setting in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
    990 
    991       If this policy is left not set Google Sync will be available for the user to choose whether to use it or not.''',
    992     },
    993     {
    994       'name': 'SigninAllowed',
    995       'type': 'main',
    996       'schema': { 'type': 'boolean' },
    997       'supported_on': ['chrome.*:27-'],
    998       'features': {
    999         'dynamic_refresh': True,
   1000         'per_profile': True,
   1001       },
   1002       'example_value': True,
   1003       'id': 190,
   1004       'caption': '''Allows sign in to Chrome''',
   1005       '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.
   1006 
   1007       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.''',
   1008     },
   1009     {
   1010       'name': 'EnableWebBasedSignin',
   1011       'type': 'main',
   1012       'schema': { 'type': 'boolean' },
   1013       'supported_on': ['chrome.*:35-'],
   1014       'features': {
   1015         'dynamic_refresh': False,
   1016         'per_profile': False,
   1017       },
   1018       'future': True,
   1019       'example_value': False,
   1020       'id': 265,
   1021       'caption': '''Enables the old web-based signin''',
   1022       'desc': '''Enables the old web-based signin flow.
   1023 
   1024       This setting is useful for enterprise customers who are using SSO solutions that are not compatible with the new inline signin flow yet.
   1025       If you enable this setting, the old web-based signin flow would be used.
   1026       If you disable this setting or leave it not set, the new inline signin flow would be used by default. Users may still enable the old web-based signin flow through the command line flag --enable-web-based-signin.
   1027 
   1028       The experimental setting will be removed in the future when the inline signin fully supports all SSO signin flows.''',
   1029     },
   1030     {
   1031       'name': 'UserDataDir',
   1032       'type': 'string',
   1033       'schema': { 'type': 'string' },
   1034       'supported_on': ['chrome.win:11-', 'chrome.mac:11-'],
   1035       'features': {
   1036         'dynamic_refresh': False,
   1037         'per_profile': False,
   1038       },
   1039       'example_value': '${users}/${user_name}/Chrome',
   1040       'id': 63,
   1041       'caption': '''Set user data directory''',
   1042       'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing user data.
   1043 
   1044       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.
   1045 
   1046       See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
   1047 
   1048       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.''',
   1049       'label': '''Set user data directory''',
   1050     },
   1051     {
   1052       'name': 'DiskCacheDir',
   1053       'type': 'string',
   1054       'schema': { 'type': 'string' },
   1055       'supported_on': ['chrome.*:13-'],
   1056       'features': {
   1057         'dynamic_refresh': False,
   1058         'per_profile': False,
   1059       },
   1060       'example_value': '${user_home}/Chrome_cache',
   1061       'id': 88,
   1062       'caption': '''Set disk cache directory''',
   1063       'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing cached files on the disk.
   1064 
   1065       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.
   1066 
   1067       See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
   1068 
   1069       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.''',
   1070       'label': '''Set disk cache directory''',
   1071     },
   1072     {
   1073       'name': 'DiskCacheSize',
   1074       'type': 'int',
   1075       'schema': { 'type': 'integer' },
   1076       'supported_on': ['chrome.*:17-'],
   1077       'features': {
   1078         'dynamic_refresh': False,
   1079         'per_profile': False,
   1080       },
   1081       'example_value': 104857600,
   1082       'id': 110,
   1083       'caption': '''Set disk cache size in bytes''',
   1084       '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.
   1085 
   1086       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. The value specified in this policy is not a hard boundary but rather a suggestion to the caching system, any value below a few megabytes is too small and will be rounded up to a sane minimum.
   1087 
   1088       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.
   1089 
   1090       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.''',
   1091       'label': '''Set disk cache size''',
   1092     },
   1093     {
   1094       'name': 'MediaCacheSize',
   1095       'type': 'int',
   1096       'schema': { 'type': 'integer' },
   1097       'supported_on': ['chrome.*:17-'],
   1098       'features': {
   1099         'dynamic_refresh': False,
   1100         'per_profile': False,
   1101       },
   1102       'example_value': 104857600,
   1103       'id': 111,
   1104       'caption': '''Set media disk cache size in bytes''',
   1105       '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.
   1106 
   1107       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. The value specified in this policy is not a hard boundary but rather a suggestion to the caching system, any value below a few megabytes is too small and will be rounded up to a sane minimum.
   1108 
   1109       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.
   1110 
   1111       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.''',
   1112       'label': '''Set media disk cache size''',
   1113     },
   1114     {
   1115       'name': 'DownloadDirectory',
   1116       'type': 'string',
   1117       'schema': { 'type': 'string' },
   1118       'supported_on': ['chrome.*:11-', 'chrome_os:35-'],
   1119       'features': {
   1120         'can_be_recommended': True,
   1121         'dynamic_refresh': True,
   1122         'per_profile': True,
   1123       },
   1124       'example_value': '/home/${user_name}/Downloads',
   1125       'id': 64,
   1126       'caption': '''Set download directory''',
   1127       'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for downloading files.
   1128 
   1129       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.
   1130 
   1131       See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
   1132 
   1133       If this policy is left not set the default download directory will be used and the user will be able to change it.''',
   1134       'label': '''Set download directory''',
   1135     },
   1136     {
   1137       'name': 'ClearSiteDataOnExit',
   1138       'type': 'main',
   1139       'schema': { 'type': 'boolean' },
   1140       'supported_on': ['chrome.*:11-28', 'chrome_os:11-28'],
   1141       'features': {
   1142         'can_be_recommended': True,
   1143         'dynamic_refresh': True,
   1144         'per_profile': True,
   1145       },
   1146       'deprecated': True,
   1147       'example_value': True,
   1148       'id': 65,
   1149       'caption': '''Clear site data on browser shutdown (deprecated)''',
   1150       'desc': '''This policy has been retired as of <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> version 29.''',
   1151       'label': '''Clear site data on browser shutdown (deprecated)''',
   1152     },
   1153     {
   1154       'name': 'Proxy',
   1155       'type': 'group',
   1156       'caption': '''Proxy server''',
   1157       '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.
   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 auto detect the proxy server, all other options are ignored.
   1162 
   1163       For detailed examples, visit:
   1164       <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>
   1165 
   1166       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.
   1167 
   1168       Leaving these policies not set will allow the users to choose the proxy settings on their own.''',
   1169       'policies': [
   1170         {
   1171           'name': 'ProxyMode',
   1172           'type': 'string-enum',
   1173           'schema': {
   1174             'type': 'string',
   1175             'enum': [
   1176               'direct',
   1177               'auto_detect',
   1178               'pac_script',
   1179               'fixed_servers',
   1180               'system'
   1181             ],
   1182           },
   1183           'items': [
   1184             {
   1185               'name': 'ProxyDisabled',
   1186               'value': 'direct',
   1187               'caption': '''Never use a proxy''',
   1188             },
   1189             {
   1190               'name': 'ProxyAutoDetect',
   1191               'value': 'auto_detect',
   1192               'caption': '''Auto detect proxy settings''',
   1193             },
   1194             {
   1195               'name': 'ProxyPacScript',
   1196               'value': 'pac_script',
   1197               'caption': '''Use a .pac proxy script''',
   1198             },
   1199             {
   1200               'name': 'ProxyFixedServers',
   1201               'value': 'fixed_servers',
   1202               'caption': '''Use fixed proxy servers''',
   1203             },
   1204             {
   1205               'name': 'ProxyUseSystem',
   1206               'value': 'system',
   1207               'caption': '''Use system proxy settings''',
   1208             },
   1209           ],
   1210           'supported_on': [
   1211             'chrome.*:10-',
   1212             'chrome_os:11-',
   1213             'android:30-',
   1214             'ios:34-',
   1215           ],
   1216           'features': {
   1217             'dynamic_refresh': True,
   1218             'per_profile': True,
   1219           },
   1220           'example_value': 'direct',
   1221           'id': 21,
   1222           'caption': '''Choose how to specify proxy server settings''',
   1223           '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.
   1224 
   1225           If you choose to never use a proxy server and always connect directly, all other options are ignored.
   1226 
   1227           If you choose to use system proxy settings or auto detect the proxy server, all other options are ignored.
   1228 
   1229           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'.
   1230 
   1231           If you choose to use a .pac proxy script, you must specify the URL to the script in 'URL to a proxy .pac file'.
   1232 
   1233           For detailed examples, visit:
   1234           <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>
   1235 
   1236           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.
   1237 
   1238           Leaving this policy not set will allow the users to choose the proxy settings on their own.''',
   1239         },
   1240         {
   1241           'name': 'ProxyServerMode',
   1242           'type': 'int-enum',
   1243           'schema': {
   1244             'type': 'integer',
   1245             'enum': [ 0, 1, 2, 3 ],
   1246           },
   1247           'items': [
   1248             {
   1249               'name': 'ProxyServerDisabled',
   1250               'value': 0,
   1251               'caption': '''Never use a proxy''',
   1252             },
   1253             {
   1254               'name': 'ProxyServerAutoDetect',
   1255               'value': 1,
   1256               'caption': '''Auto detect proxy settings''',
   1257             },
   1258             {
   1259               'name': 'ProxyServerManual',
   1260               'value': 2,
   1261               'caption': '''Manually specify proxy settings''',
   1262             },
   1263             {
   1264               'name': 'ProxyServerUseSystem',
   1265               'value': 3,
   1266               'caption': '''Use system proxy settings''',
   1267             },
   1268           ],
   1269           'supported_on': [
   1270             'chrome.*:8-',
   1271             'chrome_os:11-',
   1272             'android:30-',
   1273             'ios:34-',
   1274           ],
   1275           'features': {
   1276             'dynamic_refresh': True,
   1277             'per_profile': True,
   1278           },
   1279           'deprecated': True,
   1280           'example_value': 2,
   1281           'id': 22,
   1282           'caption': '''Choose how to specify proxy server settings''',
   1283           'desc': '''This policy is deprecated, use ProxyMode instead.
   1284 
   1285           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.
   1286 
   1287           If you choose to never use a proxy server and always connect directly, all other options are ignored.
   1288 
   1289           If you choose to use system proxy settings or auto detect the proxy server, all other options are ignored.
   1290 
   1291           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'.
   1292 
   1293           For detailed examples, visit:
   1294           <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>
   1295 
   1296           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.
   1297 
   1298           Leaving this policy not set will allow the users to choose the proxy settings on their own.''',
   1299         },
   1300         {
   1301           'name': 'ProxyServer',
   1302           'type': 'string',
   1303           'schema': { 'type': 'string' },
   1304           'supported_on': [
   1305             'chrome.*:8-',
   1306             'chrome_os:11-',
   1307             'android:30-',
   1308             'ios:34-',
   1309           ],
   1310           'features': {
   1311             'dynamic_refresh': True,
   1312             'per_profile': True,
   1313           },
   1314           'example_value': '123.123.123.123:8080',
   1315           'id': 23,
   1316           'caption': '''Address or URL of proxy server''',
   1317           'desc': '''You can specify the URL of the proxy server here.
   1318 
   1319           This policy only takes effect if you have selected manual proxy settings at 'Choose how to specify proxy server settings'.
   1320 
   1321           You should leave this policy not set if you have selected any other mode for setting proxy policies.
   1322 
   1323           For more options and detailed examples, visit:
   1324           <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>''',
   1325         },
   1326         {
   1327           'name': 'ProxyPacUrl',
   1328           'type': 'string',
   1329           'schema': { 'type': 'string' },
   1330           'supported_on': [
   1331             'chrome.*:8-',
   1332             'chrome_os:11-',
   1333             'android:30-',
   1334             'ios:34-',
   1335           ],
   1336           'features': {
   1337             'dynamic_refresh': True,
   1338             'per_profile': True,
   1339           },
   1340           'example_value': 'http://internal.site/example.pac',
   1341           'id': 24,
   1342           'caption': '''URL to a proxy .pac file''',
   1343           'desc': '''You can specify a URL to a proxy .pac file here.
   1344 
   1345           This policy only takes effect if you have selected manual proxy settings at 'Choose how to specify proxy server settings'.
   1346 
   1347           You should leave this policy not set if you have selected any other mode for setting proxy policies.
   1348 
   1349           For detailed examples, visit:
   1350           <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>''',
   1351         },
   1352         {
   1353           'name': 'ProxyBypassList',
   1354           'type': 'string',
   1355           'schema': { 'type': 'string' },
   1356           'supported_on': [
   1357             'chrome.*:8-',
   1358             'chrome_os:11-',
   1359             'android:30-',
   1360             'ios:34-',
   1361           ],
   1362           'features': {
   1363             'dynamic_refresh': True,
   1364             'per_profile': True,
   1365           },
   1366           'example_value': 'http://www.example1.com,http://www.example2.com,http://internalsite/',
   1367           'id': 25,
   1368           'caption': '''Proxy bypass rules''',
   1369           'desc': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will bypass any proxy for the list of hosts given here.
   1370 
   1371           This policy only takes effect if you have selected manual proxy settings at 'Choose how to specify proxy server settings'.
   1372 
   1373           You should leave this policy not set if you have selected any other mode for setting proxy policies.
   1374 
   1375           For more detailed examples, visit:
   1376           <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>''',
   1377           'label': '''Comma-separated list of proxy bypass rules''',
   1378         },
   1379       ],
   1380     },
   1381     {
   1382       # TODO(joaodasilva): Make this the default and deprecate the other proxy
   1383       # policies once all providers are ready to load 'dict' policies.
   1384       # This is currently an internal policy.
   1385       # http://crbug.com/108992, http://crbug.com/108996
   1386       'name': 'ProxySettings',
   1387       'type': 'dict',
   1388       'schema': {
   1389         'type': 'object',
   1390         'properties': {
   1391           'ProxyMode': { 'type': 'string' },
   1392           'ProxyPacUrl': { 'type': 'string' },
   1393           'ProxyServer': { 'type': 'string' },
   1394           'ProxyBypassList': { 'type': 'string' },
   1395           'ProxyServerMode': { 'type': 'string' },
   1396         },
   1397       },
   1398       'supported_on': [
   1399         'chrome.*:18-',
   1400         'chrome_os:18-',
   1401         'android:30-',
   1402         'ios:34-',
   1403       ],
   1404       'future': True,
   1405       'features': {
   1406         'dynamic_refresh': True,
   1407         'per_profile': True,
   1408       },
   1409       'example_value': { "ProxyMode": "direct" },
   1410       'id': 116,
   1411       'caption': '''Proxy settings''',
   1412       'desc': '''Configures the proxy settings for <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
   1413 
   1414       This policy isn't ready for usage yet, please don't use it.''',
   1415     },
   1416     {
   1417       'name': 'HTTPAuthentication',
   1418       'type': 'group',
   1419       'caption': '''Policies for HTTP Authentication''',
   1420       'desc': '''Policies related to integrated HTTP authentication.''',
   1421       'policies': [
   1422         {
   1423           'name': 'AuthSchemes',
   1424           'type': 'string',
   1425           'schema': { 'type': 'string' },
   1426           'supported_on': ['chrome.*:9-'],
   1427           'features': {
   1428             'dynamic_refresh': False,
   1429             'per_profile': False,
   1430           },
   1431           'example_value': 'basic,digest,ntlm,negotiate',
   1432           'id': 26,
   1433           'caption': '''Supported authentication schemes''',
   1434           'desc': '''Specifies which HTTP Authentication schemes are supported by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
   1435 
   1436           Possible values are 'basic', 'digest', 'ntlm' and 'negotiate'. Separate multiple values with commas.
   1437 
   1438           If this policy is left not set, all four schemes will be used.''',
   1439         },
   1440         {
   1441           'name': 'DisableAuthNegotiateCnameLookup',
   1442           'type': 'main',
   1443           'schema': { 'type': 'boolean' },
   1444           'supported_on': ['chrome.*:9-'],
   1445           'features': {
   1446             'dynamic_refresh': False,
   1447             'per_profile': False,
   1448           },
   1449           'example_value': False,
   1450           'id': 27,
   1451           'caption': '''Disable CNAME lookup when negotiating Kerberos authentication''',
   1452           'desc': '''Specifies whether the generated Kerberos SPN is based on the canonical DNS name or the original name entered.
   1453 
   1454           If you enable this setting, CNAME lookup will be skipped and the server name will be used as entered.
   1455 
   1456           If you disable this setting or leave it not set, the canonical name of the server will be determined via CNAME lookup.''',
   1457         },
   1458         {
   1459           'name': 'EnableAuthNegotiatePort',
   1460           'type': 'main',
   1461           'schema': { 'type': 'boolean' },
   1462           'supported_on': ['chrome.*:9-'],
   1463           'features': {
   1464             'dynamic_refresh': False,
   1465             'per_profile': False,
   1466           },
   1467           'example_value': False,
   1468           'id': 28,
   1469           'caption': '''Include non-standard port in Kerberos SPN''',
   1470           'desc': '''Specifies whether the generated Kerberos SPN should include a non-standard port.
   1471 
   1472           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.
   1473 
   1474           If you disable this setting or leave it not set, the generated Kerberos SPN will not include a port in any case.''',
   1475         },
   1476         {
   1477           'name': 'AuthServerWhitelist',
   1478           'type': 'string',
   1479           'schema': { 'type': 'string' },
   1480           'supported_on': ['chrome.*:9-'],
   1481           'features': {
   1482             'dynamic_refresh': False,
   1483             'per_profile': False,
   1484           },
   1485           'example_value': '*example.com,foobar.com,*baz',
   1486           'id': 29,
   1487           'caption': '''Authentication server whitelist''',
   1488           '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.
   1489 
   1490           Separate multiple server names with commas. Wildcards (*) are allowed.
   1491 
   1492           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.''',
   1493         },
   1494         {
   1495           'name': 'AuthNegotiateDelegateWhitelist',
   1496           'type': 'string',
   1497           'schema': { 'type': 'string' },
   1498           'supported_on': ['chrome.*:9-'],
   1499           'features': {
   1500             'dynamic_refresh': False,
   1501             'per_profile': False,
   1502           },
   1503           'example_value': 'foobar.example.com',
   1504           'id': 30,
   1505           'caption': '''Kerberos delegation server whitelist''',
   1506           'desc': '''Servers that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> may delegate to.
   1507 
   1508           Separate multiple server names with commas. Wildcards (*) are allowed.
   1509 
   1510           If you leave this policy not set Chrome will not delegate user credentials even if a server is detected as Intranet.''',
   1511         },
   1512         {
   1513           'name': 'GSSAPILibraryName',
   1514           'type': 'string',
   1515           'schema': { 'type': 'string' },
   1516           'supported_on': ['chrome.linux:9-'],
   1517           'features': {
   1518             'dynamic_refresh': False,
   1519             'per_profile': False,
   1520           },
   1521           'example_value': 'libgssapi_krb5.so.2',
   1522           'id': 31,
   1523           'caption': '''GSSAPI library name''',
   1524           'desc': '''Specifies which GSSAPI library to use for HTTP Authentication. You can set either just a library name, or a full path.
   1525 
   1526           If no setting is provided, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will fall back to using a default library name.''',
   1527         },
   1528         {
   1529           'name': 'AllowCrossOriginAuthPrompt',
   1530           'type': 'main',
   1531           'schema': { 'type': 'boolean' },
   1532           'supported_on': ['chrome.*:13-'],
   1533           'features': {
   1534             'dynamic_refresh': True,
   1535             'per_profile': False,
   1536           },
   1537           'example_value': False,
   1538           'id': 89,
   1539           'caption': '''Cross-origin HTTP Basic Auth prompts''',
   1540           'desc': '''Controls whether third-party sub-content on a page is allowed to pop-up an HTTP Basic Auth dialog box.
   1541 
   1542           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.''',
   1543         },
   1544       ],
   1545     },
   1546     {
   1547       'name': 'Extensions',
   1548       'type': 'group',
   1549       'caption': '''Extensions''',
   1550       '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>. Force-installed extensions are installed regardless whether they are present in the blacklist.''',
   1551       'policies': [
   1552         {
   1553           'name': 'ExtensionInstallBlacklist',
   1554           'type': 'list',
   1555           'schema': {
   1556             'type': 'array',
   1557             'items': { 'type': 'string' },
   1558           },
   1559           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
   1560           'features': {
   1561             'dynamic_refresh': True,
   1562             'per_profile': True,
   1563           },
   1564           'example_value': ['extension_id1', 'extension_id2'],
   1565           'id': 32,
   1566           'caption': '''Configure extension installation blacklist''',
   1567           'desc': '''Allows you to specify which extensions the users can NOT install. Extensions already installed will be removed if blacklisted.
   1568 
   1569           A blacklist value of '*' means all extensions are blacklisted unless they are explicitly listed in the whitelist.
   1570 
   1571           If this policy is left not set the user can install any extension in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
   1572           'label': '''Extension IDs the user should be prevented from installing (or * for all)''',
   1573         },
   1574         {
   1575           'name': 'ExtensionInstallWhitelist',
   1576           'type': 'list',
   1577           'schema': {
   1578             'type': 'array',
   1579             'items': { 'type': 'string' },
   1580           },
   1581           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
   1582           'features': {
   1583             'dynamic_refresh': True,
   1584             'per_profile': True,
   1585           },
   1586           'example_value': ['extension_id1', 'extension_id2'],
   1587           'id': 33,
   1588           'caption': '''Configure extension installation whitelist''',
   1589           'desc': '''Allows you to specify which extensions are not subject to the blacklist.
   1590 
   1591           A blacklist value of * means all extensions are blacklisted and users can only install extensions listed in the whitelist.
   1592 
   1593           By default, all extensions are whitelisted, but if all extensions have been blacklisted by policy, the whitelist can be used to override that policy.''',
   1594           'label': '''Extension IDs to exempt from the blacklist''',
   1595         },
   1596         {
   1597           'name': 'ExtensionInstallForcelist',
   1598           'type': 'list',
   1599           'schema': {
   1600             'type': 'array',
   1601             'items': { 'type': 'string' },
   1602           },
   1603           'supported_on': ['chrome.*:9-', 'chrome_os:11-'],
   1604           'features': {
   1605             'dynamic_refresh': True,
   1606             'per_profile': True,
   1607           },
   1608           'example_value': ['lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx'],
   1609           'id': 34,
   1610           'caption': '''Configure the list of force-installed extensions''',
   1611           'desc': '''Allows you to specify a list of extensions that will be installed silently, without user interaction.
   1612 
   1613           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.
   1614 
   1615           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.
   1616 
   1617           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>.
   1618 
   1619           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.
   1620 
   1621           If this policy is left not set the user can uninstall any extension  in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
   1622           'label': '''Extension IDs and update URLs to be silently installed''',
   1623         },
   1624         {
   1625           'name': 'ExtensionInstallSources',
   1626           'type': 'list',
   1627           'schema': {
   1628             'type': 'array',
   1629             'items': { 'type': 'string' },
   1630           },
   1631           'supported_on': ['chrome.*:21-', 'chrome_os:21-'],
   1632           'features': {
   1633             'dynamic_refresh': True,
   1634             'per_profile': True,
   1635           },
   1636           'example_value': ['https://corp.mycompany.com/*'],
   1637           'id': 148,
   1638           'caption': '''Configure extension, app, and user script install sources''',
   1639           'desc': '''Allows you to specify which URLs are allowed to install extensions, apps, and themes.
   1640 
   1641           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.
   1642 
   1643           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.
   1644 
   1645           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.''',
   1646           'label': '''URL patterns to allow extension, app, and user script installs from''',
   1647         },
   1648         {
   1649           'name': 'ExtensionAllowedTypes',
   1650           'type': 'list',
   1651           'schema': {
   1652             'type': 'array',
   1653             'items': {
   1654               'type': 'string',
   1655               'enum': [
   1656                 'extension',
   1657                 'theme',
   1658                 'user_script',
   1659                 'hosted_app',
   1660                 'legacy_packaged_app',
   1661                 'platform_app'
   1662               ],
   1663             },
   1664           },
   1665           'supported_on': ['chrome.*:25-', 'chrome_os:25-'],
   1666           'features': {
   1667             'dynamic_refresh': True,
   1668             'per_profile': True,
   1669           },
   1670           'example_value': ['hosted_app'],
   1671           'id': 168,
   1672           'caption': '''Configure allowed app/extension types''',
   1673           'desc': '''Controls which app/extension types are allowed to be installed.
   1674 
   1675           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.
   1676 
   1677           Note that this policy also affects extensions and apps to be force-installed via ExtensionInstallForcelist.
   1678 
   1679           If this setting is configured, extensions/apps which have a type that is not on the list will not be installed.
   1680 
   1681           If this settings is left not-configured, no restrictions on the acceptable extension/app types are enforced.''',
   1682           'label': '''Types of extensions/apps that are allowed to be installed''',
   1683         },
   1684       ],
   1685     },
   1686     {
   1687       'name': 'ShowHomeButton',
   1688       'type': 'main',
   1689       'schema': { 'type': 'boolean' },
   1690       'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
   1691       'features': {
   1692         'can_be_recommended': True,
   1693         'dynamic_refresh': True,
   1694         'per_profile': True,
   1695       },
   1696       'example_value': True,
   1697       'id': 35,
   1698       'caption': '''Show Home button on toolbar''',
   1699       'desc': '''Shows the Home button on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s toolbar.
   1700 
   1701       If you enable this setting, the Home button is always shown.
   1702 
   1703       If you disable this setting, the Home button is never shown.
   1704 
   1705       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>.
   1706 
   1707       Leaving this policy not set will allow the user to choose whether to show the home button.''',
   1708     },
   1709     {
   1710       'name': 'DeveloperToolsDisabled',
   1711       'type': 'main',
   1712       'schema': { 'type': 'boolean' },
   1713       'supported_on': ['chrome.*:9-', 'chrome_os:11-'],
   1714       'features': {
   1715         'dynamic_refresh': True,
   1716         'per_profile': True,
   1717       },
   1718       'example_value': False,
   1719       'id': 36,
   1720       'caption': '''Disable Developer Tools''',
   1721       'desc': '''Disables the Developer Tools and the JavaScript console.
   1722 
   1723       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.
   1724 
   1725       Setting this option to disabled or leaving it not set will allow the use to use the Developer Tools and the JavaScript console.''',
   1726     },
   1727     {
   1728       'name': 'RestoreOnStartupGroup',
   1729       'type': 'group',
   1730       'caption': '''Startup pages''',
   1731       'desc': '''Allows you to configure the pages that are loaded on startup.
   1732 
   1733       The contents of the list 'URLs to open at startup' are ignored unless you select 'Open a list of URLs' in 'Action on startup'.''',
   1734       'policies': [
   1735         {
   1736           'name': 'RestoreOnStartup',
   1737           'type': 'int-enum',
   1738           'schema': {
   1739             'type': 'integer',
   1740             'enum': [ 1, 4, 5 ],
   1741           },
   1742           'items': [
   1743             {
   1744               'name': 'RestoreOnStartupIsNewTabPage',
   1745               'value': 5,
   1746               'caption': '''Open New Tab Page''',
   1747             },
   1748             {
   1749               'name': 'RestoreOnStartupIsLastSession',
   1750               'value': 1,
   1751               'caption': '''Restore the last session''',
   1752             },
   1753             {
   1754               'name': 'RestoreOnStartupIsURLs',
   1755               'value': 4,
   1756               'caption': '''Open a list of URLs''',
   1757             },
   1758           ],
   1759           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
   1760           'features': {
   1761             'can_be_recommended': True,
   1762             'dynamic_refresh': True,
   1763             'per_profile': True,
   1764           },
   1765           'example_value': 4,
   1766           'id': 37,
   1767           'caption': '''Action on startup''',
   1768           'desc': '''Allows you to specify the behavior on startup.
   1769 
   1770           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>.
   1771 
   1772           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.
   1773           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).
   1774 
   1775           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>.
   1776 
   1777           If you enable this setting, users cannot change or override it in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
   1778 
   1779           Disabling this setting is equivalent 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>.''',
   1780         },
   1781         {
   1782           'name': 'RestoreOnStartupURLs',
   1783           'type': 'list',
   1784           'schema': {
   1785             'type': 'array',
   1786             'items': { 'type': 'string' },
   1787           },
   1788           'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
   1789           'features': {
   1790             'can_be_recommended': True,
   1791             'dynamic_refresh': True,
   1792             'per_profile': True,
   1793           },
   1794           'example_value': ['http://example.com', 'http://chromium.org'],
   1795           'id': 38,
   1796           'caption': '''URLs to open on startup''',
   1797           '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.
   1798 
   1799           This policy only works if the 'RestoreOnStartup' policy is set to 'RestoreOnStartupIsURLs'.''',
   1800         },
   1801       ],
   1802     },
   1803     {
   1804       'name': 'BlockThirdPartyCookies',
   1805       'type': 'main',
   1806       'schema': { 'type': 'boolean' },
   1807       'supported_on': ['chrome.*:10-', 'chrome_os:11-'],
   1808       'features': {
   1809         'can_be_recommended': True,
   1810         'dynamic_refresh': True,
   1811         'per_profile': True,
   1812       },
   1813       'example_value': False,
   1814       'id': 39,
   1815       'caption': '''Block third party cookies''',
   1816       'desc': '''Blocks third party cookies.
   1817 
   1818       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.
   1819 
   1820       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.
   1821 
   1822       If this policy is left not set, third party cookies will be enabled but the user will be able to change that.''',
   1823     },
   1824     {
   1825       # TODO(joaodasilva): Flag these policies with 'can_be_recommended'
   1826       # after fixing http://crbug.com/106683
   1827       'name': 'DefaultSearchProvider',
   1828       'type': 'group',
   1829       'caption': '''Default search provider''',
   1830       'desc': '''Configures the default search provider. You can specify the default search provider that the user will use or choose to disable default search.''',
   1831       'policies': [
   1832         {
   1833           'name': 'DefaultSearchProviderEnabled',
   1834           'type': 'main',
   1835           'schema': { 'type': 'boolean' },
   1836           'supported_on': [
   1837             'chrome.*:8-',
   1838             'chrome_os:11-',
   1839             'android:30-',
   1840             'ios:34-',
   1841           ],
   1842           'features': {
   1843             'dynamic_refresh': True,
   1844             'per_profile': True,
   1845           },
   1846           'example_value': True,
   1847           'id': 40,
   1848           'caption': '''Enable the default search provider''',
   1849           'desc': '''Enables the use of a default search provider.
   1850 
   1851           If you enable this setting, a default search is performed when the user types text in the omnibox that is not a URL.
   1852 
   1853           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.
   1854 
   1855           If you disable this setting, no search is performed when the user enters non-URL text in the omnibox.
   1856 
   1857           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>.
   1858 
   1859           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.''',
   1860         },
   1861         {
   1862           'name': 'DefaultSearchProviderName',
   1863           'type': 'string',
   1864           'schema': { 'type': 'string' },
   1865           'supported_on': [
   1866             'chrome.*:8-',
   1867             'chrome_os:11-',
   1868             'android:30-',
   1869             'ios:34-',
   1870           ],
   1871           'features': {
   1872             'dynamic_refresh': True,
   1873             'per_profile': True,
   1874           },
   1875           'example_value': 'My Intranet Search',
   1876           'id': 41,
   1877           'caption': '''Default search provider name''',
   1878           '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.
   1879 
   1880           This policy is only considered if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   1881         },
   1882         {
   1883           'name': 'DefaultSearchProviderKeyword',
   1884           'type': 'string',
   1885           'schema': { 'type': 'string' },
   1886           'supported_on': [
   1887             'chrome.*:8-',
   1888             'chrome_os:11-',
   1889             'android:30-',
   1890             'ios:34-',
   1891           ],
   1892           'features': {
   1893             'dynamic_refresh': True,
   1894             'per_profile': True,
   1895           },
   1896           'example_value': 'mis',
   1897           'id': 42,
   1898           'caption': '''Default search provider keyword''',
   1899           'desc': '''Specifies the keyword, which is the shortcut used in the omnibox to trigger the search for this provider.
   1900 
   1901           This policy is optional. If not set, no keyword will activate the search provider.
   1902 
   1903           This policy is only considered if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   1904         },
   1905         {
   1906           'name': 'DefaultSearchProviderSearchURL',
   1907           'type': 'string',
   1908           'schema': { 'type': 'string' },
   1909           'supported_on': [
   1910             'chrome.*:8-',
   1911             'chrome_os:11-',
   1912             'android:30-',
   1913             'ios:34-',
   1914           ],
   1915           'features': {
   1916             'dynamic_refresh': True,
   1917             'per_profile': True,
   1918           },
   1919           'example_value': 'http://search.my.company/search?q={searchTerms}',
   1920           'id': 43,
   1921           'caption': '''Default search provider search URL''',
   1922           '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.
   1923 
   1924           This option must be set when the 'DefaultSearchProviderEnabled' policy is enabled and will only be respected if this is the case.''',
   1925         },
   1926         {
   1927           'name': 'DefaultSearchProviderSuggestURL',
   1928           'type': 'string',
   1929           'schema': { 'type': 'string' },
   1930           'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
   1931           'features': {
   1932             'dynamic_refresh': True,
   1933             'per_profile': True,
   1934           },
   1935           'example_value': 'http://search.my.company/suggest?q={searchTerms}',
   1936           'id': 44,
   1937           'caption': '''Default search provider suggest URL''',
   1938           '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.
   1939 
   1940           This policy is optional. If not set, no suggest URL will be used.
   1941 
   1942           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   1943         },
   1944         {
   1945           'name': 'DefaultSearchProviderInstantURL',
   1946           'type': 'string',
   1947           'schema': { 'type': 'string' },
   1948           'supported_on': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'],
   1949           'features': {
   1950             'dynamic_refresh': True,
   1951             'per_profile': True,
   1952           },
   1953           'example_value': 'http://search.my.company/suggest?q={searchTerms}',
   1954           'id': 45,
   1955           'caption': '''Default search provider instant URL''',
   1956           '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.
   1957 
   1958           This policy is optional. If not set, no instant search results will be provided.
   1959 
   1960           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   1961         },
   1962         {
   1963           'name': 'DefaultSearchProviderIconURL',
   1964           'type': 'string',
   1965           'schema': { 'type': 'string' },
   1966           'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
   1967           'features': {
   1968             'dynamic_refresh': True,
   1969             'per_profile': True,
   1970           },
   1971           'example_value': 'http://search.my.company/favicon.ico',
   1972           'id': 46,
   1973           'caption': '''Default search provider icon''',
   1974           'desc': '''Specifies the favorite icon URL of the default search provider.
   1975 
   1976           This policy is optional. If not set, no icon will be present for the search provider.
   1977 
   1978           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   1979         },
   1980         {
   1981           'name': 'DefaultSearchProviderEncodings',
   1982           'type': 'list',
   1983           'schema': {
   1984             'type': 'array',
   1985             'items': { 'type': 'string' },
   1986           },
   1987           'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
   1988           'features': {
   1989             'dynamic_refresh': True,
   1990             'per_profile': True,
   1991           },
   1992           'example_value': ['UTF-8', 'UTF-16', 'GB2312', 'ISO-8859-1'],
   1993           'id': 47,
   1994           'caption': '''Default search provider encodings''',
   1995           '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.
   1996 
   1997           This policy is optional. If not set, the default will be used which is UTF-8.
   1998 
   1999           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   2000         },
   2001         {
   2002           'name': 'DefaultSearchProviderAlternateURLs',
   2003           'type': 'list',
   2004           'schema': {
   2005             'type': 'array',
   2006             'items': { 'type': 'string' },
   2007           },
   2008           'supported_on': ['chrome.*:24-', 'chrome_os:24-', 'android:30-'],
   2009           'features': {
   2010             'dynamic_refresh': True,
   2011             'per_profile': True,
   2012           },
   2013           'example_value': ['http://search.my.company/suggest#q={searchTerms}', 'http://search.my.company/suggest/search#q={searchTerms}'],
   2014           'id': 161,
   2015           'caption': '''List of alternate URLs for the default search provider''',
   2016           '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.
   2017 
   2018           This policy is optional. If not set, no alternate urls will be used to extract search terms.
   2019 
   2020           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   2021         },
   2022         {
   2023           'name': 'DefaultSearchProviderSearchTermsReplacementKey',
   2024           'type': 'string',
   2025           'schema': { 'type': 'string' },
   2026           'supported_on': ['chrome.*:25-', 'chrome_os:25-', 'android:30-'],
   2027           'features': {
   2028             'dynamic_refresh': True,
   2029             'per_profile': True,
   2030           },
   2031           'example_value': 'espv',
   2032           'id': 171,
   2033           'caption': '''Parameter controlling search term placement for the default search provider''',
   2034           '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.
   2035 
   2036           This policy is optional. If not set, no search term replacement will be performed.
   2037 
   2038           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   2039         },
   2040         {
   2041           'name': 'DefaultSearchProviderImageURL',
   2042           'type': 'string',
   2043           'schema': { 'type': 'string' },
   2044           'supported_on': ['chrome.*:29-', 'chrome_os:29-', 'android:30-'],
   2045           'features': {
   2046             'dynamic_refresh': True,
   2047             'per_profile': True,
   2048           },
   2049           'example_value': 'http://search.my.company/searchbyimage/upload',
   2050           'id': 229,
   2051           'caption': '''Parameter providing search-by-image feature for the default search provider''',
   2052           '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.
   2053 
   2054           This policy is optional. If not set, no image search will be used.
   2055 
   2056           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   2057         },
   2058         {
   2059           'name': 'DefaultSearchProviderNewTabURL',
   2060           'type': 'string',
   2061           'schema': { 'type': 'string' },
   2062           'supported_on': ['chrome.*:30-', 'chrome_os:30-', 'android:30-'],
   2063           'features': {
   2064             'dynamic_refresh': True,
   2065             'per_profile': True,
   2066           },
   2067           'example_value': 'http://search.my.company/newtab',
   2068           'id': 237,
   2069           'caption': '''Default search provider new tab page URL''',
   2070           'desc': '''Specifies the URL that a search engine uses to provide a new tab page.
   2071 
   2072           This policy is optional. If not set, no new tab page will be provided.
   2073 
   2074           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   2075         },
   2076         {
   2077           'name': 'DefaultSearchProviderSearchURLPostParams',
   2078           'type': 'string',
   2079           'schema': { 'type': 'string' },
   2080           'supported_on': ['chrome.*:29-', 'chrome_os:29-', 'android:30-'],
   2081           'features': {
   2082             'dynamic_refresh': True,
   2083             'per_profile': True,
   2084           },
   2085           'example_value': 'q={searchTerms},ie=utf-8,oe=utf-8',
   2086           'id': 230,
   2087           'caption': '''Parameters for search URL which uses POST''',
   2088           '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.
   2089 
   2090           This policy is optional. If not set, search request will be sent using the GET method.
   2091 
   2092           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   2093         },
   2094         {
   2095           'name': 'DefaultSearchProviderSuggestURLPostParams',
   2096           'type': 'string',
   2097           'schema': { 'type': 'string' },
   2098           'supported_on': ['chrome.*:29-', 'chrome_os:29-', 'android:30-'],
   2099           'features': {
   2100             'dynamic_refresh': True,
   2101             'per_profile': True,
   2102           },
   2103           'example_value': 'q={searchTerms},ie=utf-8,oe=utf-8',
   2104           'id': 231,
   2105           'caption': '''Parameters for suggest URL which uses POST''',
   2106           '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.
   2107 
   2108           This policy is optional. If not set, suggest search request will be sent using the GET method.
   2109 
   2110           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   2111         },
   2112         {
   2113           'name': 'DefaultSearchProviderInstantURLPostParams',
   2114           'type': 'string',
   2115           'schema': { 'type': 'string' },
   2116           'supported_on': ['chrome.*:29-', 'chrome_os:29-', 'android:30-'],
   2117           'features': {
   2118             'dynamic_refresh': True,
   2119             'per_profile': True,
   2120           },
   2121           'example_value': 'q={searchTerms},ie=utf-8,oe=utf-8',
   2122           'id': 232,
   2123           'caption': '''Parameters for instant URL which uses POST''',
   2124           '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.
   2125 
   2126           This policy is optional. If not set, instant search request will be sent using the GET method.
   2127 
   2128           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   2129         },
   2130         {
   2131           'name': 'DefaultSearchProviderImageURLPostParams',
   2132           'type': 'string',
   2133           'schema': { 'type': 'string' },
   2134           'supported_on': ['chrome.*:29-', 'chrome_os:29-', 'android:30-'],
   2135           'features': {
   2136             'dynamic_refresh': True,
   2137             'per_profile': True,
   2138           },
   2139           'example_value': 'content={imageThumbnail},url={imageURL},sbisrc={SearchSource}',
   2140           'id': 233,
   2141           'caption': '''Parameters for image URL which uses POST''',
   2142           '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.
   2143 
   2144           This policy is optional. If not set, image search request will be sent using the GET method.
   2145 
   2146           This policy is only respected if the 'DefaultSearchProviderEnabled' policy is enabled.''',
   2147         },
   2148       ],
   2149     },
   2150     {
   2151       # TODO(joaodasilva): Flag these policies with 'can_be_recommended'
   2152       # after fixing http://crbug.com/106682
   2153       'name': 'ContentSettings',
   2154       'type': 'group',
   2155       'caption': '''Content Settings''',
   2156       'desc': '''Content Settings allow you to specify how contents of a specific type (for example Cookies, Images or JavaScript) is handled.''',
   2157       'policies': [
   2158         {
   2159           'name': 'DefaultCookiesSetting',
   2160           'type': 'int-enum',
   2161           'schema': {
   2162             'type': 'integer',
   2163             'enum': [ 1, 2, 4 ],
   2164           },
   2165           'items': [
   2166             {
   2167               'name': 'AllowCookies',
   2168               'value': 1,
   2169               'caption': '''Allow all sites to set local data''',
   2170             },
   2171             {
   2172               'name': 'BlockCookies',
   2173               'value': 2,
   2174               'caption': '''Do not allow any site to set local data''',
   2175             },
   2176             {
   2177               'name': 'SessionOnly',
   2178               'value': 4,
   2179               'caption': '''Keep cookies for the duration of the session''',
   2180             },
   2181           ],
   2182           'supported_on': [
   2183             'chrome.*:10-',
   2184             'chrome_os:11-',
   2185             'android:30-',
   2186             'ios:34-',
   2187           ],
   2188           'features': {
   2189             'dynamic_refresh': True,
   2190             'per_profile': True,
   2191           },
   2192           'example_value': 1,
   2193           'id': 48,
   2194           'caption': '''Default cookies setting''',
   2195           '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.
   2196 
   2197           If this policy is left not set, 'AllowCookies' will be used and the user will be able to change it.''',
   2198         },
   2199         {
   2200           'name': 'DefaultImagesSetting',
   2201           'type': 'int-enum',
   2202           'schema': {
   2203             'type': 'integer',
   2204             'enum': [ 1, 2 ],
   2205           },
   2206           'items': [
   2207             {
   2208               'name': 'AllowImages',
   2209               'value': 1,
   2210               'caption': '''Allow all sites to show all images''',
   2211             },
   2212             {
   2213               'name': 'BlockImages',
   2214               'value': 2,
   2215               'caption': '''Do not allow any site to show images''',
   2216             },
   2217           ],
   2218           'supported_on': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'],
   2219           'features': {
   2220             'dynamic_refresh': True,
   2221             'per_profile': True,
   2222           },
   2223           'example_value': 1,
   2224           'id': 49,
   2225           'caption': '''Default images setting''',
   2226           '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.
   2227 
   2228           If this policy is left not set, 'AllowImages' will be used and the user will be able to change it.''',
   2229         },
   2230         {
   2231           'name': 'DefaultJavaScriptSetting',
   2232           'type': 'int-enum',
   2233           'schema': {
   2234             'type': 'integer',
   2235             'enum': [ 1, 2 ],
   2236           },
   2237           'items': [
   2238             {
   2239               'name': 'AllowJavaScript',
   2240               'value': 1,
   2241               'caption': '''Allow all sites to run JavaScript''',
   2242             },
   2243             {
   2244               'name': 'BlockJavaScript',
   2245               'value': 2,
   2246               'caption': '''Do not allow any site to run JavaScript''',
   2247             },
   2248           ],
   2249           'supported_on': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'],
   2250           'features': {
   2251             'dynamic_refresh': True,
   2252             'per_profile': True,
   2253           },
   2254           'example_value': 1,
   2255           'id': 50,
   2256           'caption': '''Default JavaScript setting''',
   2257           '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.
   2258 
   2259           If this policy is left not set, 'AllowJavaScript' will be used and the user will be able to change it.''',
   2260         },
   2261         {
   2262           'name': 'DefaultPluginsSetting',
   2263           'type': 'int-enum',
   2264           'schema': {
   2265             'type': 'integer',
   2266             'enum': [ 1, 2, 3 ],
   2267           },
   2268           'items': [
   2269             {
   2270               'name': 'AllowPlugins',
   2271               'value': 1,
   2272               'caption': '''Allow all sites to automatically run plugins''',
   2273             },
   2274             {
   2275               'name': 'BlockPlugins',
   2276               'value': 2,
   2277               'caption': '''Block all plugins''',
   2278             },
   2279             {
   2280               'name': 'ClickToPlay',
   2281               'value': 3,
   2282               'caption': '''Click to play''',
   2283             },
   2284           ],
   2285           'supported_on': ['chrome.*:10-', 'chrome_os:11-'],
   2286           'features': {
   2287             'dynamic_refresh': True,
   2288             'per_profile': True,
   2289           },
   2290           'example_value': 1,
   2291           'id': 51,
   2292           'caption': '''Default plugins setting''',
   2293           '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.
   2294 
   2295           Click to play allows plugins to run but the user must click them to start their execution.
   2296 
   2297           If this policy is left not set, 'AllowPlugins' will be used and the user will be able to change it.''',
   2298         },
   2299         {
   2300           'name': 'DefaultPopupsSetting',
   2301           'type': 'int-enum',
   2302           'schema': {
   2303             'type': 'integer',
   2304             'enum': [ 1, 2 ],
   2305           },
   2306           'items': [
   2307             {
   2308               'name': 'AllowPopups',
   2309               'value': 1,
   2310               'caption': '''Allow all sites to show pop-ups''',
   2311             },
   2312             {
   2313               'name': 'BlockPopups',
   2314               'value': 2,
   2315               'caption': '''Do not allow any site to show popups''',
   2316             },
   2317           ],
   2318           'supported_on': [
   2319             'chrome.*:10-',
   2320             'chrome_os:11-',
   2321             'ios:34-',
   2322             'android:33-',
   2323           ],
   2324           'features': {
   2325             'dynamic_refresh': True,
   2326             'per_profile': True,
   2327           },
   2328           'example_value': 1,
   2329           'id': 52,
   2330           'caption': '''Default popups setting''',
   2331           '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.
   2332 
   2333           If this policy is left not set, 'BlockPopups' will be used and the user will be able to change it.''',
   2334         },
   2335         {
   2336           'name': 'DefaultNotificationsSetting',
   2337           'type': 'int-enum',
   2338           'schema': {
   2339             'type': 'integer',
   2340             'enum': [ 1, 2, 3 ],
   2341           },
   2342           'items': [
   2343             {
   2344               'name': 'AllowNotifications',
   2345               'value': 1,
   2346               'caption': '''Allow sites to show desktop notifications''',
   2347             },
   2348             {
   2349               'name': 'BlockNotifications',
   2350               'value': 2,
   2351               'caption': '''Do not allow any site to show desktop notifications''',
   2352             },
   2353             {
   2354               'name': 'AskNotifications',
   2355               'value': 3,
   2356               'caption': '''Ask every time a site wants to show desktop notifications''',
   2357             },
   2358           ],
   2359           'supported_on': ['chrome.*:10-', 'chrome_os:11-'],
   2360           'features': {
   2361             'dynamic_refresh': True,
   2362             'per_profile': True,
   2363           },
   2364           'example_value': 2,
   2365           'id': 53,
   2366           'caption': '''Default notification setting''',
   2367           '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.
   2368 
   2369           If this policy is left not set, 'AskNotifications' will be used and the user will be able to change it.''',
   2370         },
   2371         {
   2372           'name': 'DefaultGeolocationSetting',
   2373           'type': 'int-enum',
   2374           'schema': {
   2375             'type': 'integer',
   2376             'enum': [ 1, 2, 3 ],
   2377           },
   2378           'items': [
   2379             {
   2380               'name': 'AllowGeolocation',
   2381               'value': 1,
   2382               'caption': '''Allow sites to track the users' physical location''',
   2383             },
   2384             {
   2385               'name': 'BlockGeolocation',
   2386               'value': 2,
   2387               'caption': '''Do not allow any site to track the users' physical location''',
   2388             },
   2389             {
   2390               'name': 'AskGeolocation',
   2391               'value': 3,
   2392               'caption': '''Ask whenever a site wants to track the users' physical location''',
   2393             },
   2394           ],
   2395           'supported_on': ['chrome.*:10-', 'chrome_os:11-', 'android:30-'],
   2396           'features': {
   2397             'dynamic_refresh': True,
   2398             'per_profile': True,
   2399           },
   2400           'example_value': 0,
   2401           'id': 54,
   2402           'caption': '''Default geolocation setting''',
   2403           '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.
   2404 
   2405           If this policy is left not set, 'AskGeolocation' will be used and the user will be able to change it.''',
   2406         },
   2407         {
   2408           'name': 'DefaultMediaStreamSetting',
   2409           'type': 'int-enum',
   2410           'schema': {
   2411             'type': 'integer',
   2412             'enum': [ 2, 3 ],
   2413           },
   2414           'items': [
   2415             {
   2416               'name': 'BlockAccess',
   2417               'value': 2,
   2418               'caption': '''Do not allow any site to access the camera and microphone''',
   2419             },
   2420             {
   2421               'name': 'PromptOnAccess',
   2422               'value': 3,
   2423               'caption': '''Ask every time a site wants to access the camera and/or microphone''',
   2424             },
   2425           ],
   2426           'supported_on': ['chrome.*:22-', 'chrome_os:22-'],
   2427           'features': {
   2428             'dynamic_refresh': True,
   2429             'per_profile': True,
   2430           },
   2431           'deprecated': True,
   2432           'example_value': 2,
   2433           'id': 149,
   2434           'caption': '''Default mediastream setting''',
   2435           '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.
   2436 
   2437           If this policy is left not set, 'PromptOnAccess' will be used and the user will be able to change it.''',
   2438         },
   2439         {
   2440           'name': 'AutoSelectCertificateForUrls',
   2441           'type': 'list',
   2442           'schema': {
   2443             'type': 'array',
   2444             'items': { 'type': 'string' },
   2445           },
   2446           'supported_on': ['chrome.*:15-', 'chrome_os:15-'],
   2447           'features': {
   2448             'dynamic_refresh': True,
   2449             'per_profile': True,
   2450           },
   2451           'example_value': ["{\\\"pattern\\\":\\\"https://www.example.com\\\",\\\"filter\\\":{\\\"ISSUER\\\":{\\\"CN\\\":\\\"certificate issuer name\\\"}}}"],
   2452           'id': 102,
   2453           'caption': '''Automatically select client certificates for these sites''',
   2454           '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.
   2455 
   2456           If this policy is left not set no auto-selection will be done for any site.''',
   2457         },
   2458         {
   2459           'name': 'CookiesAllowedForUrls',
   2460           'type': 'list',
   2461           'schema': {
   2462             'type': 'array',
   2463             'items': { 'type': 'string' },
   2464           },
   2465           'supported_on': [
   2466             'chrome.*:11-',
   2467             'chrome_os:11-',
   2468             'android:30-',
   2469             'ios:34-',
   2470           ],
   2471           'features': {
   2472             'dynamic_refresh': True,
   2473             'per_profile': True,
   2474           },
   2475           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2476           'id': 77,
   2477           'caption': '''Allow cookies on these sites''',
   2478           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set cookies.
   2479 
   2480           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.''',
   2481         },
   2482         {
   2483           'name': 'CookiesBlockedForUrls',
   2484           'type': 'list',
   2485           'schema': {
   2486             'type': 'array',
   2487             'items': { 'type': 'string' },
   2488           },
   2489           'supported_on': [
   2490             'chrome.*:11-',
   2491             'chrome_os:11-',
   2492             'android:30-',
   2493             'ios:34-',
   2494           ],
   2495           'features': {
   2496             'dynamic_refresh': True,
   2497             'per_profile': True,
   2498           },
   2499           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2500           'id': 67,
   2501           'caption': '''Block cookies on these sites''',
   2502           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to set cookies.
   2503 
   2504           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.''',
   2505         },
   2506         {
   2507           'name': 'CookiesSessionOnlyForUrls',
   2508           'type': 'list',
   2509           'schema': {
   2510             'type': 'array',
   2511             'items': { 'type': 'string' },
   2512           },
   2513           'supported_on': [
   2514             'chrome.*:11-',
   2515             'chrome_os:11-',
   2516             'android:30-',
   2517             'ios:34-',
   2518           ],
   2519           'features': {
   2520             'dynamic_refresh': True,
   2521             'per_profile': True,
   2522           },
   2523           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2524           'id': 68,
   2525           'caption': '''Allow session only cookies on these sites''',
   2526           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set session only cookies.
   2527 
   2528           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.
   2529 
   2530           If the "RestoreOnStartup" policy is set to restore URLs from previous sessions this policy will not be respected and cookies will be stored permanently for those sites.''',
   2531         },
   2532         {
   2533           'name': 'ImagesAllowedForUrls',
   2534           'type': 'list',
   2535           'schema': {
   2536             'type': 'array',
   2537             'items': { 'type': 'string' },
   2538           },
   2539           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
   2540           'features': {
   2541             'dynamic_refresh': True,
   2542             'per_profile': True,
   2543           },
   2544           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2545           'id': 69,
   2546           'caption': '''Allow images on these sites''',
   2547           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to display images.
   2548 
   2549           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.''',
   2550         },
   2551         {
   2552           'name': 'ImagesBlockedForUrls',
   2553           'type': 'list',
   2554           'schema': {
   2555             'type': 'array',
   2556             'items': { 'type': 'string' },
   2557           },
   2558           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
   2559           'features': {
   2560             'dynamic_refresh': True,
   2561             'per_profile': True,
   2562           },
   2563           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2564           'id': 70,
   2565           'caption': '''Block images on these sites''',
   2566           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to display images.
   2567 
   2568           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.''',
   2569         },
   2570         {
   2571           'name': 'JavaScriptAllowedForUrls',
   2572           'type': 'list',
   2573           'schema': {
   2574             'type': 'array',
   2575             'items': { 'type': 'string' },
   2576           },
   2577           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
   2578           'features': {
   2579             'dynamic_refresh': True,
   2580             'per_profile': True,
   2581           },
   2582           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2583           'id': 71,
   2584           'caption': '''Allow JavaScript on these sites''',
   2585           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to run JavaScript.
   2586 
   2587           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.''',
   2588         },
   2589         {
   2590           'name': 'JavaScriptBlockedForUrls',
   2591           'type': 'list',
   2592           'schema': {
   2593             'type': 'array',
   2594             'items': { 'type': 'string' },
   2595           },
   2596           'supported_on': ['chrome.*:11-', 'chrome_os:11-', 'android:30-'],
   2597           'features': {
   2598             'dynamic_refresh': True,
   2599             'per_profile': True,
   2600           },
   2601           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2602           'id': 72,
   2603           'caption': '''Block JavaScript on these sites''',
   2604           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to run JavaScript.
   2605 
   2606           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.''',
   2607         },
   2608         {
   2609           'name': 'PluginsAllowedForUrls',
   2610           'type': 'list',
   2611           'schema': {
   2612             'type': 'array',
   2613             'items': { 'type': 'string' },
   2614           },
   2615           'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
   2616           'features': {
   2617             'dynamic_refresh': True,
   2618             'per_profile': True,
   2619           },
   2620           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2621           'id': 73,
   2622           'caption': '''Allow plugins on these sites''',
   2623           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to run plugins.
   2624 
   2625           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.''',
   2626         },
   2627         {
   2628           'name': 'PluginsBlockedForUrls',
   2629           'type': 'list',
   2630           'schema': {
   2631             'type': 'array',
   2632             'items': { 'type': 'string' },
   2633           },
   2634           'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
   2635           'features': {
   2636             'dynamic_refresh': True,
   2637             'per_profile': True,
   2638           },
   2639           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2640           'id': 74,
   2641           'caption': '''Block plugins on these sites''',
   2642           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to run plugins.
   2643 
   2644           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.''',
   2645         },
   2646         {
   2647           'name': 'PopupsAllowedForUrls',
   2648           'type': 'list',
   2649           'schema': {
   2650             'type': 'array',
   2651             'items': { 'type': 'string' },
   2652           },
   2653           'supported_on': [
   2654             'chrome.*:11-',
   2655             'chrome_os:11-',
   2656             'ios:34-',
   2657             'android:34-',
   2658           ],
   2659           'features': {
   2660             'dynamic_refresh': True,
   2661             'per_profile': True,
   2662           },
   2663           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2664           'id': 75,
   2665           'caption': '''Allow popups on these sites''',
   2666           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to open popups.
   2667 
   2668           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.''',
   2669         },
   2670         {
   2671           'name': 'RegisteredProtocolHandlers',
   2672           'type': 'dict',
   2673           'schema': {
   2674             'type': 'array',
   2675             'items': {
   2676               'type': 'object',
   2677               'properties': {
   2678                 'default': {
   2679                   'description': 'A boolean flag indicating if the protocol handler should be set as the default.',
   2680                   'type': 'boolean'
   2681                 },
   2682                 'protocol': {
   2683                   'description': 'The protocol for the protocol handler.',
   2684                   'type': 'string'
   2685                 },
   2686                 'url': {
   2687                   'description': 'The URL of the protocol handler.',
   2688                   'type': 'string'
   2689                 }
   2690               },
   2691               'required': ['protocol', 'url']
   2692             }
   2693           },
   2694           'supported_on': ['chrome.*:37-', 'chrome_os:37-'],
   2695           'features': {
   2696             'dynamic_refresh': False,
   2697             'per_profile': True,
   2698           },
   2699           'example_value': [{'protocol': 'mailto', 'url': 'https://mail.google.com/mail/?extsrc=mailto&url=%s', 'default': 'true'}],
   2700           'id': 268,
   2701           'caption': '''Register protocol handlers''',
   2702           'desc': '''Allows you to register a list of protocol handlers. This can only be a recommended policy. The property |protocol| should be set to the scheme such as 'mailto' and the property |url| should be set to the URL pattern of the application that handles the scheme. The pattern can include a '%s', which if present will be replaced by the handled URL.
   2703 
   2704           The protocol handlers registered by policy are merged with the ones registered by the user and both are available for use. The user can override the protocol handlers installed by policy by installing a new default handler, but cannot remove a protocol handler registered by policy.''',
   2705         },
   2706         {
   2707           'name': 'PopupsBlockedForUrls',
   2708           'type': 'list',
   2709           'schema': {
   2710             'type': 'array',
   2711             'items': { 'type': 'string' },
   2712           },
   2713           'supported_on': [
   2714             'chrome.*:11-',
   2715             'chrome_os:11-',
   2716             'ios:34-',
   2717             'android:34-',
   2718           ],
   2719           'features': {
   2720             'dynamic_refresh': True,
   2721             'per_profile': True,
   2722           },
   2723           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2724           'id': 76,
   2725           'caption': '''Block popups on these sites''',
   2726           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to open popups.
   2727 
   2728           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.''',
   2729         },
   2730         {
   2731           'name': 'NotificationsAllowedForUrls',
   2732           'type': 'list',
   2733           'schema': {
   2734             'type': 'array',
   2735             'items': { 'type': 'string' },
   2736           },
   2737           'supported_on': ['chrome.*:16-', 'chrome_os:16-'],
   2738           'features': {
   2739             'dynamic_refresh': True,
   2740             'per_profile': True,
   2741           },
   2742           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2743           'id': 105,
   2744           'caption': '''Allow notifications on these sites''',
   2745           'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to display notifications.
   2746 
   2747           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.''',
   2748         },
   2749         {
   2750           'name': 'NotificationsBlockedForUrls',
   2751           'type': 'list',
   2752           'schema': {
   2753             'type': 'array',
   2754             'items': { 'type': 'string' },
   2755           },
   2756           'supported_on': ['chrome.*:16-', 'chrome_os:16-'],
   2757           'features': {
   2758             'dynamic_refresh': True,
   2759             'per_profile': True,
   2760           },
   2761           'example_value': ['http://www.example.com', '[*.]example.edu'],
   2762           'id': 106,
   2763           'caption': '''Block notifications on these sites''',
   2764           'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to display notifications.
   2765 
   2766           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.''',
   2767         },
   2768       ],
   2769     },
   2770     {
   2771       'name': 'NativeMessaging',
   2772       'type': 'group',
   2773       'caption': '''Native Messaging''',
   2774       'desc': '''Configures policies for Native Messaging. Blacklisted native messaging hosts won't be allowed unless they are whitelisted.''',
   2775       'policies': [
   2776         {
   2777           'name': 'NativeMessagingBlacklist',
   2778           'type': 'list',
   2779           'schema': {
   2780             'type': 'array',
   2781             'items': { 'type': 'string' },
   2782           },
   2783           'supported_on': ['chrome.*:34-'],
   2784           'features': {
   2785             'dynamic_refresh': True,
   2786             'per_profile': True,
   2787           },
   2788           'example_value': [
   2789             'com.native.messaging.host.name1',
   2790             'com.native.messaging.host.name2',
   2791           ],
   2792           'id': 251,
   2793           'caption': '''Configure native messaging blacklist''',
   2794           'desc': '''Allows you to specify which native messaging hosts that should not be loaded.
   2795 
   2796           A blacklist value of '*' means all native messaging hosts are blacklisted unless they are explicitly listed in the whitelist.
   2797 
   2798           If this policy is left not set <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will load all installed native messaging hosts.''',
   2799           'label': '''Names of the forbidden native messaging hosts (or * for all)''',
   2800         },
   2801         {
   2802           'name': 'NativeMessagingWhitelist',
   2803           'type': 'list',
   2804           'schema': {
   2805             'type': 'array',
   2806             'items': { 'type': 'string' },
   2807           },
   2808           'supported_on': ['chrome.*:34-'],
   2809           'features': {
   2810             'dynamic_refresh': True,
   2811             'per_profile': True,
   2812           },
   2813           'example_value': [
   2814             'com.native.messaging.host.name1',
   2815             'com.native.messaging.host.name2',
   2816           ],
   2817           'id': 252,
   2818           'caption': '''Configure native messaging whitelist''',
   2819           'desc': '''Allows you to specify which native messaging hosts are not subject to the blacklist.
   2820 
   2821           A blacklist value of * means all native messaging hosts are blacklisted and only native messaging hosts listed in the whitelist will be loaded.
   2822 
   2823           By default, all native messaging hosts are whitelisted, but if all native messaging hosts have been blacklisted by policy, the whitelist can be used to override that policy.''',
   2824           'label': '''Names of the native messaging hosts to exempt from the blacklist''',
   2825         },
   2826         {
   2827           'name': 'NativeMessagingUserLevelHosts',
   2828           'type': 'main',
   2829           'schema': { 'type': 'boolean' },
   2830           'supported_on': ['chrome.*:34-'],
   2831           'features': {
   2832             'dynamic_refresh': True,
   2833             'per_profile': True,
   2834           },
   2835           'example_value': False,
   2836           'id': 253,
   2837           'caption': '''Allow user-level Native Messaging hosts (installed without admin permissions).''',
   2838           'desc': '''Enables user-level installation of Native Messaging hosts.
   2839 
   2840           If this setting is enabled then <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> allows
   2841           usage of Native Messaging hosts installed on user level.
   2842 
   2843           If this setting is disabled then <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will
   2844           only use Native Messaging hosts installed on system level.
   2845 
   2846           If this setting is left not set <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>
   2847           will allow usage of user-level Native Messaging hosts.''',
   2848         },
   2849       ],
   2850     },
   2851     {
   2852       'name': 'Disable3DAPIs',
   2853       'type': 'main',
   2854       'schema': { 'type': 'boolean' },
   2855       'supported_on': ['chrome.*:9-', 'chrome_os:11-'],
   2856       'features': {
   2857         'dynamic_refresh': True,
   2858         'per_profile': True,
   2859       },
   2860       'example_value': False,
   2861       'id': 55,
   2862       'caption': '''Disable support for 3D graphics APIs''',
   2863       'desc': '''Disable support for 3D graphics APIs.
   2864 
   2865       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.
   2866 
   2867       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.''',
   2868     },
   2869     {
   2870       'name': 'PolicyRefreshRate',
   2871       'type': 'int',
   2872       'schema': { 'type': 'integer' },
   2873       'supported_on': ['chrome_os:11-'],
   2874       'features': {
   2875         'dynamic_refresh': True,
   2876         'per_profile': True,
   2877       },
   2878       'example_value': 3600000,
   2879       'id': 56,
   2880       'caption': '''Refresh rate for user policy''',
   2881       'desc': '''Specifies the period in milliseconds at which the device management service is queried for user policy information.
   2882 
   2883       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.
   2884 
   2885       Leaving this policy not set will make <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> use the default value of 3 hours.''',
   2886     },
   2887     {
   2888       'name': 'MaxInvalidationFetchDelay',
   2889       'type': 'int',
   2890       'schema': { 'type': 'integer' },
   2891       'supported_on': ['chrome.*:30-', 'chrome_os:30-'],
   2892       'features': {
   2893         'dynamic_refresh': True,
   2894         'per_profile': True,
   2895       },
   2896       'example_value': 10000,
   2897       'id': 228,
   2898       'caption': '''Maximum fetch delay after a policy invalidation''',
   2899       'desc': '''Specifies the maximum delay in milliseconds between receiving a policy invalidation and fetching the new policy from the device management service.
   2900 
   2901       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.
   2902 
   2903       Leaving this policy not set will make <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> use the default value of 5000 milliseconds.''',
   2904     },
   2905     {
   2906       'name': 'ChromeFrameRendererSettings',
   2907       'type': 'group',
   2908       'caption': '''Default HTML renderer for <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
   2909       'desc': '''Allows you to configure the default HTML renderer when <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> is installed.
   2910       The default setting is to allow the host browser do the rendering, but you
   2911       can optionally override this and have <ph name="PRODUCT_FRAME_NAME">$3<ex>
   2912       Google Chrome Frame</ex></ph> render HTML pages by default.''',
   2913       'policies': [
   2914         {
   2915           'name': 'ChromeFrameRendererSettings',
   2916           'type': 'int-enum',
   2917           'schema': {
   2918             'type': 'integer',
   2919             'enum': [ 0, 1 ],
   2920           },
   2921           'items': [
   2922             {
   2923               'name': 'RenderInHost',
   2924               'value': 0,
   2925               'caption': '''Use the host browser by default''',
   2926             },
   2927             {
   2928               'name': 'RenderInChromeFrame',
   2929               'value': 1,
   2930               'caption': '''Use <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> by default''',
   2931             },
   2932           ],
   2933           'supported_on': ['chrome_frame:8-32'],
   2934           'features': {
   2935             'dynamic_refresh': False,
   2936           },
   2937           'example_value': 1,
   2938           'id': 57,
   2939           'caption': '''Default HTML renderer for <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
   2940           'desc': '''Allows you to configure the default HTML renderer when <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> is installed.
   2941           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.''',
   2942         },
   2943         {
   2944           'name': 'RenderInChromeFrameList',
   2945           'type': 'list',
   2946           'schema': {
   2947             'type': 'array',
   2948             'items': { 'type': 'string' },
   2949           },
   2950           'supported_on': ['chrome_frame:8-32'],
   2951           'features': {
   2952             'dynamic_refresh': False,
   2953           },
   2954           'example_value': ['http://www.example.com', 'http://www.example.edu'],
   2955           'id': 58,
   2956           'caption': '''Always render the following URL patterns in <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
   2957           '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>.
   2958 
   2959           If this policy is not set the default renderer will be used for all sites as specified by the 'ChromeFrameRendererSettings' policy.
   2960 
   2961           For example patterns see http://www.chromium.org/developers/how-tos/chrome-frame-getting-started.''',
   2962         },
   2963         {
   2964           'name': 'RenderInHostList',
   2965           'type': 'list',
   2966           'schema': {
   2967             'type': 'array',
   2968             'items': { 'type': 'string' },
   2969           },
   2970           'supported_on': ['chrome_frame:8-32'],
   2971           'features': {
   2972             'dynamic_refresh': False,
   2973           },
   2974           'example_value': ['http://www.example.com', 'http://www.example.edu'],
   2975           'id': 59,
   2976           'caption': '''Always render the following URL patterns in the host browser''',
   2977           'desc': '''Customize the list of URL patterns that should always be rendered by the host browser.
   2978 
   2979           If this policy is not set the default renderer will be used for all sites as specified by the 'ChromeFrameRendererSettings' policy.
   2980 
   2981           For example patterns see http://www.chromium.org/developers/how-tos/chrome-frame-getting-started.''',
   2982         },
   2983         {
   2984           'name': 'AdditionalLaunchParameters',
   2985           'type': 'string',
   2986           'schema': { 'type': 'string' },
   2987           'supported_on': ['chrome_frame:19-32'],
   2988           'features': {
   2989             'dynamic_refresh': False,
   2990           },
   2991           'example_value': '--enable-media-stream --enable-media-source',
   2992           'id': 141,
   2993           'caption': '''Additional command line parameters for <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>''',
   2994           '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>.
   2995 
   2996           If this policy is not set the default command line will be used.''',
   2997         },
   2998         {
   2999           'name': 'SkipMetadataCheck',
   3000           'type': 'main',
   3001           'schema': { 'type': 'boolean' },
   3002           'supported_on': ['chrome_frame:31-32'],
   3003           'features': {
   3004             'dynamic_refresh': False,
   3005           },
   3006           'example_value': False,
   3007           'id': 238,
   3008           'caption': '''Skip the meta tag check in <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
   3009           'desc': '''Normally pages with X-UA-Compatible set to chrome=1 will be rendered in <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> regardless of the 'ChromeFrameRendererSettings' policy.
   3010 
   3011           If you enable this setting, pages will not be scanned for meta tags.
   3012 
   3013           If you disable this setting, pages will be scanned for meta tags.
   3014 
   3015           If this policy is not set, pages will be scanned for meta tags.'''
   3016         },
   3017       ],
   3018     },
   3019     {
   3020       'name': 'ChromeFrameContentTypes',
   3021       'type': 'group',
   3022       'caption': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the following content types''',
   3023       'desc': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the following content types.''',
   3024       'policies': [
   3025         {
   3026           'name': 'ChromeFrameContentTypes',
   3027           'type': 'list',
   3028           'schema': {
   3029             'type': 'array',
   3030             'items': { 'type': 'string' },
   3031           },
   3032           'supported_on': ['chrome_frame:8-32'],
   3033           'features': {
   3034             'dynamic_refresh': False,
   3035           },
   3036           'example_value': ['text/xml', 'application/xml'],
   3037           'id': 60,
   3038           'caption': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the listed content types''',
   3039           'desc': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> to handle the listed content types.
   3040 
   3041           If this policy is not set the default renderer will be used for all sites as specified by the 'ChromeFrameRendererSettings' policy.''',
   3042         },
   3043       ],
   3044     },
   3045     {
   3046       'name': 'ChromeOsLockOnIdleSuspend',
   3047       'type': 'main',
   3048       'schema': { 'type': 'boolean' },
   3049       'supported_on': ['chrome_os:9-'],
   3050       'features': {
   3051         'can_be_recommended': True,
   3052         'dynamic_refresh': True,
   3053         'per_profile': True,
   3054       },
   3055       'example_value': True,
   3056       'id': 61,
   3057       'caption': '''Enable lock when the device become idle or suspended''',
   3058       'desc': '''Enable lock when <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices become idle or suspended.
   3059 
   3060       If you enable this setting, users will be asked for a password to unlock the device from sleep.
   3061 
   3062       If you disable this setting, users will not be asked for a password to unlock the device from sleep.
   3063 
   3064       If you enable or disable this setting, users cannot change or override it.
   3065 
   3066       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.''',
   3067     },
   3068     {
   3069       'name': 'ChromeOsMultiProfileUserBehavior',
   3070       'type': 'string-enum',
   3071       'schema': {
   3072         'type': 'string',
   3073         'enum': [
   3074           'unrestricted',
   3075           'primary-only',
   3076           'not-allowed',
   3077         ],
   3078       },
   3079       'items': [
   3080         {
   3081           'name': 'MultiProfileUserBehaviorUnrestricted',
   3082           'value': 'unrestricted',
   3083           'caption': '''Allow enterprise user to be both primary and secondary  (Default behavior for non-managed users)''',
   3084         },
   3085         {
   3086           'name': 'MultiProfileUserBehaviorMustBePrimary',
   3087           'value': 'primary-only',
   3088           'caption': '''Allow enterprise user to be primary multiprofile user only (Default behavior for enterprise-managed users)''',
   3089         },
   3090         {
   3091           'name': 'MultiProfileUserBehaviorNotAllowed',
   3092           'value': 'not-allowed',
   3093           'caption': '''Do not allow enterprise user to be part of multiprofile (primary or secondary)''',
   3094         },
   3095       ],
   3096       'supported_on': ['chrome_os:31-'],
   3097       'features': {
   3098         'dynamic_refresh': True,
   3099         'per_profile': True,
   3100       },
   3101       'example_value': 'unrestricted',
   3102       'id': 244,
   3103       'caption': '''Control the user behavior in a multiprofile session''',
   3104       'desc': '''Control the user behavior in a multiprofile session on <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices.
   3105 
   3106       If this policy is set to 'MultiProfileUserBehaviorUnrestricted', the user can be either primary or secondary user in a multiprofile session.
   3107 
   3108       If this policy is set to 'MultiProfileUserBehaviorMustBePrimary', the user can only be the primary user in a multiprofile session.
   3109 
   3110       If this policy is set to 'MultiProfileUserBehaviorNotAllowed', the user cannot be part of a multiprofile session.
   3111 
   3112       If you set this setting, users cannot change or override it.
   3113 
   3114       If the setting is changed while the user is signed into a multiprofile session, all users in the session will be checked against their corresponding settings. The session will be closed if any one of the users is no longer allowed to be in the session.
   3115 
   3116       If the policy is left not set, the default value 'MultiProfileUserBehaviorMustBePrimary' applies for enterprise-managed users and 'MultiProfileUserBehaviorUnrestricted' will be used for non-managed users.''',
   3117     },
   3118     {
   3119       'name': 'InstantEnabled',
   3120       'type': 'main',
   3121       'schema': { 'type': 'boolean' },
   3122       'supported_on': ['chrome.*:11-28', 'chrome_os:11-28'],
   3123       'deprecated': True,
   3124       'features': {
   3125         'can_be_recommended': True,
   3126         'dynamic_refresh': True,
   3127         'per_profile': True,
   3128       },
   3129       'example_value': True,
   3130       'id': 62,
   3131       'caption': '''Enable Instant''',
   3132       'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s Instant feature and prevents users from changing this setting.
   3133 
   3134       If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> Instant is enabled.
   3135 
   3136       If you disable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> Instant is disabled.
   3137 
   3138       If you enable or disable this setting, users cannot change or override this setting.
   3139 
   3140       If this setting is left not set the user can decide to use this function or not.
   3141 
   3142       This setting has been removed from Chrome 29 and higher versions.''',
   3143     },
   3144     {
   3145       'name': 'TranslateEnabled',
   3146       'type': 'main',
   3147       'schema': { 'type': 'boolean' },
   3148       'supported_on': [
   3149         'chrome.*:12-',
   3150         'chrome_os:12-',
   3151         'android:30-',
   3152         'ios:34-',
   3153       ],
   3154       'features': {
   3155         'can_be_recommended': True,
   3156         'dynamic_refresh': True,
   3157         'per_profile': True,
   3158       },
   3159       'example_value': True,
   3160       'id': 80,
   3161       'caption': '''Enable Translate''',
   3162       'desc': '''Enables the integrated Google Translate service on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
   3163 
   3164       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.
   3165 
   3166       If you disable this setting, users will never see the translation bar.
   3167 
   3168       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>.
   3169 
   3170       If this setting is left not set the user can decide to use this function or not.''',
   3171     },
   3172     {
   3173       'name': 'AllowOutdatedPlugins',
   3174       'type': 'main',
   3175       'schema': { 'type': 'boolean' },
   3176       'supported_on': ['chrome.*:12-', 'chrome_os:12-'],
   3177       'features': {
   3178         'dynamic_refresh': True,
   3179         'per_profile': True,
   3180       },
   3181       'example_value': True,
   3182       'id': 81,
   3183       'caption': '''Allow running plugins that are outdated''',
   3184       'desc': '''Allows <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to run plugins that are outdated.
   3185 
   3186       If you enable this setting, outdated plugins are used as normal plugins.
   3187 
   3188       If you disable this setting, outdated plugins will not be used and users will not be asked for permission to run them.
   3189 
   3190       If this setting is not set, users will be asked for permission to run outdated plugins.''',
   3191     },
   3192     {
   3193       'name': 'AlwaysAuthorizePlugins',
   3194       'type': 'main',
   3195       'schema': { 'type': 'boolean' },
   3196       'supported_on': ['chrome.*:13-', 'chrome_os:13-'],
   3197       'features': {
   3198         'dynamic_refresh': True,
   3199         'per_profile': True,
   3200       },
   3201       'example_value': True,
   3202       'id': 86,
   3203       'caption': '''Always runs plugins that require authorization''',
   3204       'desc': '''Allows <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to run plugins that require authorization.
   3205 
   3206       If you enable this setting, plugins that are not outdated always run.
   3207 
   3208       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.''',
   3209     },
   3210     {
   3211       'name': 'BookmarkBarEnabled',
   3212       'type': 'main',
   3213       'schema': { 'type': 'boolean' },
   3214       'supported_on': ['chrome.*:12-', 'chrome_os:12-'],
   3215       'features': {
   3216         'can_be_recommended': True,
   3217         'dynamic_refresh': True,
   3218         'per_profile': True,
   3219       },
   3220       'example_value': True,
   3221       'id': 82,
   3222       'caption': '''Enable Bookmark Bar''',
   3223       'desc': '''Enables the bookmark bar on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
   3224 
   3225       If you enable this setting, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will show a bookmark bar.
   3226 
   3227       If you disable this setting, users will never see the bookmark bar.
   3228 
   3229       If you enable or disable this setting, users cannot change or override it in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
   3230 
   3231       If this setting is left not set the user can decide to use this function or not.''',
   3232     },
   3233     {
   3234       'name': 'EditBookmarksEnabled',
   3235       'type': 'main',
   3236       'schema': { 'type': 'boolean' },
   3237       'supported_on': ['chrome.*:12-', 'chrome_os:12-', 'android:30-'],
   3238       'features': {
   3239         'dynamic_refresh': True,
   3240         'per_profile': True,
   3241       },
   3242       'example_value': False,
   3243       'id': 83,
   3244       'caption': '''Enables or disables bookmark editing''',
   3245       'desc': '''Enables or disables editing bookmarks in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
   3246 
   3247       If you enable this setting, bookmarks can be added, removed or modified. This is the default also when this policy is not set.
   3248 
   3249       If you disable this setting, bookmarks can not be added, removed or modified. Existing bookmarks are still available.''',
   3250     },
   3251     {
   3252       'name': 'ShowAppsShortcutInBookmarkBar',
   3253       'type': 'main',
   3254       'schema': { 'type': 'boolean' },
   3255       'supported_on': ['chrome.*:37-'],
   3256       'features': {
   3257         'dynamic_refresh': True,
   3258         'per_profile': True,
   3259       },
   3260       'example_value': False,
   3261       'id': 267,
   3262       'caption': '''Show the apps shortcut in the bookmark bar''',
   3263       'desc': '''Enables or disables the apps shortcut in the bookmark bar.
   3264 
   3265       If this policy is not set then the user can choose to show or hide the apps shortcut from the bookmark bar context menu.
   3266 
   3267       If this policy is configured then the user can't change it, and the apps shortcut is always shown or never shown.''',
   3268     },
   3269     {
   3270       'name': 'AllowFileSelectionDialogs',
   3271       'type': 'main',
   3272       'schema': { 'type': 'boolean' },
   3273       'supported_on': ['chrome.*:12-'],
   3274       'features': {
   3275         'dynamic_refresh': True,
   3276         'per_profile': False,
   3277       },
   3278       'example_value': True,
   3279       'id': 84,
   3280       'caption': '''Allow invocation of file selection dialogs''',
   3281       '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.
   3282 
   3283       If you enable this setting, users can open file selection dialogs as normal.
   3284 
   3285       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.
   3286 
   3287       If this setting is not set, users can open file selection dialogs as normal.''',
   3288     },
   3289     {
   3290       'name': 'GCFUserDataDir',
   3291       'type': 'string',
   3292       'schema': { 'type': 'string' },
   3293       'supported_on': ['chrome_frame:12-32'],
   3294       'features': {
   3295         'dynamic_refresh': False,
   3296       },
   3297       'example_value': '${user_home}/Chrome Frame',
   3298       'id': 87,
   3299       'caption': '''Set <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> user data directory''',
   3300       'desc': '''Configures the directory that <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> will use for storing user data.
   3301 
   3302       If you set this policy, <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> will use the provided directory.
   3303 
   3304       See http://www.chromium.org/administrators/policy-list-3/user-data-directory-variables for a list of variables that can be used.
   3305 
   3306       If this setting is left not set the default profile directory will be used.''',
   3307       'label': '''Set user data directory''',
   3308     },
   3309     {
   3310       'name': 'DevicePolicyRefreshRate',
   3311       'type': 'int',
   3312       'schema': { 'type': 'integer' },
   3313       'supported_on': ['chrome_os:11-'],
   3314       'device_only': True,
   3315       'features': {
   3316         'dynamic_refresh': True,
   3317       },
   3318       'example_value': 3600000,
   3319       'id': 90,
   3320       'caption': '''Refresh rate for Device Policy''',
   3321       'desc': '''Specifies the period in milliseconds at which the device management service is queried for device policy information.
   3322 
   3323       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.
   3324 
   3325       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.''',
   3326     },
   3327     {
   3328       'name': 'ImportBookmarks',
   3329       'type': 'main',
   3330       'schema': { 'type': 'boolean' },
   3331       'supported_on': ['chrome.*:15-'],
   3332       'features': {
   3333         'can_be_recommended': True,
   3334         'dynamic_refresh': True,
   3335         'per_profile': True,
   3336       },
   3337       'example_value': True,
   3338       'id': 97,
   3339       'caption': '''Import bookmarks from default browser on first run''',
   3340       'desc': '''This policy forces bookmarks to be imported from the current default browser if enabled. If enabled, this policy also affects the import dialog.
   3341 
   3342       If disabled, no bookmarks are imported.
   3343 
   3344       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
   3345       'label': '''Import bookmarks from default browser on first run''',
   3346     },
   3347     {
   3348       'name': 'ImportHistory',
   3349       'type': 'main',
   3350       'schema': { 'type': 'boolean' },
   3351       'supported_on': ['chrome.*:15-'],
   3352       'features': {
   3353         'can_be_recommended': True,
   3354         'dynamic_refresh': True,
   3355         'per_profile': True,
   3356       },
   3357       'example_value': True,
   3358       'id': 98,
   3359       'caption': '''Import browsing history from default browser on first run''',
   3360       '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.
   3361 
   3362       If disabled, no browsing history is imported.
   3363 
   3364       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
   3365       'label': '''Import browsing history from default browser on first run''',
   3366     },
   3367     {
   3368       'name': 'ImportHomepage',
   3369       'type': 'main',
   3370       'schema': { 'type': 'boolean' },
   3371       'supported_on': ['chrome.*:15-'],
   3372       'features': {
   3373         'dynamic_refresh': True,
   3374         'per_profile': True,
   3375       },
   3376       'example_value': True,
   3377       'id': 99,
   3378       'caption': '''Import of homepage from default browser on first run''',
   3379       'desc': '''This policy forces the home page to be imported from the current default browser if enabled.
   3380 
   3381       If disabled, the home page is not imported.
   3382 
   3383       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
   3384       'label': '''Import of homepage from default browser on first run''',
   3385     },
   3386     {
   3387       'name': 'ImportSearchEngine',
   3388       'type': 'main',
   3389       'schema': { 'type': 'boolean' },
   3390       'supported_on': ['chrome.*:15-'],
   3391       'features': {
   3392         'can_be_recommended': True,
   3393         'dynamic_refresh': True,
   3394         'per_profile': True,
   3395       },
   3396       'example_value': True,
   3397       'id': 100,
   3398       'caption': '''Import search engines from default browser on first run''',
   3399       '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.
   3400 
   3401       If disabled, the default search engine is not imported.
   3402 
   3403       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
   3404       'label': '''Import search engines from default browser on first run''',
   3405     },
   3406     {
   3407       'name': 'ImportSavedPasswords',
   3408       'type': 'main',
   3409       'schema': { 'type': 'boolean' },
   3410       'supported_on': ['chrome.*:15-'],
   3411       'features': {
   3412         'can_be_recommended': True,
   3413         'dynamic_refresh': True,
   3414         'per_profile': True,
   3415       },
   3416       'example_value': True,
   3417       'id': 101,
   3418       'caption': '''Import saved passwords from default browser on first run''',
   3419       '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.
   3420 
   3421       If disabled, the saved passwords are not imported.
   3422 
   3423       If it is not set, the user may be asked whether to import, or importing may happen automatically.''',
   3424       'label': '''Import saved passwords from default browser on first run''',
   3425     },
   3426     {
   3427       'name': 'MaxConnectionsPerProxy',
   3428       'type': 'int',
   3429       'schema': { 'type': 'integer' },
   3430       'supported_on': ['chrome.*:14-'],
   3431       'features': {
   3432         'dynamic_refresh': False,
   3433         'per_profile': False,
   3434       },
   3435       'example_value': 32,
   3436       'id': 92,
   3437       'caption': '''Maximal number of concurrent connections to the proxy server''',
   3438       'desc': '''Specifies the maximal number of simultaneous connections to the proxy server.
   3439 
   3440       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.
   3441 
   3442       The value of this policy should be lower than 100 and higher than 6 and the default value is 32.
   3443 
   3444       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.
   3445 
   3446       If this policy is left not set the default value will be used which is 32.''',
   3447     },
   3448     {
   3449       'name': 'HideWebStorePromo',
   3450       'type': 'main',
   3451       'schema': { 'type': 'boolean' },
   3452       'supported_on': ['chrome.*:15-21', 'chrome_os:15-21'],
   3453       'deprecated': True,
   3454       'features': {
   3455         'dynamic_refresh': False,
   3456       },
   3457       'example_value': False,
   3458       'id': 96,
   3459       'caption': '''Prevent app promotions from appearing on the new tab page''',
   3460       'desc': '''When set to True, promotions for Chrome Web Store apps will not appear on the new tab page.
   3461 
   3462       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''',
   3463     },
   3464     {
   3465       'name': 'URLBlacklist',
   3466       'type': 'list',
   3467       'schema': {
   3468         'type': 'array',
   3469         'items': { 'type': 'string' },
   3470       },
   3471       'supported_on': [
   3472         'chrome.*:15-',
   3473         'chrome_os:15-',
   3474         'android:30-',
   3475         'ios:34-',
   3476       ],
   3477       'features': {
   3478         'dynamic_refresh': True,
   3479         'per_profile': True,
   3480       },
   3481       'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/bad_path', 'http://server:8080/path', '.exact.hostname.com', '*'],
   3482       'id': 103,
   3483       'caption': '''Block access to a list of URLs''',
   3484       'desc': '''Blocks access to the listed URLs.
   3485 
   3486       This policy prevents the user from loading web pages from blacklisted URLs.
   3487 
   3488       A URL has the format 'scheme://host:port/path'.
   3489       The optional scheme can be http, https or ftp. Only this scheme will be blocked; if none is specified, all schemes are blocked.
   3490       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.
   3491       The optional port is a valid port number from 1 to 65535. If none is specified, all ports are blocked.
   3492       If the optional path is specified, only paths with that prefix will be blocked.
   3493 
   3494       Exceptions can be defined in the URL whitelist policy. These policies are limited to 1000 entries; subsequent entries will be ignored.
   3495 
   3496       If this policy is not set no URL will be blacklisted in the browser.''',
   3497     },
   3498     {
   3499       'name': 'URLWhitelist',
   3500       'type': 'list',
   3501       'schema': {
   3502         'type': 'array',
   3503         'items': { 'type': 'string' },
   3504       },
   3505       'supported_on': [
   3506         'chrome.*:15-',
   3507         'chrome_os:15-',
   3508         'android:30-',
   3509         'ios:34-',
   3510       ],
   3511       'features': {
   3512         'dynamic_refresh': True,
   3513         'per_profile': True,
   3514       },
   3515       'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/bad_path', 'http://server:8080/path', '.exact.hostname.com'],
   3516       'id': 104,
   3517       'caption': '''Allows access to a list of URLs''',
   3518       'desc': '''Allows access to the listed URLs, as exceptions to the URL blacklist.
   3519 
   3520       See the description of the URL blacklist policy for the format of entries of this list.
   3521 
   3522       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.
   3523 
   3524       The most specific filter will determine if a URL is blocked or allowed. The whitelist takes precedence over the blacklist.
   3525 
   3526       This policy is limited to 1000 entries; subsequent entries will be ignored.
   3527 
   3528       If this policy is not set there will be no exceptions to the blacklist from the 'URLBlacklist' policy.''',
   3529     },
   3530     {
   3531       'name': 'OpenNetworkConfiguration',
   3532       'type': 'string',
   3533       'schema': { 'type': 'string' },
   3534       'supported_on': ['chrome_os:16-'],
   3535       'features': {
   3536         'dynamic_refresh': True,
   3537         'per_profile': True,
   3538       },
   3539       'example_value': '{ "NetworkConfigurations": [ { "GUID": "{4b224dfd-6849-7a63-5e394343244ae9c9}", "Name": "my WiFi", "Type": "WiFi", "WiFi": { "SSID": "my WiFi", "HiddenSSID": false, "Security": "None", "AutoConnect": true } } ] }',
   3540       'id': 107,
   3541       'caption': '''User-level network configuration''',
   3542       '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>''',
   3543     },
   3544     {
   3545       'name': 'DeviceOpenNetworkConfiguration',
   3546       'type': 'string',
   3547       'schema': { 'type': 'string' },
   3548       'supported_on': ['chrome_os:16-'],
   3549       'device_only': True,
   3550       'features': {
   3551         'dynamic_refresh': True,
   3552       },
   3553       'example_value': '{ "NetworkConfigurations": [ { "GUID": "{4b224dfd-6849-7a63-5e394343244ae9c9}", "Name": "my WiFi", "Type": "WiFi", "WiFi": { "SSID": "my WiFi", "HiddenSSID": false, "Security": "None", "AutoConnect": true } } ] }',
   3554       'id': 108,
   3555       'caption': '''Device-level network configuration''',
   3556       '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>''',
   3557     },
   3558     {
   3559       'name': 'CloudPrintSubmitEnabled',
   3560       'type': 'main',
   3561       'schema': { 'type': 'boolean' },
   3562       'supported_on': ['chrome.*:17-'],
   3563       'features': {
   3564         'dynamic_refresh': True,
   3565         'per_profile': True,
   3566       },
   3567       'example_value': True,
   3568       'id': 109,
   3569       'caption': '''Enable submission of documents to <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph>''',
   3570       '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.
   3571 
   3572       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.
   3573 
   3574       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''',
   3575     },
   3576     {
   3577       'name': 'EnterpriseWebStoreURL',
   3578       'type': 'string',
   3579       'schema': { 'type': 'string' },
   3580       'supported_on': ['chrome.*:17-28', 'chrome_os:17-28'],
   3581       'features': {
   3582         'dynamic_refresh': True,
   3583         'per_profile': True,
   3584       },
   3585       'deprecated': True,
   3586       'example_value': 'http://company-intranet/chromeapps',
   3587       'id': 112,
   3588       'caption': '''Enterprise web store URL (deprecated)''',
   3589       '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.''',
   3590     },
   3591     {
   3592       'name': 'EnterpriseWebStoreName',
   3593       'type': 'string',
   3594       'schema': { 'type': 'string' },
   3595       'supported_on': ['chrome.*:17-28', 'chrome_os:17-28'],
   3596       'features': {
   3597         'dynamic_refresh': True,
   3598         'per_profile': True,
   3599       },
   3600       'deprecated': True,
   3601       'example_value': 'WidgCo Chrome Apps',
   3602       'id': 113,
   3603       'caption': '''Enterprise web store name (deprecated)''',
   3604       '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.''',
   3605     },
   3606     {
   3607       'name': 'EnableOriginBoundCerts',
   3608       'type': 'main',
   3609       'schema': { 'type': 'boolean' },
   3610       'supported_on': ['chrome.*:17-35'],
   3611       'features': {
   3612         'dynamic_refresh': True,
   3613         'per_profile': False,
   3614       },
   3615       'deprecated': True,
   3616       'future': True,
   3617       'example_value': True,
   3618       'id': 114,
   3619       'caption': '''Enable TLS domain-bound certificates extension (deprecated)''',
   3620       'desc': '''This policy has been retired as of <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> version 36.
   3621 
   3622       Specifies whether the TLS domain-bound certificates extension should be enabled.
   3623 
   3624       This setting is used to enable the TLS domain-bound certificates extension for testing.  This experimental setting will be removed in the future.''',
   3625     },
   3626     {
   3627       'name': 'EnableMemoryInfo',
   3628       'type': 'main',
   3629       'schema': { 'type': 'boolean' },
   3630       'supported_on': ['chrome.*:17-34', 'chrome_os:18-34'],
   3631       'features': {
   3632         'dynamic_refresh': True,
   3633         'per_profile': True,
   3634       },
   3635       'deprecated': True,
   3636       'future': True,
   3637       'example_value': False,
   3638       'id': 115,
   3639       'caption': '''Enable reporting memory info (JS heap size) to page (deprecated)''',
   3640       'desc': '''This policy has been retired as of <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> version 35.
   3641 
   3642       Memory info is anyway reported to page, regardless of the option value, but the sizes reported are
   3643       quantized and the rate of updates is limited for security reasons. To obtain real-time precise data,
   3644       please use tools like Telemetry.''',
   3645     },
   3646     {
   3647       'name': 'DisablePrintPreview',
   3648       'type': 'main',
   3649       'schema': { 'type': 'boolean' },
   3650       'supported_on': ['chrome.*:18-'],
   3651       'features': {
   3652         'dynamic_refresh': False,
   3653         'per_profile': True,
   3654       },
   3655       'example_value': False,
   3656       'id': 117,
   3657       'caption': '''Disable Print Preview''',
   3658       'desc': '''Show the system print dialog instead of print preview.
   3659 
   3660       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.
   3661 
   3662       If this policy is not set or is set to false, print commands trigger the print preview screen.''',
   3663     },
   3664     {
   3665       'name': 'DisableSSLRecordSplitting',
   3666       'type': 'main',
   3667       'schema': { 'type': 'boolean' },
   3668       'supported_on': ['chrome.*:18-', 'chrome_os:18-'],
   3669       'features': {
   3670         'dynamic_refresh': True,
   3671         'per_profile': False,
   3672       },
   3673       'example_value': True,
   3674       'id': 118,
   3675       'caption': '''Disable SSL record splitting''',
   3676       '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.
   3677 
   3678       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.''',
   3679     },
   3680     {
   3681       'name': 'EnableOnlineRevocationChecks',
   3682       'type': 'main',
   3683       'schema': { 'type': 'boolean' },
   3684       'supported_on': ['chrome.*:19-', 'chrome_os:19-'],
   3685       'features': {
   3686         'dynamic_refresh': True,
   3687         'per_profile': False,
   3688       },
   3689       'example_value': False,
   3690       'id': 129,
   3691       'caption': '''Whether online OCSP/CRL checks are performed''',
   3692       '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 behavior is restored and online OCSP/CRL checks will be performed.
   3693 
   3694       If the policy is not set, or is set to false, then Chrome will not perform online revocation checks in Chrome 19 and later.''',
   3695     },
   3696     {
   3697       'name': 'RequireOnlineRevocationChecksForLocalAnchors',
   3698       'type': 'main',
   3699       'schema': { 'type': 'boolean' },
   3700       'supported_on': ['chrome_os:30-', 'chrome.linux:30-', 'chrome.win:30-'],
   3701       'features': {
   3702         'dynamic_refresh': True,
   3703         'per_profile': False,
   3704       },
   3705       'example_value': False,
   3706       'id': 235,
   3707       'caption': '''Whether online OCSP/CRL checks are required for local trust anchors''',
   3708       '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.
   3709 
   3710       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').
   3711 
   3712       If this policy is not set, or it is set to false, then Chrome will use the existing online revocation checking settings.''',
   3713     },
   3714     {
   3715       'name': 'ForceEphemeralProfiles',
   3716       'type': 'main',
   3717       'schema': { 'type': 'boolean' },
   3718       'supported_on': ['chrome.*:32-'],
   3719       'features': {
   3720         'dynamic_refresh': False,
   3721         'per_profile': True,
   3722       },
   3723       'example_value': True,
   3724       'id': 245,
   3725       'caption': '''Ephemeral profile''',
   3726       'desc': '''If set to enabled this policy forces the profile to be switched to ephemeral mode. If this policy is specified as an OS policy (e.g. GPO on Windows) it will apply to every profile on the system; if the policy is set as a Cloud policy it will apply only to a profile signed in with a managed account.
   3727 
   3728       In this mode the profile data is persisted on disk only for the length of the user session. Features like browser history, extensions and their data, web data like cookies and web databases are not preserved after the browser is closed. However this does not prevent the user from downloading any data to disk manually, save pages or print them.
   3729 
   3730       If the user has enabled sync all this data is preserved in his sync profile just like with regular profiles. Incognito mode is also available if not explicitly disabled by policy.
   3731 
   3732       If the policy is set to disabled or left not set signing in leads to regular profiles.'''
   3733     },
   3734     {
   3735       'name': 'SAMLOfflineSigninTimeLimit',
   3736       'type': 'int',
   3737       'schema': { 'type': 'integer', 'minimum': -1 },
   3738       'supported_on': ['chrome_os:34-'],
   3739       'features': {
   3740         'dynamic_refresh': True,
   3741         'per_profile': True,
   3742       },
   3743       'example_value': 32,
   3744       'id': 254,
   3745       'caption': '''Limit the time for which a user authenticated via SAML can log in offline''',
   3746       'desc': '''Limit the time for which a user authenticated via SAML can log in offline.
   3747 
   3748       During login, Chrome OS can authenticate against a server (online) or using a cached password (offline).
   3749 
   3750       When this policy is set to a value of -1, the user can authenticate offline indefinitely. When this policy is set to any other value, it specifies the length of time since the last online authentication after which the user must use online authentication again.
   3751 
   3752       Leaving this policy not set will make <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> use a default time limit of 14 days after which the user must use online authentication again.
   3753 
   3754       This policy affects only users who authenticated using SAML.
   3755 
   3756       The policy value should be specified in seconds.''',
   3757     },
   3758     {
   3759       'name': 'AutoCleanUpStrategy',
   3760       'type': 'string-enum',
   3761       'schema': {
   3762         'type': 'string',
   3763         'enum': [ 'remove-lru', 'remove-lru-if-dormant' ],
   3764       },
   3765       'items': [
   3766         {
   3767           'name': 'RemoveLRU',
   3768           'value': 'remove-lru',
   3769           'caption': '''Least recently used users are removed until there is enough free space''',
   3770         },
   3771         {
   3772           'name': 'RemoveLRUIfDormant',
   3773           'value': 'remove-lru-if-dormant',
   3774           'caption': '''Least recently used users who have not logged in within last 3 months are removed until there is enough free space''',
   3775         },
   3776       ],
   3777       'supported_on': ['chrome_os:32-35'],
   3778       'device_only': True,
   3779       'features': {
   3780         'dynamic_refresh': True,
   3781         'per_profile': False,
   3782       },
   3783       'deprecated': True,
   3784       'example_value': 'remove-lru',
   3785       'id': 246,
   3786       'caption': '''Selects the strategy used to free up disk space during automatic clean-up (deprecated)''',
   3787       'desc': '''This policy is deprecated. <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will always use the 'RemoveLRU' clean-up strategy.
   3788 
   3789       Controls the automatic clean-up behavior on <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices. Automatic clean-up is triggered when the amount of free disk space reaches a critical level to recover some disk space.
   3790 
   3791       If this policy is set to 'RemoveLRU', the automatic clean-up will keep removing users from the device in least-recently-logged-in order until there is enough free space.
   3792 
   3793       If this policy is set to 'RemoveLRUIfDormant', the automatic clean-up will keep removing users who have not logged in for at least 3 months in least-recently-logged-in order until there is enough free space.
   3794 
   3795       If this policy is not set, automatic clean-up uses the default built-in strategy. Currently, it is the 'RemoveLRUIfDormant' strategy.'''
   3796     },
   3797     {
   3798       'name': 'ReportDeviceVersionInfo',
   3799       'type': 'main',
   3800       'schema': { 'type': 'boolean' },
   3801       'supported_on': ['chrome_os:18-'],
   3802       'device_only': True,
   3803       'features': {
   3804         'dynamic_refresh': True,
   3805       },
   3806       'example_value': False,
   3807       'id': 119,
   3808       'caption': '''Report OS and firmware version''',
   3809       'desc': '''Report OS and firmware version of enrolled devices.
   3810 
   3811       If this setting is not set or set to True, enrolled devices will report the OS and firmware version periodically. If this setting is set to False, version info will not be reported.''',
   3812     },
   3813     {
   3814       'name': 'ReportDeviceActivityTimes',
   3815       'type': 'main',
   3816       'schema': { 'type': 'boolean' },
   3817       'supported_on': ['chrome_os:18-'],
   3818       'device_only': True,
   3819       'features': {
   3820         'dynamic_refresh': True,
   3821       },
   3822       'example_value': False,
   3823       'id': 120,
   3824       'caption': '''Report device activity times''',
   3825       'desc': '''Report device activity times.
   3826 
   3827       If this setting is not set or set to True, enrolled devices will report time periods when a user is active on the device. If this setting is set to False, device activity times will not be recorded or reported.''',
   3828     },
   3829     {
   3830       'name': 'ReportDeviceBootMode',
   3831       'type': 'main',
   3832       'schema': { 'type': 'boolean' },
   3833       'supported_on': ['chrome_os:18-'],
   3834       'device_only': True,
   3835       'features': {
   3836         'dynamic_refresh': True,
   3837       },
   3838       'example_value': False,
   3839       'id': 121,
   3840       'caption': '''Report device boot mode''',
   3841       'desc': '''Report the state of the device's dev switch at boot.
   3842 
   3843       If the policy is set to false, the state of the dev switch will not be reported.''',
   3844     },
   3845     {
   3846       'name': 'ReportDeviceLocation',
   3847       'type': 'main',
   3848       'schema': { 'type': 'boolean' },
   3849       'supported_on': ['chrome_os:20-'],
   3850       'device_only': True,
   3851       'features': {
   3852         'dynamic_refresh': True,
   3853       },
   3854       'future': True,
   3855       'example_value': False,
   3856       'id': 143,
   3857       'caption': '''Report device location''',
   3858       'desc': '''Report the geographic location of the device.
   3859 
   3860       If the policy is not set, or set to false, the location will not be reported.''',
   3861     },
   3862     {
   3863       'name': 'ReportDeviceNetworkInterfaces',
   3864       'type': 'main',
   3865       'schema': { 'type': 'boolean' },
   3866       'supported_on': ['chrome_os:29-'],
   3867       'device_only': True,
   3868       'features': {
   3869         'dynamic_refresh': True,
   3870       },
   3871       'example_value': False,
   3872       'id': 224,
   3873       'caption': '''Report device network interfaces''',
   3874       'desc': '''Report list of network interfaces with their types and hardware addresses to the server.
   3875 
   3876       If the policy is set to false, the interface list will not be reported.''',
   3877     },
   3878     {
   3879       'name': 'ReportDeviceUsers',
   3880       'type': 'main',
   3881       'schema': { 'type': 'boolean' },
   3882       'supported_on': ['chrome_os:32-'],
   3883       'device_only': True,
   3884       'features': {
   3885         'dynamic_refresh': True,
   3886       },
   3887       'example_value': False,
   3888       'id': 248,
   3889       'caption': '''Report device users''',
   3890       'desc': '''Report list of device users that have recently logged in.
   3891 
   3892       If the policy is set to false, the users will not be reported.''',
   3893     },
   3894     {
   3895       'name': 'DeviceUserWhitelist',
   3896       'type': 'list',
   3897       'schema': {
   3898         'type': 'array',
   3899         'items': { 'type': 'string' },
   3900       },
   3901       'supported_on': ['chrome_os:12-'],
   3902       'device_only': True,
   3903       'features': {
   3904         'dynamic_refresh': True,
   3905       },
   3906       'example_value': [ 'madmax (a] managedchrome.com' ],
   3907       'id': 122,
   3908       'caption': '''Login user white list''',
   3909       '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 (a] managedchrome.com</ph>. To allow arbitrary users on a domain, use entries of the form <ph name="USER_WHITELIST_ENTRY_WILDCARD">*@domain</ph>.
   3910 
   3911       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.''',
   3912     },
   3913     {
   3914       'name': 'DeviceAllowNewUsers',
   3915       'type': 'main',
   3916       'schema': { 'type': 'boolean' },
   3917       'supported_on': ['chrome_os:12-'],
   3918       'device_only': True,
   3919       'features': {
   3920         'dynamic_refresh': True,
   3921       },
   3922       'example_value': True,
   3923       'id': 123,
   3924       'caption': '''Allow creation of new user accounts''',
   3925       '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.
   3926 
   3927       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.''',
   3928     },
   3929     {
   3930       'name': 'DeviceGuestModeEnabled',
   3931       'type': 'main',
   3932       'schema': { 'type': 'boolean' },
   3933       'supported_on': ['chrome_os:12-'],
   3934       'device_only': True,
   3935       'features': {
   3936         'dynamic_refresh': True,
   3937       },
   3938       'example_value': True,
   3939       'id': 124,
   3940       'caption': '''Enable guest mode''',
   3941       '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.
   3942 
   3943       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.''',
   3944     },
   3945     {
   3946       'name': 'DeviceShowUserNamesOnSignin',
   3947       'type': 'main',
   3948       'schema': { 'type': 'boolean' },
   3949       'supported_on': ['chrome_os:12-'],
   3950       'device_only': True,
   3951       'features': {
   3952         'dynamic_refresh': True,
   3953       },
   3954       'example_value': True,
   3955       'id': 125,
   3956       'caption': '''Show usernames on login screen''',
   3957       '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.''',
   3958     },
   3959     {
   3960       'name': 'DeviceDataRoamingEnabled',
   3961       'type': 'main',
   3962       'schema': { 'type': 'boolean' },
   3963       'supported_on': ['chrome_os:12-'],
   3964       'device_only': True,
   3965       'features': {
   3966         'dynamic_refresh': True,
   3967       },
   3968       'example_value': True,
   3969       'id': 126,
   3970       'caption': '''Enable data roaming''',
   3971       '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.''',
   3972     },
   3973     {
   3974       'name': 'DeviceMetricsReportingEnabled',
   3975       'type': 'main',
   3976       'schema': { 'type': 'boolean' },
   3977       'supported_on': ['chrome_os:14-'],
   3978       'device_only': True,
   3979       'features': {
   3980         'dynamic_refresh': True,
   3981       },
   3982       'example_value': True,
   3983       'id': 127,
   3984       'caption': '''Enable metrics reporting''',
   3985       '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.''',
   3986     },
   3987     {
   3988       'name': 'ChromeOsReleaseChannel',
   3989       'type': 'string-enum',
   3990       'schema': {
   3991         'type': 'string',
   3992         'enum': [ 'stable-channel', 'beta-channel', 'dev-channel' ],
   3993       },
   3994       'items': [
   3995         {
   3996           'name': 'StableChannel',
   3997           'value': 'stable-channel',
   3998           'caption': '''Stable channel''',
   3999         },
   4000         {
   4001           'name': 'BetaChannel',
   4002           'value': 'beta-channel',
   4003           'caption': '''Beta channel''',
   4004         },
   4005         {
   4006           'name': 'DevChannel',
   4007           'value': 'dev-channel',
   4008           'caption': '''Dev channel (may be unstable)''',
   4009         },
   4010       ],
   4011       'supported_on': ['chrome_os:11-'],
   4012       'device_only': True,
   4013       'features': {
   4014         'dynamic_refresh': True,
   4015       },
   4016       'example_value': 'stable-channel',
   4017       'id': 91,
   4018       'caption': '''Release channel''',
   4019       'desc': '''Specifies the release channel that this device should be locked to.''',
   4020     },
   4021     {
   4022       'name': 'ChromeOsReleaseChannelDelegated',
   4023       'type': 'main',
   4024       'schema': { 'type': 'boolean' },
   4025       'supported_on': ['chrome_os:19-'],
   4026       'device_only': True,
   4027       'features': {
   4028         'dynamic_refresh': True,
   4029       },
   4030       'example_value': False,
   4031       'id': 134,
   4032       'caption': '''Whether the release channel should be configurable by the user''',
   4033       '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.
   4034 
   4035       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.''',
   4036     },
   4037     {
   4038       'name': 'DeviceEphemeralUsersEnabled',
   4039       'type': 'main',
   4040       'schema': { 'type': 'boolean' },
   4041       'supported_on': ['chrome_os:19-'],
   4042       'device_only': True,
   4043       'features': {
   4044         'dynamic_refresh': True,
   4045       },
   4046       'example_value': True,
   4047       'id': 128,
   4048       'caption': '''Wipe user data on sign-out''',
   4049       '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.''',
   4050     },
   4051     {
   4052       'name': 'DeviceStartUpUrls',
   4053       'type': 'list',
   4054       'schema': {
   4055         'type': 'array',
   4056         'items': { 'type': 'string' },
   4057       },
   4058       'supported_on': ['chrome_os:19-'],
   4059       'device_only': True,
   4060       'features': {
   4061         'dynamic_refresh': True,
   4062       },
   4063       'example_value': [ 'http://google.com', 'chrome-extension://aaaaaaaaaaaaaaaaaaaaaaaa/' ],
   4064       'id': 137,
   4065       'caption': '''Load specified urls on demo login''',
   4066       'desc': '''This policy is active in retail mode only.
   4067 
   4068       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.''',
   4069     },
   4070     {
   4071       'name': 'DeviceIdleLogoutTimeout',
   4072       'type': 'int',
   4073       'schema': { 'type': 'integer' },
   4074       'supported_on': ['chrome_os:19-'],
   4075       'device_only': True,
   4076       'features': {
   4077         'dynamic_refresh': True,
   4078       },
   4079       'example_value': 60000,
   4080       'id': 130,
   4081       'caption': '''Timeout until idle user log-out is executed''',
   4082       'desc': '''This policy is active in retail mode only.
   4083 
   4084       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.
   4085 
   4086       The policy value should be specified in milliseconds.''',
   4087     },
   4088     {
   4089       'name': 'DeviceIdleLogoutWarningDuration',
   4090       'type': 'int',
   4091       'schema': { 'type': 'integer' },
   4092       'supported_on': ['chrome_os:19-'],
   4093       'device_only': True,
   4094       'features': {
   4095         'dynamic_refresh': True,
   4096       },
   4097       'example_value': 15000,
   4098       'id': 131,
   4099       'caption': '''Duration of the idle log-out warning message''',
   4100       'desc': '''This policy is active in retail mode only.
   4101 
   4102       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.
   4103 
   4104       The policy value should be specified in milliseconds.''',
   4105     },
   4106     {
   4107       'name': 'DeviceLoginScreenSaverId',
   4108       'type': 'string',
   4109       'schema': { 'type': 'string' },
   4110       'supported_on': ['chrome_os:19-'],
   4111       'device_only': True,
   4112       'features': {
   4113         'dynamic_refresh': True,
   4114       },
   4115       'example_value': 'fhblcfnmnbehmifidkddcenilbpddlfk',
   4116       'id': 132,
   4117       'caption': '''Screen saver to be used on the sign-in screen in retail mode''',
   4118       'desc': '''This policy is active in retail mode only.
   4119 
   4120       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.''',
   4121     },
   4122     {
   4123       'name': 'DeviceLoginScreenSaverTimeout',
   4124       'type': 'int',
   4125       'schema': { 'type': 'integer' },
   4126       'supported_on': ['chrome_os:19-'],
   4127       'device_only': True,
   4128       'features': {
   4129         'dynamic_refresh': True,
   4130       },
   4131       'example_value': 120000,
   4132       'id': 133,
   4133       'caption': '''Duration of inactivity before the screen saver is shown on the sign-in screen in retail mode''',
   4134       'desc': '''This policy is active in retail mode only.
   4135 
   4136       Determines the duration before the screen saver is shown on the sign-in screen for devices in retail mode.
   4137 
   4138       The policy value should be specified in milliseconds.''',
   4139     },
   4140     {
   4141       'name': 'DeviceAppPack',
   4142       'type': 'list',
   4143       'schema': {
   4144         'type': 'array',
   4145         'items': { 'type': 'string' },
   4146       },
   4147       'supported_on': ['chrome_os:19-'],
   4148       'device_only': True,
   4149       'features': {
   4150         'dynamic_refresh': True,
   4151       },
   4152       'example_value': [ { "extension-id": "khgabmflimjjbclkmljlpmgaleanedem", "update-url": "http://clients2.google.com/service/update2/crx" } ],
   4153       'id': 135,
   4154       'caption': '''List of AppPack extensions''',
   4155       'desc': '''This policy is active in retail mode only.
   4156 
   4157       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.
   4158 
   4159       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.''',
   4160     },
   4161     {
   4162       'name': 'DeviceAutoUpdateDisabled',
   4163       'type': 'main',
   4164       'schema': { 'type': 'boolean' },
   4165       'supported_on': ['chrome_os:19-'],
   4166       'device_only': True,
   4167       'features': {
   4168         'dynamic_refresh': True,
   4169       },
   4170       'example_value': True,
   4171       'id': 136,
   4172       'caption': '''Disables Auto Update''',
   4173       'desc': '''Disables automatic updates when set to True.
   4174 
   4175       <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.''',
   4176     },
   4177     {
   4178       'name': 'DeviceAutoUpdateP2PEnabled',
   4179       'type': 'main',
   4180       'schema': { 'type': 'boolean' },
   4181       'supported_on': ['chrome_os:31-'],
   4182       'device_only': True,
   4183       'features': {
   4184         'dynamic_refresh': True,
   4185       },
   4186       'example_value': False,
   4187       'id': 242,
   4188       'caption': '''Auto update p2p enabled''',
   4189       'desc': '''Specifies whether p2p is to be used for OS update payloads. If set to True, devices will share and attempt to consume update payloads on the LAN, potentially reducing Internet bandwidth usage and congestion. If the update payload is not available on the LAN, the device will fall back to downloading from an update server. If set to False or not configured, p2p will not be used.''',
   4190     },
   4191     {
   4192       'name': 'DeviceTargetVersionPrefix',
   4193       'type': 'string',
   4194       'schema': { 'type': 'string' },
   4195       'supported_on': ['chrome_os:19-'],
   4196       'device_only': True,
   4197       'features': {
   4198         'dynamic_refresh': True,
   4199       },
   4200       'example_value': '1412.',
   4201       'id': 142,
   4202       'caption': '''Target Auto Update Version''',
   4203       'desc': '''Sets a target version for Auto Updates.
   4204 
   4205       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:
   4206 
   4207       "" (or not configured): update to latest version available.
   4208       "1412.": update to any minor version of 1412 (e.g. 1412.24.34 or 1412.60.2)
   4209       "1412.2.": update to any minor version of 1412.2 (e.g. 1412.2.34 or 1412.2.2)
   4210       "1412.24.34": update to this specific version only''',
   4211     },
   4212     {
   4213       'name': 'DeviceUpdateScatterFactor',
   4214       'type': 'int',
   4215       'schema': { 'type': 'integer' },
   4216       'supported_on': ['chrome_os:20-'],
   4217       'device_only': True,
   4218       'features': {
   4219         'dynamic_refresh': True,
   4220       },
   4221       'example_value': 7200,
   4222       'id': 145,
   4223       'caption': '''Auto update scatter factor''',
   4224       '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.''',
   4225     },
   4226     {
   4227       'name': 'DeviceUpdateAllowedConnectionTypes',
   4228       'type': 'list',
   4229       'schema': {
   4230         'type': 'array',
   4231         'items': { 'type': 'string' },
   4232       },
   4233       'supported_on': ['chrome_os:21-'],
   4234       'device_only': True,
   4235       'features': {
   4236         'dynamic_refresh': True,
   4237       },
   4238       'example_value': [ 'ethernet' ],
   4239       'id': 146,
   4240       'caption': '''Connection types allowed for updates''',
   4241       '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.
   4242 
   4243       The recognized connection type identifiers are "ethernet", "wifi", "wimax", "bluetooth" and "cellular".''',
   4244     },
   4245     {
   4246       'name': 'DeviceUpdateHttpDownloadsEnabled',
   4247       'type': 'main',
   4248       'schema': {
   4249         'type': 'boolean',
   4250       },
   4251       'supported_on': ['chrome_os:29-'],
   4252       'device_only': True,
   4253       'features': {
   4254         'dynamic_refresh': True,
   4255       },
   4256       'example_value': True,
   4257       'id': 243,
   4258       'caption': '''Allow autoupdate downloads via HTTP''',
   4259       'desc': '''Auto-update payloads on <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can be downloaded via HTTP instead of HTTPS. This allows transparent HTTP caching of HTTP downloads.
   4260 
   4261       If this policy is set to true, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will attempt to download auto-update payloads via HTTP. If the policy is set to false or not set, HTTPS will be used for downloading auto-update payloads.''',
   4262     },
   4263     {
   4264       'name': 'DeviceLocalAccounts',
   4265       'type': 'list',
   4266       'schema': {
   4267         'type': 'array',
   4268         'items': { 'type': 'string' },
   4269       },
   4270       'supported_on': ['chrome_os:25-'],
   4271       'device_only': True,
   4272       'features': {
   4273         'dynamic_refresh': True,
   4274       },
   4275       'example_value': [ "demo (a] example.com" ],
   4276       'id': 163,
   4277       'caption': '''Device-local accounts''',
   4278       'desc': '''Specifies the list of device-local accounts to be shown on the login screen.
   4279 
   4280       Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''',
   4281     },
   4282     {
   4283       'name': 'DeviceLocalAccountAutoLoginId',
   4284       'type': 'string',
   4285       'schema': { 'type': 'string' },
   4286       'supported_on': ['chrome_os:26-'],
   4287       'device_only': True,
   4288       'features': {
   4289         'dynamic_refresh': True,
   4290       },
   4291       'example_value': "public (a] example.com",
   4292       'id': 194,
   4293       'caption': '''Public session for auto-login''',
   4294       'desc': '''A public session to auto-login after a delay.
   4295 
   4296       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|).
   4297 
   4298       If this policy is unset, there will be no auto-login.''',
   4299     },
   4300     {
   4301       'name': 'DeviceLocalAccountAutoLoginDelay',
   4302       'type': 'int',
   4303       'schema': { 'type': 'integer' },
   4304       'supported_on': ['chrome_os:26-'],
   4305       'device_only': True,
   4306       'features': {
   4307         'dynamic_refresh': True,
   4308       },
   4309       'example_value': 180000,
   4310       'id': 195,
   4311       'caption': '''Public session auto-login timer''',
   4312       'desc': '''The public session auto-login delay.
   4313 
   4314       If the |DeviceLocalAccountAutoLoginId| policy is unset, this policy has no effect. Otherwise:
   4315 
   4316       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.
   4317 
   4318       If this policy is unset, 0 milliseconds will be used as the timeout.
   4319 
   4320       This policy is specified in milliseconds.'''
   4321     },
   4322     {
   4323       'name': 'DeviceLocalAccountAutoLoginBailoutEnabled',
   4324       'type': 'main',
   4325       'schema': { 'type': 'boolean' },
   4326       'supported_on': ['chrome_os:28-'],
   4327       'device_only': True,
   4328       'features': {
   4329         'dynamic_refresh': True,
   4330       },
   4331       'example_value': True,
   4332       'id': 202,
   4333       'caption': '''Enable bailout keyboard shortcut for auto-login''',
   4334       'desc': '''Enable bailout keyboard shortcut for auto-login.
   4335 
   4336       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.
   4337 
   4338       If this policy is set to False, zero-delay auto-login (if configured) cannot be bypassed.'''
   4339     },
   4340     {
   4341       'name': 'DeviceLocalAccountPromptForNetworkWhenOffline',
   4342       'type': 'main',
   4343       'schema': { 'type': 'boolean' },
   4344       'supported_on': ['chrome_os:33-'],
   4345       'device_only': True,
   4346       'features': {
   4347         'dynamic_refresh': True,
   4348       },
   4349       'example_value': True,
   4350       'id': 250,
   4351       'caption': '''Enable network configuration prompt when offline''',
   4352       'desc': '''Enable network configuration prompt when offline.
   4353 
   4354       If this policy is unset or set to True and a device-local account is configured for zero-delay auto-login and the device does not have access to the Internet, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will show a network configuration prompt.
   4355 
   4356       If this policy is set to False, an error message will be displayed instead of the network configuration prompt.'''
   4357     },
   4358     {
   4359       'name': 'DeviceBlockDevmode',
   4360       'type': 'main',
   4361       'schema': { 'type': 'boolean' },
   4362       'supported_on': ['chrome_os:37-'],
   4363       'device_only': True,
   4364       'features': {
   4365         'dynamic_refresh': True,
   4366       },
   4367       'example_value': True,
   4368       'id': 266,
   4369       'caption': '''Block developer mode''',
   4370       'desc': '''Block developer mode.
   4371 
   4372       If this policy is set to True, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will prevent the device from booting into developer mode. The system will refuse to boot and show an error screen when the developer switch is turned on.
   4373 
   4374       If this policy is unset or set to False, developer mode will remain available for the device.'''
   4375     },
   4376     {
   4377       'name': 'BackgroundModeEnabled',
   4378       'type': 'main',
   4379       'schema': { 'type': 'boolean' },
   4380       'supported_on': ['chrome.win:19-', 'chrome.linux:19-'],
   4381       'features': {
   4382         'can_be_recommended': True,
   4383         'dynamic_refresh': True,
   4384         'per_profile': False,
   4385       },
   4386       'example_value': True,
   4387       'id': 138,
   4388       'caption': '''Continue running background apps when <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is closed''',
   4389       '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.
   4390 
   4391       If this policy is set to True, background mode is enabled and cannot be controlled by the user in the browser settings.
   4392 
   4393       If this policy is set to False, background mode is disabled and cannot be controlled by the user in the browser settings.
   4394 
   4395       If this policy is left unset, background mode is initially disabled and can be controlled by the user in the browser settings.''',
   4396     },
   4397     {
   4398       'name': 'Drive',
   4399       'type': 'group',
   4400       'caption': '''Configure Google Drive options''',
   4401       'desc': '''Configure Google Drive in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.''',
   4402       'policies': [
   4403         {
   4404           'name': 'DriveDisabled',
   4405           'type': 'main',
   4406           'schema': { 'type': 'boolean' },
   4407           'supported_on': ['chrome_os:19-'],
   4408           'features': {
   4409             'dynamic_refresh': True,
   4410             'per_profile': True,
   4411           },
   4412           'example_value': True,
   4413           'id': 139,
   4414           'caption': '''Disables Drive in the Chrome OS Files app''',
   4415           '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.
   4416 
   4417           If not set or set to False, then users will be able to transfer files to Google Drive.''',
   4418         },
   4419         {
   4420           'name': 'DriveDisabledOverCellular',
   4421           'type': 'main',
   4422           'schema': { 'type': 'boolean' },
   4423           'supported_on': ['chrome_os:19-'],
   4424           'features': {
   4425             'dynamic_refresh': True,
   4426             'per_profile': True,
   4427           },
   4428           'example_value': True,
   4429           'id': 140,
   4430           'caption': '''Disables Google Drive over Cellular connections in the Chrome OS Files app''',
   4431           '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.
   4432 
   4433           If not set or set to False, then users will be able to transfer files to Google Drive via cellular connections.''',
   4434         },
   4435       ],
   4436     },
   4437     {
   4438       'name': 'PinnedLauncherApps',
   4439       'type': 'list',
   4440       'schema': {
   4441         'type': 'array',
   4442         'items': { 'type': 'string' },
   4443       },
   4444       'supported_on': ['chrome_os:20-' ],
   4445       'features': {
   4446         'can_be_recommended': True,
   4447         'dynamic_refresh': True,
   4448         'per_profile': True,
   4449       },
   4450       'example_value': ['pjkljhegncpnkpknbcohdijeoejaedia'],
   4451       'id': 144,
   4452       'caption': '''List of pinned apps to show in the launcher''',
   4453       '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.
   4454 
   4455       If this policy is configured, the set of applications is fixed and can't be changed by the user.
   4456 
   4457       If this policy is left unset, the user may change the list of pinned apps in the launcher.''',
   4458     },
   4459     {
   4460       'name': 'RestrictSigninToPattern',
   4461       'type': 'string',
   4462       'schema': { 'type': 'string' },
   4463       'supported_on': ['chrome.*:21-'],
   4464       'features': {
   4465         'dynamic_refresh': True,
   4466         'per_profile': False,
   4467       },
   4468       'example_value': '*@domain.com',
   4469       'id': 147,
   4470       'caption': '''Restrict which users are allowed to sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>''',
   4471       '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>.
   4472 
   4473       An appropriate error is displayed if a user tries to log in with a username that does not match this pattern.
   4474 
   4475       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>.''',
   4476     },
   4477     {
   4478       'name': 'DisableSafeBrowsingProceedAnyway',
   4479       'type': 'main',
   4480       'schema': { 'type': 'boolean' },
   4481       'supported_on': ['chrome.*:22-', 'chrome_os:22-', 'android:30-'],
   4482       'features': {
   4483         'dynamic_refresh': True,
   4484         'per_profile': True,
   4485       },
   4486       'example_value': True,
   4487       'id': 150,
   4488       'caption': '''Disable proceeding from the Safe Browsing warning page''',
   4489       'desc': '''The Safe Browsing service shows a warning page when users navigate to sites that are flagged as potentially malicious. Enabling this setting prevents users from proceeding anyway from the warning page to the malicious site.
   4490 
   4491       If this setting is disabled or not configured then users can choose to proceed to the flagged site after being shown the warning.''',
   4492     },
   4493     {
   4494       'name': 'SpellCheckServiceEnabled',
   4495       'type': 'main',
   4496       'schema': { 'type': 'boolean' },
   4497       'supported_on': ['chrome.*:22-', 'chrome_os:22-'],
   4498       'features': {
   4499         'can_be_recommended': True,
   4500         'dynamic_refresh': True,
   4501         'per_profile': True,
   4502       },
   4503       'example_value': False,
   4504       'id': 151,
   4505       'caption': '''Enable or disable spell checking web service''',
   4506       '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.
   4507 
   4508       Spell checking can still be performed using a downloaded dictionary; this policy only controls the usage of the online service.
   4509 
   4510       If this setting is not configured then users can choose whether the spell checking service should be used or not.''',
   4511     },
   4512     {
   4513       'name': 'ExternalStorageDisabled',
   4514       'type': 'main',
   4515       'schema': { 'type': 'boolean' },
   4516       'supported_on': ['chrome_os:22-'],
   4517       'features': {
   4518         'dynamic_refresh': True,
   4519         'per_profile': True,
   4520       },
   4521       'example_value': True,
   4522       'id': 152,
   4523       'caption': '''Disable mounting of external storage''',
   4524       'desc': '''Disable mounting of external storage.
   4525 
   4526       When this policy is set to true, external storage will not be available in the file browser.
   4527 
   4528       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.
   4529 
   4530       If this setting is disabled or not configured then users can use all supported types of external storage on their device.''',
   4531     },
   4532     {
   4533       'name': 'AudioOutputAllowed',
   4534       'type': 'main',
   4535       'schema': { 'type': 'boolean' },
   4536       'supported_on': ['chrome_os:23-'],
   4537       'features': {
   4538         'dynamic_refresh': True,
   4539         'per_profile': False,
   4540       },
   4541       'example_value': False,
   4542       'id': 159,
   4543       'caption': '''Allow playing audio''',
   4544       'desc': '''Allow playing audio.
   4545 
   4546       When this policy is set to false, audio output will not be available on the device while the user is logged in.
   4547 
   4548       This policy affects all types of audio output and not only the built-in speakers. Audio accessibility features are also inhibited by this policy. Do not enable this policy if a screen reader is required for the user.
   4549 
   4550       If this setting is set to true or not configured then users can use all supported audio outputs on their device.''',
   4551     },
   4552     {
   4553       'name': 'AudioCaptureAllowed',
   4554       'type': 'main',
   4555       'schema': { 'type': 'boolean' },
   4556       'supported_on': ['chrome.*:25-', 'chrome_os:23-'],
   4557       'features': {
   4558         'dynamic_refresh': True,
   4559         'per_profile': False,
   4560       },
   4561       'example_value': False,
   4562       'id': 160,
   4563       'caption': '''Allow or deny audio capture''',
   4564       'desc': '''Allow or deny audio capture.
   4565 
   4566       If enabled or not configured (default), the user will be prompted for
   4567       audio capture access except for URLs configured in the
   4568       AudioCaptureAllowedUrls list which will be granted access without prompting.
   4569 
   4570       When this policy is disabled, the user will never be prompted and audio
   4571       capture only be available to URLs configured in AudioCaptureAllowedUrls.
   4572 
   4573       This policy affects all types of audio inputs and not only the built-in microphone.''',
   4574     },
   4575     {
   4576       'name': 'AudioCaptureAllowedUrls',
   4577       'type': 'list',
   4578       'schema': {
   4579         'type': 'array',
   4580         'items': { 'type': 'string' },
   4581       },
   4582       'supported_on': ['chrome.*:29-', 'chrome_os:29-'],
   4583       'features': {
   4584         'dynamic_refresh': True,
   4585         'per_profile': True,
   4586       },
   4587       'example_value': ['http://www.example.com/', 'http://[*.]example.edu/'],
   4588       'id': 208,
   4589       'caption': '''URLs that will be granted access to audio capture devices without prompt''',
   4590       'desc': '''Patterns in this list will be matched against the security
   4591       origin of the requesting URL.  If a match is found, access to audio
   4592       capture devices will be granted without prompt.
   4593 
   4594       NOTE: This policy is currently only supported when running in Kiosk mode.''',
   4595     },
   4596     {
   4597       'name': 'VideoCaptureAllowed',
   4598       'type': 'main',
   4599       'schema': { 'type': 'boolean' },
   4600       'supported_on': ['chrome.*:25-', 'chrome_os:25-'],
   4601       'features': {
   4602         'dynamic_refresh': True,
   4603         'per_profile': True,
   4604       },
   4605       'example_value': False,
   4606       'id': 167,
   4607       'caption': '''Allow or deny video capture''',
   4608       'desc': '''Allow or deny video capture.
   4609 
   4610       If enabled or not configured (default), the user will be prompted for
   4611       video capture access except for URLs configured in the
   4612       VideoCaptureAllowedUrls list which will be granted access without prompting.
   4613 
   4614       When this policy is disabled, the user will never be prompted and video
   4615       capture only be available to URLs configured in VideoCaptureAllowedUrls.
   4616 
   4617       This policy affects all types of video inputs and not only the built-in camera.''',
   4618     },
   4619     {
   4620       'name': 'VideoCaptureAllowedUrls',
   4621       'type': 'list',
   4622       'schema': {
   4623         'type': 'array',
   4624         'items': { 'type': 'string' },
   4625       },
   4626       'supported_on': ['chrome.*:29-', 'chrome_os:29-'],
   4627       'features': {
   4628         'dynamic_refresh': True,
   4629         'per_profile': True,
   4630       },
   4631       'example_value': ['http://www.example.com/', 'http://[*.]example.edu/'],
   4632       'id': 209,
   4633       'caption': '''URLs that will be granted access to video capture devices without prompt''',
   4634       'desc': '''Patterns in this list will be matched against the security
   4635       origin of the requesting URL.  If a match is found, access to audio
   4636       capture devices will be granted without prompt.
   4637 
   4638       NOTE: This policy is currently only supported when running in Kiosk mode.''',
   4639     },
   4640     {
   4641       'name': 'DisableScreenshots',
   4642       'type': 'main',
   4643       'schema': { 'type': 'boolean' },
   4644       'supported_on': ['chrome_os:22-', 'chrome.*:22-'],
   4645       'features': {
   4646         'dynamic_refresh': True,
   4647         'per_profile': False,
   4648       },
   4649       'example_value': True,
   4650       'id': 153,
   4651       'caption': '''Disable taking screenshots''',
   4652       'desc': '''Disables taking screenshots.
   4653 
   4654       If enabled screenshots cannot be taken using keyboard shortcuts or extension APIs.
   4655 
   4656       If disabled or not specified, taking screenshots is allowed.'''
   4657     },
   4658     {
   4659       'name': 'SystemTimezone',
   4660       'type': 'string',
   4661       'schema': { 'type': 'string' },
   4662       'supported_on': ['chrome_os:22-'],
   4663       'device_only': True,
   4664       'features': {
   4665         'dynamic_refresh': True,
   4666       },
   4667       'example_value': 'America/Los_Angeles',
   4668       'id': 158,
   4669       'caption': '''Timezone''',
   4670       '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.
   4671 
   4672       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.
   4673 
   4674       New devices start out with the timezone set to "US/Pacific".
   4675 
   4676       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".''',
   4677     },
   4678     {
   4679       'name': 'SystemUse24HourClock',
   4680       'type': 'main',
   4681       'schema': { 'type': 'boolean' },
   4682       'supported_on': ['chrome_os:30-'],
   4683       'device_only': True,
   4684       'features': {
   4685         'dynamic_refresh': True,
   4686       },
   4687       'example_value': True,
   4688       'id': 236,
   4689       'caption': '''Use 24 hour clock by default''',
   4690       'desc': '''Specifies the clock format be used for the device.
   4691 
   4692       This policy configures the clock format to use on the login screen and as a default for user sessions. Users can still override the clock format for their account.
   4693 
   4694       If the policy is set to true, the device will use a 24 hour clock format. If the policy is set to false, the device will use 12 hour clock format.
   4695 
   4696       If this policy is not set, the device will default to a 24 hour clock format.''',
   4697     },
   4698     {
   4699       'name': 'TouchVirtualKeyboardEnabled',
   4700       'type': 'main',
   4701       'schema': { 'type': 'boolean' },
   4702       'supported_on': ['chrome_os:37-' ],
   4703       'features': {
   4704         'dynamic_refresh': True,
   4705         'per_profile': True
   4706       },
   4707       'example_value': False,
   4708       'id': 269,
   4709       'caption': '''Enable virtual keyboard''',
   4710       'desc': '''This policy configures enabling the virtual keyboard as an input device on ChromeOS. Users cannot override this policy.
   4711 
   4712       If the policy is set to true, the on-screen virtual keyboard will always be enabled.
   4713 
   4714       If set to false, the on-screen virtual keyboard will always be disabled.
   4715 
   4716       If you set this policy, users cannot change or override it. However, users will still be able to enable/disable an accessibility on-screen keyboard which takes precedence over the virtual keyboard controlled by this policy. See the |VirtualKeyboardEnabled| policy for controlling the accessibility on-screen keyboard.
   4717 
   4718       If this policy is left unset, the on-screen keyboard is disabled initially but can be enabled by the user anytime. Heuristic rules may also be used to decide when to display the keyboard.''',
   4719     },
   4720     {
   4721       'name': 'ShowLogoutButtonInTray',
   4722       'type': 'main',
   4723       'schema': { 'type': 'boolean' },
   4724       'supported_on': ['chrome_os:25-'],
   4725       'features': {
   4726         'dynamic_refresh': True,
   4727         'per_profile': True,
   4728       },
   4729       'example_value': True,
   4730       'id': 164,
   4731       'caption': '''Add a logout button to the system tray''',
   4732       'desc': '''Adds a logout button to the system tray.
   4733 
   4734       If enabled, a big, red logout button is shown in the system tray while a session is active and the screen is not locked.
   4735 
   4736       If disabled or not specified, no big, red logout button is shown in the system tray.''',
   4737     },
   4738     {
   4739       'name': 'BuiltInDnsClientEnabled',
   4740       'type': 'main',
   4741       'schema': { 'type': 'boolean' },
   4742       'supported_on': ['chrome.*:25-'],
   4743       'features': {
   4744         'dynamic_refresh': True,
   4745         'per_profile': False,
   4746       },
   4747       'example_value': True,
   4748       'id': 165,
   4749       'caption': '''Use built-in DNS client''',
   4750       'desc': '''Controls whether the built-in DNS client is used in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
   4751 
   4752       If this policy is set to true, the built-in DNS client will be used, if available.
   4753 
   4754       If this policy is set to false, the built-in DNS client will never be used.
   4755 
   4756       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.''',
   4757     },
   4758     {
   4759       'name': 'ShelfAutoHideBehavior',
   4760       'type': 'string-enum',
   4761       'schema': {
   4762         'type': 'string',
   4763         'enum': [
   4764           'Always',
   4765           'Never'
   4766         ],
   4767       },
   4768       'items': [
   4769         {
   4770           'name': 'AlwaysAutoHideShelf',
   4771           'value': 'Always',
   4772           'caption': '''Always auto-hide the shelf''',
   4773         },
   4774         {
   4775           'name': 'NeverAutoHideShelf',
   4776           'value': 'Never',
   4777           'caption': '''Never auto-hide the shelf''',
   4778         },
   4779       ],
   4780       'supported_on': ['chrome_os:25-'],
   4781       'features': {
   4782         'can_be_recommended': True,
   4783         'dynamic_refresh': True,
   4784         'per_profile': False,
   4785       },
   4786       'example_value': 'Always',
   4787       'id': 166,
   4788       'caption': '''Control shelf auto-hiding''',
   4789       'desc': '''Control auto-hiding of the <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shelf.
   4790 
   4791       If this policy is set to 'AlwaysAutoHideShelf', the shelf will always auto-hide.
   4792 
   4793       If this policy is set to 'NeverAutoHideShelf', the shelf never auto-hide.
   4794 
   4795       If you set this policy, users cannot change or override it.
   4796 
   4797       If the policy is left not set, users can choose whether the shelf should auto-hide.''',
   4798     },
   4799     {
   4800       'name': 'UserDisplayName',
   4801       'type': 'string',
   4802       'schema': { 'type': 'string' },
   4803       'supported_on': ['chrome_os:25-'],
   4804       'features': {
   4805         'dynamic_refresh': True,
   4806         'per_profile': False,
   4807       },
   4808       'example_value': 'Policy User',
   4809       'id': 169,
   4810       'caption': '''Set the display name for device-local accounts''',
   4811       '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.
   4812 
   4813       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.
   4814 
   4815       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.
   4816 
   4817       This policy is ignored for regular user accounts.''',
   4818     },
   4819     {
   4820       'name': 'SessionLengthLimit',
   4821       'type': 'int',
   4822       'schema': { 'type': 'integer' },
   4823       'supported_on': ['chrome_os:25-'],
   4824       'features': {
   4825         'dynamic_refresh': True,
   4826         'per_profile': False,
   4827       },
   4828       'example_value': 3600000,
   4829       'id': 170,
   4830       'caption': '''Limit the session length''',
   4831       'desc': '''Limit the maximum length of a user session.
   4832 
   4833       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.
   4834 
   4835       When this policy is not set, the session length is not limited.
   4836 
   4837       If you set this policy, users cannot change or override it.
   4838 
   4839       The policy value should be specified in milliseconds. Values are clamped to a range of 30 seconds to 24 hours.''',
   4840     },
   4841     {
   4842       'name': 'FullscreenAllowed',
   4843       'type': 'main',
   4844       'schema': { 'type': 'boolean' },
   4845       'supported_on': ['chrome.win:31-', 'chrome.linux:31-', 'chrome_os:31-'],
   4846       'features': {
   4847         'dynamic_refresh': True,
   4848         'per_profile': True,
   4849       },
   4850       'example_value': True,
   4851       'id': 240,
   4852       'caption': '''Allow fullscreen mode''',
   4853       'desc': '''Allow fullscreen mode.
   4854 
   4855       This policy controls the availability of fullscreen mode in which all <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> UI is hidden and only web content is visible.
   4856 
   4857       If this policy is set to true or not not configured, the user, apps and extensions with appropriate permissions can enter fullscreen mode.
   4858 
   4859       If this policy is set to false, neither the user nor any apps or extensions can enter fullscreen mode.
   4860 
   4861       On all platforms except <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>, kiosk mode is unavailable when fullscreen mode is disabled.''',
   4862     },
   4863     {
   4864       'name': 'PowerManagement',
   4865       'type': 'group',
   4866       'caption': '''Power management''',
   4867       'desc': '''Configure power management in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.
   4868 
   4869       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.''',
   4870       'policies': [
   4871         {
   4872           'name': 'ScreenDimDelayAC',
   4873           'type': 'int',
   4874           'schema': {
   4875             'type': 'integer',
   4876             'minimum': 0
   4877           },
   4878           'supported_on': ['chrome_os:26-'],
   4879           'features': {
   4880             'dynamic_refresh': True,
   4881             'per_profile': False,
   4882           },
   4883           'deprecated': True,
   4884           'example_value': 420000,
   4885           'id': 172,
   4886           'caption': '''Screen dim delay when running on AC power''',
   4887           'desc': '''Specifies the length of time without user input after which the screen is dimmed when running on AC power.
   4888 
   4889           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.
   4890 
   4891           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.
   4892 
   4893           When this policy is unset, a default length of time is used.
   4894 
   4895           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.''',
   4896         },
   4897         {
   4898           'name': 'ScreenOffDelayAC',
   4899           'type': 'int',
   4900           'schema': {
   4901             'type': 'integer',
   4902             'minimum': 0
   4903           },
   4904           'supported_on': ['chrome_os:26-'],
   4905           'features': {
   4906             'dynamic_refresh': True,
   4907             'per_profile': False,
   4908           },
   4909           'deprecated': True,
   4910           'example_value': 480000,
   4911           'id': 173,
   4912           'caption': '''Screen off delay when running on AC power''',
   4913           'desc': '''Specifies the length of time without user input after which the screen is turned off when running on AC power.
   4914 
   4915           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.
   4916 
   4917           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.
   4918 
   4919           When this policy is unset, a default length of time is used.
   4920 
   4921           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
   4922         },
   4923         {
   4924           'name': 'ScreenLockDelayAC',
   4925           'type': 'int',
   4926           'schema': {
   4927             'type': 'integer',
   4928             'minimum': 0
   4929           },
   4930           'supported_on': ['chrome_os:26-'],
   4931           'features': {
   4932             'dynamic_refresh': True,
   4933             'per_profile': False,
   4934           },
   4935           'deprecated': True,
   4936           'example_value': 600000,
   4937           'id': 174,
   4938           'caption': '''Screen lock delay when running on AC power''',
   4939           'desc': '''Specifies the length of time without user input after which the screen is locked when running on AC power.
   4940 
   4941           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.
   4942 
   4943           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.
   4944 
   4945           When this policy is unset, a default length of time is used.
   4946 
   4947           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.
   4948 
   4949           The policy value should be specified in milliseconds. Values are clamped to be less than the idle delay.''',
   4950         },
   4951         {
   4952           'name': 'IdleWarningDelayAC',
   4953           'type': 'int',
   4954           'schema': {
   4955             'type': 'integer',
   4956             'minimum': 0
   4957           },
   4958           'supported_on': ['chrome_os:27-'],
   4959           'features': {
   4960             'dynamic_refresh': True,
   4961             'per_profile': False,
   4962           },
   4963           'deprecated': True,
   4964           'example_value': 545000,
   4965           'id': 197,
   4966           'caption': '''Idle warning delay when running on AC power''',
   4967           'desc': '''Specifies the length of time without user input after which a warning dialog is shown when running on AC power.
   4968 
   4969           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.
   4970 
   4971           When this policy is unset, no warning dialog is shown.
   4972 
   4973           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
   4974         },
   4975         {
   4976           'name': 'IdleDelayAC',
   4977           'type': 'int',
   4978           'schema': {
   4979             'type': 'integer',
   4980             'minimum': 0
   4981           },
   4982           'supported_on': ['chrome_os:26-'],
   4983           'features': {
   4984             'dynamic_refresh': True,
   4985             'per_profile': False,
   4986           },
   4987           'deprecated': True,
   4988           'example_value': 1800000,
   4989           'id': 175,
   4990           'caption': '''Idle delay when running on AC power''',
   4991           'desc': '''Specifies the length of time without user input after which the idle action is taken when running on AC power.
   4992 
   4993           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.
   4994 
   4995           When this policy is unset, a default length of time is used.
   4996 
   4997           The policy value should be specified in milliseconds.''',
   4998         },
   4999         {
   5000           'name': 'ScreenDimDelayBattery',
   5001           'type': 'int',
   5002           'schema': {
   5003             'type': 'integer',
   5004             'minimum': 0
   5005           },
   5006           'supported_on': ['chrome_os:26-'],
   5007           'features': {
   5008             'dynamic_refresh': True,
   5009             'per_profile': False,
   5010           },
   5011           'deprecated': True,
   5012           'example_value': 300000,
   5013           'id': 176,
   5014           'caption': '''Screen dim delay when running on battery power''',
   5015           'desc': '''Specifies the length of time without user input after which the screen is dimmed when running on battery power.
   5016 
   5017           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.
   5018 
   5019           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.
   5020 
   5021           When this policy is unset, a default length of time is used.
   5022 
   5023           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.''',
   5024         },
   5025         {
   5026           'name': 'ScreenOffDelayBattery',
   5027           'type': 'int',
   5028           'schema': {
   5029             'type': 'integer',
   5030             'minimum': 0
   5031           },
   5032           'supported_on': ['chrome_os:26-'],
   5033           'features': {
   5034             'dynamic_refresh': True,
   5035             'per_profile': False,
   5036           },
   5037           'deprecated': True,
   5038           'example_value': 360000,
   5039           'id': 177,
   5040           'caption': '''Screen off delay when running on battery power''',
   5041           'desc': '''Specifies the length of time without user input after which the screen is turned off when running on battery power.
   5042 
   5043           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.
   5044 
   5045           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.
   5046 
   5047           When this policy is unset, a default length of time is used.
   5048 
   5049           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
   5050         },
   5051         {
   5052           'name': 'ScreenLockDelayBattery',
   5053           'type': 'int',
   5054           'schema': {
   5055             'type': 'integer',
   5056             'minimum': 0
   5057           },
   5058           'supported_on': ['chrome_os:26-'],
   5059           'features': {
   5060             'dynamic_refresh': True,
   5061             'per_profile': False,
   5062           },
   5063           'deprecated': True,
   5064           'example_value': 600000,
   5065           'id': 178,
   5066           'caption': '''Screen lock delay when running on battery power''',
   5067           'desc': '''Specifies the length of time without user input after which the screen is locked when running on battery power.
   5068 
   5069           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.
   5070 
   5071           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.
   5072 
   5073           When this policy is unset, a default length of time is used.
   5074 
   5075           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.
   5076 
   5077           The policy value should be specified in milliseconds. Values are clamped to be less than the idle delay.''',
   5078         },
   5079         {
   5080           'name': 'IdleWarningDelayBattery',
   5081           'type': 'int',
   5082           'schema': {
   5083             'type': 'integer',
   5084             'minimum': 0
   5085           },
   5086           'supported_on': ['chrome_os:27-'],
   5087           'features': {
   5088             'dynamic_refresh': True,
   5089             'per_profile': False,
   5090           },
   5091           'deprecated': True,
   5092           'example_value': 545000,
   5093           'id': 198,
   5094           'caption': '''Idle warning delay when running on battery power''',
   5095           'desc': '''Specifies the length of time without user input after which a warning dialog is shown when running on battery power.
   5096 
   5097           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.
   5098 
   5099           When this policy is unset, no warning dialog is shown.
   5100 
   5101           The policy value should be specified in milliseconds. Values are clamped to be less than or equal the idle delay.''',
   5102         },
   5103         {
   5104           'name': 'IdleDelayBattery',
   5105           'type': 'int',
   5106           'schema': {
   5107             'type': 'integer',
   5108             'minimum': 0
   5109           },
   5110           'supported_on': ['chrome_os:26-'],
   5111           'features': {
   5112             'dynamic_refresh': True,
   5113             'per_profile': False,
   5114           },
   5115           'deprecated': True,
   5116           'example_value': 600000,
   5117           'id': 179,
   5118           'caption': '''Idle delay when running on battery power''',
   5119           'desc': '''Specifies the length of time without user input after which the idle action is taken when running on battery power.
   5120 
   5121           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.
   5122 
   5123           When this policy is unset, a default length of time is used.
   5124 
   5125           The policy value should be specified in milliseconds.''',
   5126         },
   5127         {
   5128           'name': 'IdleAction',
   5129           'type': 'int-enum',
   5130           'schema': {
   5131             'type': 'integer',
   5132             'enum': [ 0, 1, 2, 3 ],
   5133           },
   5134           'items': [
   5135             {
   5136               'name': 'IdleActionSuspend',
   5137               'value': 0,
   5138               'caption': '''Suspend''',
   5139             },
   5140             {
   5141               'name': 'IdleActionLogout',
   5142               'value': 1,
   5143               'caption': '''Log the user out''',
   5144             },
   5145             {
   5146               'name': 'IdleActionShutdown',
   5147               'value': 2,
   5148               'caption': '''Shut down''',
   5149             },
   5150             {
   5151               'name': 'IdleActionDoNothing',
   5152               'value': 3,
   5153               'caption': '''Do nothing''',
   5154             },
   5155           ],
   5156           'supported_on': ['chrome_os:26-'],
   5157           'features': {
   5158             'dynamic_refresh': True,
   5159             'per_profile': False,
   5160           },
   5161           'deprecated': True,
   5162           'example_value': 0,
   5163           'id': 180,
   5164           'caption': '''Action to take when the idle delay is reached''',
   5165           'desc': '''Specify the action to take when the idle delay is reached.
   5166 
   5167           Note that this policy is deprecated and will be removed in the future.
   5168 
   5169           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.
   5170 
   5171           When this policy is unset, behavior of the more-specific policies remains unaffected.''',
   5172         },
   5173         {
   5174           'name': 'IdleActionAC',
   5175           'type': 'int-enum',
   5176           'schema': {
   5177             'type': 'integer',
   5178             'enum': [ 0, 1, 2, 3 ],
   5179           },
   5180           'items': [
   5181             {
   5182               'name': 'IdleActionSuspend',
   5183               'value': 0,
   5184               'caption': '''Suspend''',
   5185             },
   5186             {
   5187               'name': 'IdleActionLogout',
   5188               'value': 1,
   5189               'caption': '''Log the user out''',
   5190             },
   5191             {
   5192               'name': 'IdleActionShutdown',
   5193               'value': 2,
   5194               'caption': '''Shut down''',
   5195             },
   5196             {
   5197               'name': 'IdleActionDoNothing',
   5198               'value': 3,
   5199               'caption': '''Do nothing''',
   5200             },
   5201           ],
   5202           'supported_on': ['chrome_os:30-'],
   5203           'features': {
   5204             'dynamic_refresh': True,
   5205             'per_profile': False,
   5206           },
   5207           'deprecated': True,
   5208           'example_value': 0,
   5209           'id': 226,
   5210           'caption': '''Action to take when the idle delay is reached while running on AC power''',
   5211           'desc': '''Specify the action to take when the idle delay is reached while running on AC power.
   5212 
   5213           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.
   5214 
   5215           When this policy is unset, the default action is taken, which is suspend.
   5216 
   5217           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.''',
   5218         },
   5219         {
   5220           'name': 'IdleActionBattery',
   5221           'type': 'int-enum',
   5222           'schema': {
   5223             'type': 'integer',
   5224             'enum': [ 0, 1, 2, 3 ],
   5225           },
   5226           'items': [
   5227             {
   5228               'name': 'IdleActionSuspend',
   5229               'value': 0,
   5230               'caption': '''Suspend''',
   5231             },
   5232             {
   5233               'name': 'IdleActionLogout',
   5234               'value': 1,
   5235               'caption': '''Log the user out''',
   5236             },
   5237             {
   5238               'name': 'IdleActionShutdown',
   5239               'value': 2,
   5240               'caption': '''Shut down''',
   5241             },
   5242             {
   5243               'name': 'IdleActionDoNothing',
   5244               'value': 3,
   5245               'caption': '''Do nothing''',
   5246             },
   5247           ],
   5248           'supported_on': ['chrome_os:30-'],
   5249           'features': {
   5250             'dynamic_refresh': True,
   5251             'per_profile': False,
   5252           },
   5253           'deprecated': True,
   5254           'example_value': 0,
   5255           'id': 222,
   5256           'caption': '''Action to take when the idle delay is reached while running on battery power''',
   5257           'desc': '''Specify the action to take when the idle delay is reached while running on battery power.
   5258 
   5259           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.
   5260 
   5261           When this policy is unset, the default action is taken, which is suspend.
   5262 
   5263           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.''',
   5264         },
   5265         {
   5266           'name': 'LidCloseAction',
   5267           'type': 'int-enum',
   5268           'schema': {
   5269             'type': 'integer',
   5270             'enum': [ 0, 1, 2, 3 ],
   5271           },
   5272           'items': [
   5273             {
   5274               'name': 'LidCloseActionSuspend',
   5275               'value': 0,
   5276               'caption': '''Suspend''',
   5277             },
   5278             {
   5279               'name': 'LidCloseActionLogout',
   5280               'value': 1,
   5281               'caption': '''Log the user out''',
   5282             },
   5283             {
   5284               'name': 'LidCloseActionShutdown',
   5285               'value': 2,
   5286               'caption': '''Shut down''',
   5287             },
   5288             {
   5289               'name': 'LidCloseActionDoNothing',
   5290               'value': 3,
   5291               'caption': '''Do nothing''',
   5292             },
   5293           ],
   5294           'supported_on': ['chrome_os:26-'],
   5295           'features': {
   5296             'dynamic_refresh': True,
   5297             'per_profile': False,
   5298           },
   5299           'example_value': 0,
   5300           'id': 181,
   5301           'caption': '''Action to take when the user closes the lid''',
   5302           'desc': '''Specify the action to take when the user closes the lid.
   5303 
   5304           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.
   5305 
   5306           When this policy is unset, the default action is taken, which is suspend.
   5307 
   5308           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.''',
   5309         },
   5310         {
   5311           'name': 'PowerManagementUsesAudioActivity',
   5312           'type': 'main',
   5313           'schema': { 'type': 'boolean' },
   5314           'supported_on': ['chrome_os:26-'],
   5315           'features': {
   5316             'dynamic_refresh': True,
   5317             'per_profile': False,
   5318           },
   5319           'example_value': True,
   5320           'id': 182,
   5321           'caption': '''Specify whether audio activity affects power management''',
   5322           'desc': '''Specifies whether audio activity affects power management.
   5323 
   5324           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.
   5325 
   5326           If this policy is set to False, audio activity does not prevent the user from being considered idle.''',
   5327         },
   5328         {
   5329           'name': 'PowerManagementUsesVideoActivity',
   5330           'type': 'main',
   5331           'schema': { 'type': 'boolean' },
   5332           'supported_on': ['chrome_os:26-'],
   5333           'features': {
   5334             'dynamic_refresh': True,
   5335             'per_profile': False,
   5336           },
   5337           'example_value': True,
   5338           'id': 183,
   5339           'caption': '''Specify whether video activity affects power management''',
   5340           'desc': '''Specifies whether video activity affects power management.
   5341 
   5342           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.
   5343 
   5344           If this policy is set to False, video activity does not prevent the user from being considered idle.''',
   5345         },
   5346         {
   5347           'name': 'PresentationIdleDelayScale',
   5348           'type': 'int',
   5349           'schema': { 'type': 'integer' },
   5350           'supported_on': ['chrome_os:26-28'],
   5351           'features': {
   5352             'dynamic_refresh': True,
   5353             'per_profile': False,
   5354           },
   5355           'deprecated': True,
   5356           'example_value': 200,
   5357           'id': 184,
   5358           'caption': '''Percentage by which to scale the idle delay in presentation mode (deprecated)''',
   5359           '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.''',
   5360         },
   5361         {
   5362           'name': 'PresentationScreenDimDelayScale',
   5363           'type': 'int',
   5364           'schema': { 'type': 'integer' },
   5365           'supported_on': ['chrome_os:29-'],
   5366           'features': {
   5367             'dynamic_refresh': True,
   5368             'per_profile': False,
   5369           },
   5370           'example_value': 200,
   5371           'id': 220,
   5372           'caption': '''Percentage by which to scale the screen dim delay in presentation mode''',
   5373           'desc': '''Specifies the percentage by which the screen dim delay is scaled when the device is in presentation mode.
   5374 
   5375           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.
   5376 
   5377           If this policy is unset, a default scale factor is used.
   5378 
   5379           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.''',
   5380         },
   5381         {
   5382           'name': 'AllowScreenWakeLocks',
   5383           'type': 'main',
   5384           'schema': { 'type': 'boolean' },
   5385           'supported_on': ['chrome_os:28-'],
   5386           'features': {
   5387             'dynamic_refresh': True,
   5388             'per_profile': False,
   5389           },
   5390           'example_value': False,
   5391           'id': 203,
   5392           'caption': '''Allow screen wake locks''',
   5393           'desc': '''Specifies whether screen wake locks are allowed. Screen wake locks can be requested by extensions via the power management extension API.
   5394 
   5395           If this policy is set to true or left not set, screen wake locks will be honored for power management.
   5396 
   5397           If this policy is set to false, screen wake lock requests will get ignored.''',
   5398         },
   5399         {
   5400           'name': 'UserActivityScreenDimDelayScale',
   5401           'type': 'int',
   5402           'schema': { 'type': 'integer' },
   5403           'supported_on': ['chrome_os:29-'],
   5404           'features': {
   5405             'dynamic_refresh': True,
   5406             'per_profile': False,
   5407           },
   5408           'example_value': 200,
   5409           'id': 210,
   5410           'caption': '''Percentage by which to scale the screen dim delay if the user becomes active after dimming''',
   5411           '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.
   5412 
   5413           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.
   5414 
   5415           If this policy is unset, a default scale factor is used.
   5416 
   5417           The scale factor must be 100% or more.''',
   5418         },
   5419         {
   5420           'name': 'WaitForInitialUserActivity',
   5421           'type': 'main',
   5422           'schema': { 'type': 'boolean' },
   5423           'supported_on': ['chrome_os:32-'],
   5424           'features': {
   5425             'dynamic_refresh': True,
   5426             'per_profile': False,
   5427           },
   5428           'example_value': True,
   5429           'id': 247,
   5430           'caption': '''Wait for initial user activity''',
   5431           'desc': '''Specifies whether power management delays and the session length limit should only start running after the first user activity has been observed in a session.
   5432 
   5433           If this policy is set to True, power management delays and the session length limit do not start running until after the first user activity has been observed in a session.
   5434 
   5435           If this policy is set to False or left unset, power management delays and the session length limit start running immediately on session start.''',
   5436         },
   5437         {
   5438           'name': 'PowerManagementIdleSettings',
   5439           'type': 'dict',
   5440           'schema': {
   5441             'type': 'object',
   5442             'properties': {
   5443               'AC': {
   5444                 'description': 'Delays and actions to take when the device is idle and running on AC power',
   5445                 'type': 'object',
   5446                 'id': 'PowerManagementDelays',
   5447                 'properties': {
   5448                   'Delays': {
   5449                     'type': 'object',
   5450                     'properties': {
   5451                       'ScreenDim': {
   5452                         'description': 'The length of time without user input after which the screen is dimmed, in milliseconds',
   5453                         'type': 'integer',
   5454                         'minimum': 0
   5455                       },
   5456                       'ScreenOff': {
   5457                         'description': 'The length of time without user input after which the screen is turned off, in milliseconds',
   5458                         'type': 'integer',
   5459                         'minimum': 0
   5460                       },
   5461                       'IdleWarning': {
   5462                         'description': 'The length of time without user input after which a warning dialog is shown, in milliseconds',
   5463                         'type': 'integer',
   5464                         'minimum': 0
   5465                       },
   5466                       'Idle': {
   5467                         'description': 'The length of time without user input after which the idle action is taken, in milliseconds',
   5468                         'type': 'integer',
   5469                         'minimum': 0
   5470                       }
   5471                     }
   5472                   },
   5473                   'IdleAction': {
   5474                     'description': 'Action to take when the idle delay is reached',
   5475                     'type': 'string',
   5476                     'enum': [ 'Suspend', 'Logout', 'Shutdown', 'DoNothing' ]
   5477                   }
   5478                 }
   5479               },
   5480               'Battery': {
   5481                 'description': 'Delays and actions to take when the device is idle and running on battery',
   5482                 '$ref': 'PowerManagementDelays'
   5483               }
   5484             }
   5485           },
   5486           'supported_on': ['chrome_os:35-'],
   5487           'features': {
   5488             'dynamic_refresh': True,
   5489             'per_profile': False,
   5490           },
   5491           'example_value': {
   5492             'AC': {
   5493               'IdleAction': 'DoNothing'
   5494             },
   5495             'Battery': {
   5496               'IdleAction': 'DoNothing'
   5497             }
   5498           },
   5499           'id': 258,
   5500           'caption': '''Power management settings when the user becomes idle''',
   5501           'desc': '''Configure power management settings when the user becomes idle.
   5502 
   5503           This policy controls multiple settings for the power management strategy when the user becomes idle.
   5504 
   5505           There are four types of action:
   5506           * The screen will be dimmed if the user remains idle for the time specified by |ScreenDim|.
   5507           * The screen will be turned off if the user remains idle for the time specified by |ScreenOff|.
   5508           * A warning dialog will be shown if the user remains idle for the time specified by |IdleWarning|, telling the user that the idle action is about to be taken.
   5509           * The action specified by |IdleAction| will be taken if the user remains idle for the time specified by |Idle|.
   5510 
   5511           For each of above actions, the delay should be specified in milliseconds, and needs to be set to a value greater than zero to trigger the corresponding action. In case the delay is set to zero, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will not take the corresponding action.
   5512 
   5513           For each of the above delays, when the length of time is unset, a default value will be used.
   5514 
   5515           Note that |ScreenDim| values will be clamped to be less than or equal to |ScreenOff|, |ScreenOff| and |IdleWarning| will be clamped to be less than or equal to |Idle|.
   5516 
   5517           |IdleAction| can be one of four possible actions:
   5518           * |Suspend|
   5519           * |Logout|
   5520           * |Shutdown|
   5521           * |DoNothing|
   5522 
   5523           When the |IdleAction| is unset, the default action is taken, which is suspend.
   5524 
   5525           There are also separate settings for AC power and battery.
   5526           '''
   5527         },
   5528         {
   5529           'name': 'ScreenLockDelays',
   5530           'type': 'dict',
   5531           'schema': {
   5532             'type': 'object',
   5533             'properties': {
   5534               'AC': {
   5535                 'description': 'The length of time without user input after which the screen is locked when running on AC power, in milliseconds',
   5536                 'type': 'integer',
   5537                 'minimum': 0
   5538               },
   5539               'Battery': {
   5540                 'description': 'The length of time without user input after which the screen is locked when running on battery, in milliseconds',
   5541                 'type': 'integer',
   5542                 'minimum': 0
   5543               }
   5544             }
   5545           },
   5546           'supported_on': ['chrome_os:35-'],
   5547           'features': {
   5548             'dynamic_refresh': True,
   5549             'per_profile': False,
   5550           },
   5551           'example_value': {
   5552             'AC': 600000,
   5553             'Battery': 300000
   5554           },
   5555           'id': 259,
   5556           'caption': '''Screen lock delays''',
   5557           'desc': '''Specifies the length of time without user input after which the screen is locked when running on AC power or battery.
   5558 
   5559           When the length of time is set to a value greater than zero, it represents 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.
   5560 
   5561           When the length of time 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.
   5562 
   5563           When the length of time is unset, a default length of time is used.
   5564 
   5565           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.
   5566 
   5567           The policy value should be specified in milliseconds. Values are clamped to be less than the idle delay.''',
   5568         },
   5569       ],
   5570     },
   5571     {
   5572       'name': 'DeviceLoginScreenPowerManagement',
   5573       'type': 'dict',
   5574       'schema': {
   5575         'type': 'object',
   5576         'properties': {
   5577           'AC': {
   5578             'description': 'Power management settings applicable only when running on AC power',
   5579             'type': 'object',
   5580             'id': 'DeviceLoginScreenPowerSettings',
   5581             'properties': {
   5582               'Delays': {
   5583                 'type': 'object',
   5584                 'properties': {
   5585                   'ScreenDim': {
   5586                     'description': 'The length of time without user input after which the screen is dimmed, in milliseconds',
   5587                     'type': 'integer',
   5588                     'minimum': 0
   5589                   },
   5590                   'ScreenOff': {
   5591                     'description': 'The length of time without user input after which the screen is turned off, in milliseconds',
   5592                     'type': 'integer',
   5593                     'minimum': 0
   5594                   },
   5595                   'Idle': {
   5596                     'description': 'The length of time without user input after which the idle action is taken, in milliseconds',
   5597                     'type': 'integer',
   5598                     'minimum': 0
   5599                   }
   5600                 }
   5601               },
   5602               'IdleAction': {
   5603                 'description': 'Action to take when the idle delay is reached',
   5604                 'type': 'string',
   5605                 'enum': [ 'Suspend', 'Shutdown', 'DoNothing' ]
   5606               }
   5607             }
   5608           },
   5609           'Battery': {
   5610             'description': 'Power management settings applicable only when running on battery power',
   5611             '$ref': 'DeviceLoginScreenPowerSettings'
   5612           },
   5613           'LidCloseAction': {
   5614             'description': 'Action to take when the lid is closed',
   5615             'type': 'string',
   5616             'enum': [ 'Suspend', 'Shutdown', 'DoNothing' ]
   5617           },
   5618           'UserActivityScreenDimDelayScale': {
   5619             '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',
   5620             'type': 'integer',
   5621             'minimum': 100
   5622           }
   5623         }
   5624       },
   5625       'supported_on': ['chrome_os:30-'],
   5626       'device_only': True,
   5627       'features': {
   5628         'dynamic_refresh': True,
   5629       },
   5630       'example_value': {
   5631         'AC': {
   5632           'IdleAction': 'DoNothing'
   5633         },
   5634         'Battery': {
   5635           'IdleAction': 'DoNothing'
   5636         }
   5637       },
   5638       'id': 225,
   5639       'caption': '''Power management on the login screen''',
   5640       'desc': '''Configure power management on the login screen in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.
   5641 
   5642       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:
   5643       * The actions to take on idle or lid close cannot be to end the session.
   5644       * The default action taken on idle when running on AC power is to shut down.
   5645 
   5646       If a setting is left unspecified, a default value is used.
   5647 
   5648       If this policy is unset, defaults are used for all settings.''',
   5649     },
   5650     {
   5651       'name': 'DeviceAllowRedeemChromeOsRegistrationOffers',
   5652       'type': 'main',
   5653       'schema': { 'type': 'boolean' },
   5654       'supported_on': ['chrome_os:26-'],
   5655       'device_only': True,
   5656       'features': {
   5657         'dynamic_refresh': True,
   5658       },
   5659       'example_value': True,
   5660       'id': 185,
   5661       'caption': '''Allow users to redeem offers through Chrome OS Registration''',
   5662       'desc': '''IT admins for enterprise devices can use this flag to control whether to allow users to redeem offers through Chrome OS Registration.
   5663 
   5664       If this policy is set to true or left not set, users will be able to redeem offers through Chrome OS Registration.
   5665 
   5666       If this policy is set to false, user will not be able to redeem offers.''',
   5667     },
   5668     {
   5669       'name': 'TermsOfServiceURL',
   5670       'type': 'string',
   5671       'schema': { 'type': 'string' },
   5672       'supported_on': ['chrome_os:26-'],
   5673       'features': {
   5674         'dynamic_refresh': True,
   5675         'per_profile': False,
   5676       },
   5677       'example_value': 'http://www.example.com/terms_of_service.txt',
   5678       'id': 186,
   5679       'caption': '''Set the Terms of Service for a device-local account''',
   5680       'desc': '''Sets the Terms of Service that the user must accept before starting a device-local account session.
   5681 
   5682       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.
   5683 
   5684       If this policy is not set, no Terms of Service are shown.
   5685 
   5686       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.''',
   5687     },
   5688     {
   5689       'name': 'Accessibility',
   5690       'type': 'group',
   5691       'caption': '''Accessibility settings''',
   5692       'desc': '''Configure <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> accessibility features.''',
   5693       'policies': [
   5694         {
   5695           'name': 'ShowAccessibilityOptionsInSystemTrayMenu',
   5696           'type': 'main',
   5697           'schema': { 'type': 'boolean' },
   5698           'supported_on': ['chrome_os:27-'],
   5699           'features': {
   5700             'can_be_recommended': True,
   5701             'dynamic_refresh': True,
   5702             'per_profile': True,
   5703           },
   5704           'example_value': True,
   5705           'id': 188,
   5706           'caption': '''Show accessibility options in system tray menu''',
   5707           'desc': '''Show <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> accessibility options in the system menu.
   5708 
   5709           If this policy is set to true, Accessibility options always appear in system tray menu.
   5710 
   5711           If this policy is set to false, Accessibility options never appear in system tray menu.
   5712 
   5713           If you set this policy, users cannot change or override it.
   5714 
   5715           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.'''
   5716         },
   5717         {
   5718           'name': 'LargeCursorEnabled',
   5719           'type': 'main',
   5720           'schema': { 'type': 'boolean' },
   5721           'supported_on': ['chrome_os:29-'],
   5722           'features': {
   5723             'can_be_recommended': True,
   5724             'dynamic_refresh': True,
   5725             'per_profile': True,
   5726           },
   5727           'example_value': True,
   5728           'id': 211,
   5729           'caption': '''Enable large cursor''',
   5730           'desc': '''Enable the large cursor accessibility feature.
   5731 
   5732           If this policy is set to true, the large cursor will always be enabled.
   5733 
   5734           If this policy is set to false, the large cursor will always be disabled.
   5735 
   5736           If you set this policy, users cannot change or override it.
   5737 
   5738           If this policy is left unset, the large cursor is disabled initially but can be enabled by the user anytime.'''
   5739         },
   5740         {
   5741           'name': 'SpokenFeedbackEnabled',
   5742           'type': 'main',
   5743           'schema': { 'type': 'boolean' },
   5744           'supported_on': ['chrome_os:29-'],
   5745           'features': {
   5746             'can_be_recommended': True,
   5747             'dynamic_refresh': True,
   5748             'per_profile': True,
   5749           },
   5750           'example_value': True,
   5751           'id': 212,
   5752           'caption': '''Enable spoken feedback''',
   5753           'desc': '''Enable the spoken feedback accessibility feature.
   5754 
   5755           If this policy is set to true, spoken feedback will always be enabled.
   5756 
   5757           If this policy is set to false, spoken feedback will always be disabled.
   5758 
   5759           If you set this policy, users cannot change or override it.
   5760 
   5761           If this policy is left unset, spoken feedback is disabled initially but can be enabled by the user anytime.'''
   5762         },
   5763         {
   5764           'name': 'HighContrastEnabled',
   5765           'type': 'main',
   5766           'schema': { 'type': 'boolean' },
   5767           'supported_on': ['chrome_os:29-'],
   5768           'features': {
   5769             'can_be_recommended': True,
   5770             'dynamic_refresh': True,
   5771             'per_profile': True,
   5772           },
   5773           'example_value': True,
   5774           'id': 213,
   5775           'caption': '''Enable high contrast mode''',
   5776           'desc': '''Enable the high contrast mode accessibility feature.
   5777 
   5778           If this policy is set to true, high contrast mode will always be enabled.
   5779 
   5780           If this policy is set to false, high contrast mode will always be disabled.
   5781 
   5782           If you set this policy, users cannot change or override it.
   5783 
   5784           If this policy is left unset, high contrast mode is disabled initially but can be enabled by the user anytime.'''
   5785         },
   5786         {
   5787           'name': 'VirtualKeyboardEnabled',
   5788           'type': 'main',
   5789           'schema': { 'type': 'boolean' },
   5790           'supported_on': ['chrome_os:34-'],
   5791           'features': {
   5792             'can_be_recommended': True,
   5793             'dynamic_refresh': True,
   5794             'per_profile': True,
   5795           },
   5796           'example_value': True,
   5797           'id': 255,
   5798           'caption': '''Enable on-screen keyboard''',
   5799           'desc': '''Enable the on-screen keyboard accessibility feature.
   5800 
   5801           If this policy is set to true, the on-screen keyboard will always be enabled.
   5802 
   5803           If this policy is set to false, the on-screen keyboard will always be disabled.
   5804 
   5805           If you set this policy, users cannot change or override it.
   5806 
   5807           If this policy is left unset, the on-screen keyboard is disabled initially but can be enabled by the user anytime.'''
   5808         },
   5809         {
   5810           'name': 'KeyboardDefaultToFunctionKeys',
   5811           'type': 'main',
   5812           'schema': { 'type': 'boolean' },
   5813           'supported_on': ['chrome_os:35-'],
   5814           'features': {
   5815             'can_be_recommended': True,
   5816             'dynamic_refresh': True,
   5817             'per_profile': True,
   5818           },
   5819           'example_value': True,
   5820           'id': 260,
   5821           'caption': '''Media keys default to function keys''',
   5822           'desc': '''Changes the default behaviour of the top row keys to function keys.
   5823 
   5824           If this policy is set to true, the keyboard's top row of keys will produce function key commands per default. The search key has to be pressed to revert their behavior back to media keys.
   5825 
   5826           If this policy is set to false or left unset, the keyboard will produce media key commands per default and function key commands when the search key is held.'''
   5827         },
   5828         {
   5829           'name': 'ScreenMagnifierType',
   5830           'type': 'int-enum',
   5831           'schema': {
   5832             'type': 'integer',
   5833             'enum': [ 0, 1 ],
   5834           },
   5835           'items': [
   5836             {
   5837               'name': 'None',
   5838               'value': 0,
   5839               'caption': '''Screen magnifier disabled''',
   5840             },
   5841             {
   5842               'name': 'Full-screen',
   5843               'value': 1,
   5844               'caption': '''Full-screen magnifier enabled''',
   5845             },
   5846           ],
   5847           'supported_on': ['chrome_os:29-'],
   5848           'features': {
   5849             'can_be_recommended': True,
   5850             'dynamic_refresh': True,
   5851             'per_profile': True,
   5852           },
   5853           'example_value': 1,
   5854           'id': 214,
   5855           'caption': '''Set screen magnifier type''',
   5856           'desc': '''Set the type of screen magnifier that is enabled.
   5857 
   5858           If this policy is set, it controls the type of screen magnifier that is enabled. Setting the policy to "None" disables the screen magnifier.
   5859 
   5860           If you set this policy, users cannot change or override it.
   5861 
   5862           If this policy is left unset, the screen magnifier is disabled initially but can be enabled by the user anytime.''',
   5863         },
   5864         {
   5865           'name': 'DeviceLoginScreenDefaultLargeCursorEnabled',
   5866           'type': 'main',
   5867           'schema': { 'type': 'boolean' },
   5868           'supported_on': ['chrome_os:29-'],
   5869           'device_only': True,
   5870           'features': {
   5871             'dynamic_refresh': True,
   5872           },
   5873           'example_value': True,
   5874           'id': 215,
   5875           'caption': '''Set default state of the large cursor on the login screen''',
   5876           'desc': '''Set the default state of the large cursor accessibility feature on the login screen.
   5877 
   5878           If this policy is set to true, the large cursor will be enabled when the login screen is shown.
   5879 
   5880           If this policy is set to false, the large cursor will be disabled when the login screen is shown.
   5881 
   5882           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.
   5883 
   5884           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.''',
   5885         },
   5886         {
   5887           'name': 'DeviceLoginScreenDefaultSpokenFeedbackEnabled',
   5888           'type': 'main',
   5889           'schema': { 'type': 'boolean' },
   5890           'supported_on': ['chrome_os:29-'],
   5891           'device_only': True,
   5892           'features': {
   5893             'dynamic_refresh': True,
   5894           },
   5895           'example_value': True,
   5896           'id': 216,
   5897           'caption': '''Set the default state of spoken feedback on the login screen''',
   5898           'desc': '''Set the default state of the spoken feedback accessibility feature on the login screen.
   5899 
   5900           If this policy is set to true, spoken feedback will be enabled when the login screen is shown.
   5901 
   5902           If this policy is set to false, spoken feedback will be disabled when the login screen is shown.
   5903 
   5904           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.
   5905 
   5906           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.''',
   5907         },
   5908         {
   5909           'name': 'DeviceLoginScreenDefaultHighContrastEnabled',
   5910           'type': 'main',
   5911           'schema': { 'type': 'boolean' },
   5912           'supported_on': ['chrome_os:29-'],
   5913           'device_only': True,
   5914           'features': {
   5915             'dynamic_refresh': True,
   5916           },
   5917           'example_value': True,
   5918           'id': 217,
   5919           'caption': '''Set the default state of high contrast mode on the login screen''',
   5920           'desc': '''Set the default state of the high contrast mode accessibility feature on the login screen.
   5921 
   5922           If this policy is set to true, high contrast mode will be enabled when the login screen is shown.
   5923 
   5924           If this policy is set to false, high contrast mode will be disabled when the login screen is shown.
   5925 
   5926           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.
   5927 
   5928           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.''',
   5929         },
   5930         {
   5931           'name': 'DeviceLoginScreenDefaultVirtualKeyboardEnabled',
   5932           'type': 'main',
   5933           'schema': { 'type': 'boolean' },
   5934           'supported_on': ['chrome_os:34-'],
   5935           'device_only': True,
   5936           'features': {
   5937             'dynamic_refresh': True,
   5938           },
   5939           'example_value': True,
   5940           'id': 256,
   5941           'caption': '''Set default state of the on-screen keyboard on the login screen''',
   5942           'desc': '''Set the default state of the on-screen keyboard accessibility feature on the login screen.
   5943 
   5944           If this policy is set to true, the on-screen keyboard will be enabled when the login screen is shown.
   5945 
   5946           If this policy is set to false, the on-screen keyboard will be disabled when the login screen is shown.
   5947 
   5948           If you set this policy, users can temporarily override it by enabling or disabling the on-screen keyboard. 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.
   5949 
   5950           If this policy is left unset, the on-screen keyboard is disabled when the login screen is first shown. Users can enable or disable the on-screen keyboard anytime and its status on the login screen is persisted between users.''',
   5951         },
   5952         {
   5953           'name': 'DeviceLoginScreenDefaultScreenMagnifierType',
   5954           'type': 'int-enum',
   5955           'schema': {
   5956             'type': 'integer',
   5957             'enum': [ 0, 1 ],
   5958           },
   5959           'items': [
   5960             {
   5961               'name': 'None',
   5962               'value': 0,
   5963               'caption': '''Screen magnifier disabled''',
   5964             },
   5965             {
   5966               'name': 'Full-screen',
   5967               'value': 1,
   5968               'caption': '''Full-screen magnifier enabled''',
   5969             },
   5970           ],
   5971           'supported_on': ['chrome_os:29-'],
   5972           'device_only': True,
   5973           'features': {
   5974             'dynamic_refresh': True,
   5975           },
   5976           'example_value': 1,
   5977           'id': 218,
   5978           'caption': '''Set the default screen magnifier type enabled on the login screen''',
   5979           'desc': '''Set the default type of screen magnifier that is enabled on the login screen.
   5980 
   5981           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.
   5982 
   5983           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.
   5984 
   5985           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.''',
   5986         },
   5987       ],
   5988     },
   5989     {
   5990       'name': 'HideWebStoreIcon',
   5991       'type': 'main',
   5992       'schema': { 'type': 'boolean' },
   5993       'supported_on': ['chrome.*:26-'],
   5994       'features': {
   5995         'dynamic_refresh': True,
   5996         'per_profile': True,
   5997       },
   5998       'example_value': True,
   5999       'id': 189,
   6000       'caption': '''Hide the web store from the new tab page and app launcher''',
   6001       'desc': '''Hide the Chrome Web Store app and footer link from the New Tab Page and Chrome OS app launcher.
   6002 
   6003       When this policy is set to true, the icons are hidden.
   6004 
   6005       When this policy is set to false or is not configured, the icons are visible.''',
   6006     },
   6007     {
   6008       'name': 'DeviceStartUpFlags',
   6009       'type': 'list',
   6010       'schema': {
   6011         'type': 'array',
   6012         'items': { 'type': 'string' },
   6013       },
   6014       'supported_on': ['chrome_os:27-'],
   6015       'device_only': True,
   6016       'features': {
   6017         'dynamic_refresh': False,
   6018       },
   6019       'example_value': [ "enable-managed-mode", "my-cool-flag" ],
   6020       'id': 191,
   6021       'caption': '''System wide flags to be applied on Chrome start-up''',
   6022       '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.''',
   6023     },
   6024     {
   6025       'name': 'UptimeLimit',
   6026       'type': 'int',
   6027       'schema': { 'type': 'integer' },
   6028       'supported_on': ['chrome_os:29-'],
   6029       'device_only': True,
   6030       'features': {
   6031         'dynamic_refresh': True,
   6032       },
   6033       'example_value': 86400,
   6034       'id': 192,
   6035       'caption': '''Limit device uptime by automatically rebooting''',
   6036       'desc': '''Limit the device uptime by scheduling automatic reboots.
   6037 
   6038       When this policy is set, it specifies the length of device uptime after which an automatic reboot is scheduled.
   6039 
   6040       When this policy is not set, the device uptime is not limited.
   6041 
   6042       If you set this policy, users cannot change or override it.
   6043 
   6044       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.
   6045 
   6046       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.
   6047 
   6048       The policy value should be specified in seconds. Values are clamped to be at least 3600 (one hour).''',
   6049     },
   6050     {
   6051       'name': 'RebootAfterUpdate',
   6052       'type': 'main',
   6053       'schema': { 'type': 'boolean' },
   6054       'supported_on': ['chrome_os:29-'],
   6055       'device_only': True,
   6056       'features': {
   6057         'dynamic_refresh': True,
   6058       },
   6059       'example_value': True,
   6060       'id': 193,
   6061       'caption': '''Automatically reboot after update''',
   6062       'desc': '''Schedule an automatic reboot after a <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> update has been applied.
   6063 
   6064       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.
   6065 
   6066       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.
   6067 
   6068       If you set this policy, users cannot change or override it.
   6069 
   6070       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.''',
   6071     },
   6072     {
   6073       'name': 'VariationsRestrictParameter',
   6074       'type': 'string',
   6075       'schema': { 'type': 'string' },
   6076       'supported_on': ['chrome.*:27-', 'android:34-', 'ios:35-'],
   6077       'features': {
   6078         'dynamic_refresh': False,
   6079         'per_profile': False,
   6080       },
   6081       'example_value': 'restricted',
   6082       'id': 196,
   6083       'future': True,
   6084       'caption': '''Set the restriction on the fetching of the Variations seed''',
   6085       'desc': '''Add a parameter to the fetching of the Variations seed in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
   6086 
   6087       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.
   6088 
   6089       If not specified, will not modify the Variations seed URL.''',
   6090     },
   6091     {
   6092       'name': 'DeviceVariationsRestrictParameter',
   6093       'type': 'string',
   6094       'schema': { 'type': 'string' },
   6095       'supported_on': ['chrome_os:28-'],
   6096       'features': {
   6097         'dynamic_refresh': False,
   6098         'per_profile': False,
   6099       },
   6100       'device_only': True,
   6101       'example_value': 'restricted',
   6102       'id': 199,
   6103       'future': True,
   6104       'caption': '''Set the restriction on the fetching of the Variations seed''',
   6105       'desc': '''Add a parameter to the fetching of the Variations seed in <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph>.
   6106 
   6107       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.
   6108 
   6109       If not specified, will not modify the Variations seed URL.''',
   6110     },
   6111     {
   6112       'name': 'Attestation',
   6113       'type': 'group',
   6114       'caption': 'Remote Attestation',
   6115       'desc': 'Configure the remote attestation with TPM mechanism.',
   6116       'policies': [
   6117         {
   6118           'name': 'AttestationEnabledForDevice',
   6119           'type': 'main',
   6120           'schema': { 'type': 'boolean' },
   6121           'supported_on': ['chrome_os:28-'],
   6122           'features': {
   6123             'dynamic_refresh': True,
   6124             'per_profile': False,
   6125           },
   6126           'device_only': True,
   6127           'example_value': True,
   6128           'id': 207,
   6129           'caption': '''Enable remote attestation for the device''',
   6130           'desc': '''If true, remote attestation is allowed for the device and a certificate will automatically be generated and uploaded to the Device Management Server.
   6131 
   6132           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.''',
   6133         },
   6134         {
   6135           'name': 'AttestationEnabledForUser',
   6136           'type': 'main',
   6137           'schema': { 'type': 'boolean' },
   6138           'supported_on': ['chrome_os:28-'],
   6139           'features': {
   6140             'dynamic_refresh': True,
   6141             'per_profile': True,
   6142           },
   6143           'example_value': True,
   6144           'id': 200,
   6145           'caption': '''Enable remote attestation for the user''',
   6146           '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().
   6147 
   6148           If it is set to false, or if it is not set, calls to the API will fail with an error code.''',
   6149         },
   6150         {
   6151           'name': 'AttestationExtensionWhitelist',
   6152           'type': 'list',
   6153           'schema': {
   6154             'type': 'array',
   6155             'items': { 'type': 'string' },
   6156           },
   6157           'supported_on': ['chrome_os:28-'],
   6158           'features': {
   6159             'dynamic_refresh': True,
   6160             'per_profile': True,
   6161           },
   6162           'example_value': ['ghdilpkmfbfdnomkmaiogjhjnggaggoi'],
   6163           'id': 201,
   6164           'caption': '''Extensions allowed to to use the remote attestation API''',
   6165           '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.
   6166 
   6167           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.''',
   6168         },
   6169         {
   6170           'name': 'AttestationForContentProtectionEnabled',
   6171           'type': 'main',
   6172           'schema': { 'type': 'boolean' },
   6173           'supported_on': ['chrome_os:31-'],
   6174           'features': {
   6175             'dynamic_refresh': True,
   6176           },
   6177           'device_only': True,
   6178           'example_value': True,
   6179           'id': 239,
   6180           'caption': '''Enable the use of remote attestation for content protection for the device''',
   6181           'desc': '''Chrome OS devices can use remote attestation (Verified Access) to get a certificate issued by the Chrome OS CA that asserts the device is eligible to play protected content.  This process involves sending hardware endorsement information to the Chrome OS CA which uniquely identifies the device.
   6182 
   6183           If this setting is false, the device will not use remote attestation for content protection and the device may be unable to play protected content.
   6184 
   6185           If this setting is true, or if it is not set, remote attestation may be used for content protection.''',
   6186         },
   6187       ],
   6188     },
   6189     {
   6190       'name': 'SuppressChromeFrameTurndownPrompt',
   6191       'caption': '''Suppress the <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> turndown prompt''',
   6192       '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>.''',
   6193       'type': 'main',
   6194       'schema': { 'type': 'boolean' },
   6195       'supported_on': ['chrome_frame:29-32'],
   6196       'features': {
   6197         'dynamic_refresh': False,
   6198       },
   6199       'example_value': True,
   6200       'id': 221,
   6201     },
   6202     {
   6203       'name': 'LocallyManagedUsers',
   6204       'type': 'group',
   6205       'caption': '''Locally managed users settings''',
   6206       'desc': '''Configure settings for managed users.''',
   6207       'policies': [
   6208         {
   6209           'name': 'ContentPackDefaultFilteringBehavior',
   6210           'future': True,
   6211           'deprecated': True,
   6212           'type': 'int-enum',
   6213           'schema': {
   6214             'type': 'integer',
   6215             'enum': [ 0, 1, 2 ],
   6216           },
   6217           'items': [
   6218             {
   6219               'name': 'Allow',
   6220               'value': 0,
   6221               'caption': '''Allow access to sites outside of content packs''',
   6222             },
   6223             {
   6224               'name': 'Warn',
   6225               'value': 1,
   6226               'caption': '''Warn when visiting sites outside of content packs''',
   6227             },
   6228             {
   6229               'name': 'Block',
   6230               'value': 2,
   6231               'caption': '''Block access to sites outside of content packs''',
   6232             },
   6233           ],
   6234           'supported_on': ['chrome.*:28-', 'chrome_os:28-'],
   6235           'features': {
   6236             'dynamic_refresh': True,
   6237             'per_profile': True
   6238           },
   6239           'example_value': 2,
   6240           'id': 204,
   6241           'caption': '''Default behavior for sites not in any content pack''',
   6242           'desc': '''The default behavior for sites not in any content pack.
   6243 
   6244           This policy is for internal use by Chrome itself.''',
   6245         },
   6246         {
   6247           'name': 'ContentPackManualBehaviorHosts',
   6248           'future': True,
   6249           'deprecated': True,
   6250           'type': 'dict',
   6251           'schema': {
   6252             'type': 'object',
   6253             'additionalProperties': {
   6254               'type': 'boolean'
   6255             }
   6256           },
   6257           'supported_on': ['chrome.*:28-', 'chrome_os:28-'],
   6258           'features': {
   6259             'dynamic_refresh': True,
   6260             'per_profile': True
   6261           },
   6262           'example_value': {
   6263             'www.example.com': True,
   6264             'moose.org': False
   6265           },
   6266           'id': 205,
   6267           'caption': '''Managed user manual exception hosts''',
   6268           'desc': '''A dictionary mapping hostnames to a boolean flag specifying whether access to the host should be allowed (true) or blocked (false).
   6269 
   6270           This policy is for internal use by Chrome itself.''',
   6271         },
   6272         {
   6273           'name': 'ContentPackManualBehaviorURLs',
   6274           'future': True,
   6275           'deprecated': True,
   6276           'type': 'dict',
   6277           'schema': {
   6278             'type': 'object',
   6279             'additionalProperties': {
   6280               'type': 'boolean'
   6281             }
   6282           },
   6283           'supported_on': ['chrome.*:28-', 'chrome_os:28-'],
   6284           'features': {
   6285             'dynamic_refresh': True,
   6286             'per_profile': True
   6287           },
   6288           'example_value': {
   6289             'https://www.example.com': True,
   6290             'http://moose.org': False
   6291           },
   6292           'id': 206,
   6293           'caption': '''Managed user manual exception URLs''',
   6294           'desc': '''A dictionary mapping URLs to a boolean flag specifying whether access to the host should be allowed (true) or blocked (false).
   6295 
   6296           This policy is for internal use by Chrome itself.''',
   6297         },
   6298         {
   6299           'name': 'SupervisedUsersEnabled',
   6300           'type': 'main',
   6301           'schema': { 'type': 'boolean' },
   6302           'supported_on': ['chrome_os:29-'],
   6303           'device_only': True,
   6304           'features': {
   6305             'dynamic_refresh': False,
   6306           },
   6307           'example_value': True,
   6308           'id': 219,
   6309           'caption': '''Enable supervised users''',
   6310           'desc': '''If set to true, supervised users can be created and used.
   6311 
   6312           If set to false or not configured, supervised-user creation and login will be disabled. All existing supervised users will be hidden.
   6313 
   6314           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.'''
   6315         },
   6316         {
   6317           'name': 'SupervisedUserCreationEnabled',
   6318           'type': 'main',
   6319           'schema': { 'type': 'boolean' },
   6320           'supported_on': ['chrome.*:29-'],
   6321           'features': {
   6322             'dynamic_refresh': True,
   6323             'per_profile': True,
   6324           },
   6325           'example_value': True,
   6326           'id': 223,
   6327           'caption': '''Enable creation of supervised users''',
   6328           'desc': '''If set to false, supervised-user creation by this user will be disabled. Any existing supervised users will still be available.
   6329 
   6330           If set to true or not configured, supervised users can be created and managed by this user.'''
   6331         },
   6332       ],
   6333     },
   6334     {
   6335       'name': 'ManagedBookmarks',
   6336       'type': 'dict',
   6337       'schema': {
   6338         'type': 'array',
   6339         'items': {
   6340           'type': 'object',
   6341           'id': 'BookmarkType',
   6342           'properties': {
   6343             'name': { 'type': 'string' },
   6344             'url': { 'type': 'string' },
   6345             'children': {
   6346               'type': 'array',
   6347               'items': { '$ref': 'BookmarkType' },
   6348             },
   6349           },
   6350         },
   6351       },
   6352       'supported_on': [
   6353         'android:30-',
   6354         'ios:35-',
   6355         'chrome.*:37-',
   6356         'chrome_os:37-',
   6357       ],
   6358       'features': {
   6359         'dynamic_refresh': True,
   6360         'per_profile': True,
   6361       },
   6362       'example_value': [
   6363         {
   6364           "name": "Google",
   6365           "url": "google.com"
   6366         }, {
   6367           "name": "Youtube",
   6368           "url": "youtube.com"
   6369         }
   6370       ],
   6371       'id': 227,
   6372       'caption': '''Managed Bookmarks''',
   6373       'desc': '''Configures a list of managed bookmarks.
   6374 
   6375       The policy is a list of bookmarks, and each bookmark is a dictionary containing the bookmark "name" and target "url".
   6376 
   6377       These bookmarks are placed in a Managed bookmarks folder inside the Mobile bookmarks. These bookmarks can't be modified by the user.
   6378 
   6379       When this policy is set then the Managed bookmarks are the default folder opened when the bookmarks view is opened in Chrome.
   6380 
   6381       Managed bookmarks are not synced to the user account.''',
   6382     },
   6383     {
   6384       'name': 'DataCompressionProxyEnabled',
   6385       'type': 'main',
   6386       'schema': { 'type': 'boolean' },
   6387       'supported_on': ['android:31-'],
   6388       'features': {
   6389         'dynamic_refresh': True,
   6390         'per_profile': True,
   6391       },
   6392       'example_value': True,
   6393       'id': 241,
   6394       'caption': '''Enable the data compression proxy feature''',
   6395       'desc': '''Enable or disable the data compression proxy and prevents users from changing this setting.
   6396 
   6397       If you enable or disable this setting, users cannot change or override this setting.
   6398 
   6399       If this policy is left not set, the data compression proxy feature will be available for the user to choose whether to use it or not.''',
   6400     },
   6401     {
   6402       'name': 'UserAvatarImage',
   6403       'type': 'external',
   6404       'schema': {
   6405         'type': 'object',
   6406         'properties': {
   6407           'url': { "type": "string" },
   6408           'hash': { "type": "string" }
   6409         },
   6410       },
   6411       'supported_on': ['chrome_os:34-'],
   6412       'features': {
   6413         'dynamic_refresh': True,
   6414         'per_profile': True,
   6415       },
   6416       'example_value': { "url": "http://example.com/avatar.jpg", "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" },
   6417       'max_size': 524288,
   6418       'id': 249,
   6419       'caption': '''User avatar image''',
   6420       'desc': '''Configure user avatar image.
   6421 
   6422       This policy allows you to configure the avatar image representing the user on the login screen. The policy is set by specifying the URL from which <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can download the avatar image and a cryptographic hash used to verify the integrity of the download. The image must be in JPEG format, its size must not exceed 512kB. The URL must be accessible without any authentication.
   6423 
   6424       The avatar image is downloaded and cached. It will be re-downloaded whenever the URL or the hash changes.
   6425 
   6426       The policy should be specified as a string that expresses the URL and hash in JSON format, conforming to the following schema:
   6427       {
   6428         "type": "object",
   6429         "properties": {
   6430           "url": {
   6431             "description": "The URL from which the avatar image can be downloaded.",
   6432             "type": "string"
   6433           },
   6434           "hash": {
   6435             "description": "The SHA-256 hash of the avatar image.",
   6436             "type": "string"
   6437           }
   6438         }
   6439       }
   6440 
   6441       If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will download and use the avatar image.
   6442 
   6443       If you set this policy, users cannot change or override it.
   6444 
   6445       If the policy is left not set, the user can choose the avatar image representing him/her on the login screen.''',
   6446     },
   6447     {
   6448       'name': 'WallpaperImage',
   6449       'type': 'external',
   6450       'schema': {
   6451         'type': 'object',
   6452         'properties': {
   6453           'url': { "type": "string" },
   6454           'hash': { "type": "string" }
   6455         },
   6456       },
   6457       'supported_on': ['chrome_os:35-'],
   6458       'features': {
   6459         'dynamic_refresh': True,
   6460         'per_profile': True,
   6461       },
   6462       'example_value': { "url": "http://example.com/wallpaper.jpg", "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecaf" },
   6463       'max_size': 16777216,
   6464       'id': 262,
   6465       'caption': '''Wallpaper image''',
   6466       'desc': '''Configure wallpaper image.
   6467 
   6468       This policy allows you to configure the wallpaper image that is shown on the desktop and on the login screen background for the user. The policy is set by specifying the URL from which <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can download the wallpaper image and a cryptographic hash used to verify the integrity of the download. The image must be in JPEG format, its size must not exceed 16MB. The URL must be accessible without any authentication.
   6469 
   6470       The wallpaper image is downloaded and cached. It will be re-downloaded whenever the URL or the hash changes.
   6471 
   6472       The policy should be specified as a string that expresses the URL and hash in JSON format, conforming to the following schema:
   6473       {
   6474         "type": "object",
   6475         "properties": {
   6476           "url": {
   6477             "description": "The URL from which the wallpaper image can be downloaded.",
   6478             "type": "string"
   6479           },
   6480           "hash": {
   6481             "description": "The SHA-256 hash of the wallpaper image.",
   6482             "type": "string"
   6483           }
   6484         }
   6485       }
   6486 
   6487       If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will download and use the wallpaper image.
   6488 
   6489       If you set this policy, users cannot change or override it.
   6490 
   6491       If the policy is left not set, the user can choose an image to be shown on the desktop and on the login screen background.''',
   6492     },
   6493     {
   6494       'name': 'EnableDeprecatedWebPlatformFeatures',
   6495       'type': 'list',
   6496       'schema': {
   6497         'type': 'array',
   6498         'items': { 'type': 'string' },
   6499       },
   6500       'supported_on': ['chrome.*:37-', 'chrome_os:37-', 'android:37-'],
   6501       'features': {
   6502         'dynamic_refresh': True,
   6503         'per_profile': True,
   6504       },
   6505       'example_value': [],
   6506       'id': 270,
   6507       'caption': '''Enable deprecated web platform features''',
   6508       'desc': '''Specify a list of deprecated web platform features to re-enable.
   6509 
   6510       This policy gives administrators the ability to re-enable deprecated web platform features for a limited time. Features are identified by a string tag and the features corresponding to the tags included in the list specified by this policy will get re-enabled.
   6511 
   6512       The following tags are currently defined:
   6513       - ShowModalDialog_EffectiveUntil20150430
   6514 
   6515       If this policy is left not set or the list is empty, all deprecated web platform features will remain disabled.''',
   6516     },
   6517   ],
   6518   'messages': {
   6519     # Messages that are not associated to any policies.
   6520     'win_supported_winxpsp2': {
   6521       '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:'.''',
   6522       'text': '''Microsoft Windows XP SP2 or later'''
   6523     },
   6524     'mac_chrome_preferences': {
   6525       'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
   6526       'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferences'''
   6527     },
   6528     'doc_data_type': {
   6529       'desc': '''Caption text of the field 'data type' in the summary chart of a policy in the generated documentation''',
   6530       'text': '''Data type:'''
   6531     },
   6532     'doc_win_reg_loc': {
   6533       'desc': '''Caption text of the field 'windows registry location' in the summary chart of a policy in the generated documentation''',
   6534       'text': '''Windows registry location:'''
   6535     },
   6536     'doc_mac_linux_pref_name': {
   6537       'desc': '''Caption text of the field 'mac/linux preference name' in the summary chart of a policy in the generated documentation''',
   6538       'text': '''Mac/Linux preference name:'''
   6539     },
   6540     'doc_supported_on': {
   6541       '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''',
   6542       'text': '''Supported on:'''
   6543     },
   6544     'doc_since_version': {
   6545       'desc': '''Text in the summary chart of a policy that specifies the version number in which the policy was introduced.''',
   6546       'text': '''since version <ph name="SINCE_VERSION">$6<ex>8</ex></ph>'''
   6547     },
   6548     'doc_until_version': {
   6549       'desc': '''Text in the summary chart of a policy that specifies the version number after which the policy was dropped.''',
   6550       'text': '''until version <ph name="UNTIL_VERSION">$6<ex>10</ex></ph>'''
   6551     },
   6552     'doc_supported_features': {
   6553       'desc': '''Caption text of the list of 'policy features that this policy supports' in the summary chart of a policy in the generated documentation''',
   6554       'text': '''Supported features:'''
   6555     },
   6556     'doc_description': {
   6557       'desc': '''Caption text of the 'description text' in the summary chart of a policy in the generated documentation''',
   6558       'text': '''Description:'''
   6559     },
   6560     'doc_example_value': {
   6561       'desc': '''Caption text of the field 'example value' in the summary chart of a policy in the generated documentation''',
   6562       'text': '''Example value:'''
   6563     },
   6564     'doc_intro': {
   6565       'desc': '''Introduction text for the generated policy documentation''',
   6566       'text': '''(This document may include policies that are targeted for later
   6567       <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> versions, those are
   6568       subject to change without notice. The list of supported policies is the
   6569       same for Chromium and Google Chrome.)
   6570 
   6571       You don't need to change these settings by hand!  You can download easy-to-use templates from
   6572       <ph name="POLICY_TEMPLATE_DOWNLOAD_URL">http://www.chromium.org/administrators/policy-templates<ex>
   6573       http://www.chromium.org/administrators/policy-templates</ex></ph>.
   6574 
   6575       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.
   6576 
   6577       Note: Starting with <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>
   6578       28, policies are loaded directly from the Group Policy API on
   6579       Windows. Policies manually written to the registry will be ignored. See
   6580       http://crbug.com/259236 for details.
   6581 
   6582       Starting with <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> 35, policies are read directly from the registry if the workstation is joined to an Active Directory domain; otherwise the policies are read from GPO.'''
   6583     },
   6584     'doc_back_to_top': {
   6585       'desc': '''Text of a link in the generated policy documentation, that takes the user to the top of the page''',
   6586       'text': '''Back to top'''
   6587     },
   6588     'doc_supported': {
   6589       'desc': '''Appears next to the name of each supported feature in the 'list of supported policy features' in the generated policy documentation''',
   6590       'text': '''Yes'''
   6591     },
   6592     'doc_not_supported': {
   6593       'desc': '''Appears next to the name of each unsupported feature in the 'list of supported policy features' in the generated policy documentation''',
   6594       'text': '''No'''
   6595     },
   6596     'doc_name_column_title': {
   6597       'desc': '''Appears at the top of the policy summary table, over the column of policy names, in the generated policy documentation''',
   6598       'text': '''Policy Name'''
   6599     },
   6600     'doc_description_column_title': {
   6601       'desc': '''Appears at the top of the policy summary table, over the column of short policy descriptions, in the generated policy documentation''',
   6602       'text': '''Description'''
   6603     },
   6604     'doc_feature_dynamic_refresh': {
   6605       'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''',
   6606       'text': '''Dynamic Policy Refresh'''
   6607     },
   6608     'doc_feature_can_be_recommended': {
   6609       'desc': '''The name of the feature that indicates for a given policy that it can be recommended, instead of mandatory''',
   6610       'text': '''Can Be Recommended'''
   6611     },
   6612     'doc_feature_per_profile': {
   6613       'desc': '''The name of the feature that indicates whether a policy is applicable to browser Profiles individually or whether it affects the entire browser.''',
   6614       'text': '''Per Profile'''
   6615     },
   6616     'doc_deprecated': {
   6617       'desc': '''Text appended in parentheses to the policy name to indicate that it has been deprecated''',
   6618       'text': 'deprecated',
   6619     },
   6620     'doc_recommended': {
   6621       'desc': '''Text appended in parentheses next to the policies top-level container to indicate that those policies are of the Recommended level''',
   6622       'text': 'Default Settings (users can override)',
   6623     },
   6624   },
   6625   'placeholders': [],
   6626 }
   6627