Index: components/policy/resources/policy_templates.json |
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json |
index 7573cc26f68d8fd272f5f56bcf439ed95addff97..3eac408835fd397dbf94285ca2bca2653c6ed7a9 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,42 @@ |
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': '''Sets whether web pages can use the Web Bluetooth API, described at <ph name="WEB_BLUETOOTH_ON_CHROME_STATUS_LINK">https://www.chromestatus.com/features/5264933985976320</ph>. |
+ |
+ 3, 'AskWebBluetooth', allows web pages from asking users to grant access to nearby Bluetooth LE devices. If granted, the web page has full access to the device's Bluetooth GATT services. |
Thiemo Nagel
2016/02/22 12:41:51
For consistency, I'd suggest to better align the d
Jeffrey Yasskin
2016/02/22 23:47:10
Done. Note that http://www.chromium.org/administra
|
+ |
+ 2, 'BlockWebBluetooth', prevents web pages from asking users to grant access to nearby Bluetooth LE devices. |
+ |
+ Leaving this policy unset is equivalent to 'AskWebBluetooth'.''', |
+ }, |
+ { |
'name': 'DefaultKeygenSetting', |
'type': 'int-enum', |
'schema': { |