Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: components/policy/resources/policy_templates.json

Issue 1706503002: Add enterprise policy to turn off Bluetooth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Sync Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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': {

Powered by Google App Engine
This is Rietveld 408576698