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

Side by Side 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, 9 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 # policy_templates.json - Metafile for policy templates 2 # policy_templates.json - Metafile for policy templates
3 # 3 #
4 # The content of this file is evaluated as a Python expression. 4 # The content of this file is evaluated as a Python expression.
5 # 5 #
6 # This file is used as input to generate the following policy templates: 6 # This file is used as input to generate the following policy templates:
7 # ADM, ADMX+ADML, MCX/plist and html documentation. 7 # ADM, ADMX+ADML, MCX/plist and html documentation.
8 # 8 #
9 # Policy templates are user interface definitions or documents about the 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 10 # policies that can be used to configure Chrome. Each policy is a name-value
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 # templates and documentation. The policy definition list that Chrome sees 130 # templates and documentation. The policy definition list that Chrome sees
131 # will include policies marked with 'future'. If a WIP policy isn't meant to 131 # will include policies marked with 'future'. If a WIP policy isn't meant to
132 # be seen by the policy providers either, the 'supported_on' key should be set 132 # be seen by the policy providers either, the 'supported_on' key should be set
133 # to an empty list. 133 # to an empty list.
134 # 134 #
135 # IDs: 135 # IDs:
136 # Since a Protocol Buffer definition is generated from this file, unique and 136 # Since a Protocol Buffer definition is generated from this file, unique and
137 # persistent IDs for all fields (but not for groups!) are needed. These are 137 # persistent IDs for all fields (but not for groups!) are needed. These are
138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
139 # because doing so would break the deployed wire format! 139 # because doing so would break the deployed wire format!
140 # For your editing convenience: highest ID currently used: 319 140 # For your editing convenience: highest ID currently used: 320
141 # 141 #
142 # Placeholders: 142 # Placeholders:
143 # The following placeholder strings are automatically substituted: 143 # The following placeholder strings are automatically substituted:
144 # $1 -> Google Chrome / Chromium 144 # $1 -> Google Chrome / Chromium
145 # $2 -> Google Chrome OS / Chromium OS 145 # $2 -> Google Chrome OS / Chromium OS
146 # $3 -> Google Chrome Frame / Chromium Frame 146 # $3 -> Google Chrome Frame / Chromium Frame
147 # $6 is reserved for doc_writer 147 # $6 is reserved for doc_writer
148 # 148 #
149 # Device Policy: 149 # Device Policy:
150 # An additional flag 'device_only' (optional, defaults to False) indicates 150 # An additional flag 'device_only' (optional, defaults to False) indicates
(...skipping 2918 matching lines...) Expand 10 before | Expand all | Expand 10 after
3069 'deprecated': True, 3069 'deprecated': True,
3070 'example_value': 2, 3070 'example_value': 2,
3071 'id': 149, 3071 'id': 149,
3072 'caption': '''Default mediastream setting''', 3072 'caption': '''Default mediastream setting''',
3073 'tags': ['website-sharing'], 3073 'tags': ['website-sharing'],
3074 'desc': '''Allows you to set whether websites are allowed to get acces s to media capture devices. Access to media capture devices can be allowed by de fault, or the user can be asked every time a website wants to get access to medi a capture devices. 3074 'desc': '''Allows you to set whether websites are allowed to get acces s to media capture devices. Access to media capture devices can be allowed by de fault, or the user can be asked every time a website wants to get access to medi a capture devices.
3075 3075
3076 If this policy is left not set, 'PromptOnAccess' will be used and the user will be able to change it.''', 3076 If this policy is left not set, 'PromptOnAccess' will be used and the user will be able to change it.''',
3077 }, 3077 },
3078 { 3078 {
3079 'name': 'DefaultWebBluetoothGuardSetting',
3080 'type': 'int-enum',
3081 'schema': {
3082 'type': 'integer',
3083 'enum': [ 2, 3 ],
3084 },
3085 'items': [
3086 {
3087 'name': 'BlockWebBluetooth',
3088 'value': 2,
3089 'caption': '''Do not allow any site to request access to Bluetooth devices via the Web Bluetooth API''',
3090 },
3091 {
3092 'name': 'AskWebBluetooth',
3093 'value': 3,
3094 'caption': '''Allow sites to ask the user to grant access to a nea rby Bluetooth device''',
3095 },
3096 ],
3097 'supported_on': ['chrome_os:50-', 'android:50-', 'chrome.*:50-'],
3098 'features': {
3099 'dynamic_refresh': True,
3100 'per_profile': True,
3101 },
3102 'example_value': 2,
3103 'id': 320,
3104 'caption': '''Control use of the Web Bluetooth API''',
3105 'tags': ['website-sharing'],
3106 'desc': '''Allows you to set whether websites are allowed to get acces s 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.
3107
3108 If this policy is left not set, '3' will be used, and the user will be able to change it.''',
3109 },
3110 {
3079 'name': 'DefaultKeygenSetting', 3111 'name': 'DefaultKeygenSetting',
3080 'type': 'int-enum', 3112 'type': 'int-enum',
3081 'schema': { 3113 'schema': {
3082 'type': 'integer', 3114 'type': 'integer',
3083 'enum': [ 1, 2 ], 3115 'enum': [ 1, 2 ],
3084 }, 3116 },
3085 'items': [ 3117 'items': [
3086 { 3118 {
3087 'name': 'AllowKeygen', 3119 'name': 'AllowKeygen',
3088 'value': 1, 3120 'value': 1,
(...skipping 5267 matching lines...) Expand 10 before | Expand all | Expand 10 after
8356 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 8388 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
8357 'text': 'Default Settings (users can override)', 8389 'text': 'Default Settings (users can override)',
8358 }, 8390 },
8359 'doc_complex_policies_on_windows': { 8391 'doc_complex_policies_on_windows': {
8360 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 8392 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
8361 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', 8393 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '',
8362 }, 8394 },
8363 }, 8395 },
8364 'placeholders': [], 8396 'placeholders': [],
8365 } 8397 }
OLDNEW
« 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