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

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: Fix nits 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 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': {
« no previous file with comments | « components/content_settings/core/common/pref_names.cc ('k') | content/browser/bluetooth/bluetooth_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698