Index: components/policy/resources/policy_templates.json |
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json |
index b626efa809c0eddb20130f5a285754fd6409bac8..7bdc31ebb823a3bc8bd2dfea63d8c1a3d133b79c 100644 |
--- a/components/policy/resources/policy_templates.json |
+++ b/components/policy/resources/policy_templates.json |
@@ -137,7 +137,7 @@ |
# persistent IDs for all fields (but not for groups!) are needed. These are |
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
# because doing so would break the deployed wire format! |
-# For your editing convenience: highest ID currently used: 319 |
+# For your editing convenience: highest ID currently used: 320 |
# |
# Placeholders: |
# The following placeholder strings are automatically substituted: |
@@ -3076,6 +3076,38 @@ |
If this policy is left not set, 'PromptOnAccess' will be used and the user will be able to change it.''', |
}, |
{ |
+ 'name': 'DefaultWebBluetoothGuardSetting', |
+ 'type': 'int-enum', |
+ 'schema': { |
+ 'type': 'integer', |
+ 'enum': [ 2, 3 ], |
+ }, |
+ 'items': [ |
+ { |
+ 'name': 'BlockWebBluetooth', |
+ 'value': 2, |
+ 'caption': '''Do not allow any site to request access to Bluetooth devices via the Web Bluetooth API''', |
+ }, |
+ { |
+ 'name': 'AskWebBluetooth', |
+ 'value': 3, |
+ 'caption': '''Allow sites to ask the user to grant access to a nearby Bluetooth device''', |
+ }, |
+ ], |
+ 'supported_on': ['chrome_os:50-', 'android:50-', 'chrome.*:50-'], |
+ 'features': { |
+ 'dynamic_refresh': True, |
+ 'per_profile': True, |
+ }, |
+ 'example_value': 2, |
+ 'id': 320, |
+ 'caption': '''Control use of the Web Bluetooth API''', |
+ 'tags': ['website-sharing'], |
+ 'desc': '''Allows you to set whether websites are allowed to get access to nearby Bluetooth devices. Access can be completely blocked, or the user can be asked every time a website wants to get access to nearby Bluetooth devices. |
+ |
+ If this policy is left not set, '3' will be used, and the user will be able to change it.''', |
+ }, |
+ { |
'name': 'DefaultKeygenSetting', |
'type': 'int-enum', |
'schema': { |