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

Unified Diff: chrome/app/policy/policy_templates.json

Issue 15738004: Add a policy list for access to capture devices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reference bug for code cleanup Created 7 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/media/media_stream_devices_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index c8138681167e392ddf4016388847a83ac49534a6..f71766aa098cf306e94e4e3e13f112cbb155e030 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -112,7 +112,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: 207
+# For your editing convenience: highest ID currently used: 209
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -3793,38 +3793,88 @@
'supported_on': ['chrome.*:25-', 'chrome_os:0.23-'],
'features': {
'dynamic_refresh': True,
- 'per_profile': False,
+ 'per_profile': True,
},
'example_value': False,
'id': 160,
'caption': '''Allow or deny audio capture''',
'desc': '''Allow or deny audio capture.
- When this policy is disabled, audio capture will not be available. If enabled, audio capture will always be allowed.
- If the policy is not configured (default), the user will be prompted for audio capture device access.
+ If enabled or not configured (default), the user will be prompted for
+ audio capture access except for URLs configured in the
+ AudioCaptureAllowedUrls list which will be granted access without prompting.
+
+ When this policy is disabled, the user will never be prompted and audio
+ capture only be available to URLs configured in AudioCaptureAllowedUrls.
This policy affects all types of audio inputs and not only the built-in microphone.''',
},
{
+ 'name': 'AudioCaptureAllowedUrls',
+ 'type': 'list',
+ 'schema': {
+ 'type': 'array',
+ 'items': { 'type': 'string' },
+ },
+ 'supported_on': ['chrome.*:29-', 'chrome_os:0.29-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': True,
+ },
+ 'example_value': ['http://www.example.com/', 'http://[*.]example.edu/'],
+ 'id': 208,
+ 'caption': '''URLs that will be granted access to audio capture devices without prompt.''',
+ 'desc': '''Patterns in this list will be matched against the security
+ origin of the requesting URL. If a match is found, access to audio
+ capture devices will be granted without prompt.
+
+ NOTE: This policy is currently only supported when running in Kiosk mode.''',
+ },
+ {
'name': 'VideoCaptureAllowed',
'type': 'main',
'schema': { 'type': 'boolean' },
'supported_on': ['chrome.*:25-', 'chrome_os:0.25-'],
'features': {
'dynamic_refresh': True,
- 'per_profile': False,
+ 'per_profile': True,
},
'example_value': False,
'id': 167,
'caption': '''Allow or deny video capture''',
'desc': '''Allow or deny video capture.
- When this policy is disabled, video capture devices will not be available. If enabled, video capture will always be allowed.
- If the policy is not configured (default), the user will be prompted for video device access.
+ If enabled or not configured (default), the user will be prompted for
+ video capture access except for URLs configured in the
+ VideoCaptureAllowedUrls list which will be granted access without prompting.
+
+ When this policy is disabled, the user will never be prompted and video
+ capture only be available to URLs configured in VideoCaptureAllowedUrls.
This policy affects all types of video inputs and not only the built-in camera.''',
},
{
+ 'name': 'VideoCaptureAllowedUrls',
+ 'type': 'list',
+ 'schema': {
+ 'type': 'array',
+ 'items': { 'type': 'string' },
+ },
+ 'supported_on': ['chrome.*:29-', 'chrome_os:0.29-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': True,
+ },
+ 'example_value': ['http://www.example.com/', 'http://[*.]example.edu/'],
+ 'id': 209,
+ 'caption': '''URLs that will be granted access to video capture devices without prompt.''',
+ 'desc': '''Patterns in this list will be matched against the security
+ origin of the requesting URL. If a match is found, access to audio
+ capture devices will be granted without prompt.
+
+ NOTE: This policy is currently only supported when running in Kiosk mode.''',
+ },
+ {
'name': 'DisableScreenshots',
'type': 'main',
'schema': { 'type': 'boolean' },
« no previous file with comments | « no previous file | chrome/browser/media/media_stream_devices_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698