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

Unified Diff: chrome/browser/policy/configuration_policy_handler_list.cc

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
Index: chrome/browser/policy/configuration_policy_handler_list.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list.cc b/chrome/browser/policy/configuration_policy_handler_list.cc
index dcba0efb83107d9938f854b237b9cdba043d9bc8..9259c16d99e83a1b84654c3aba797079a8b013c0 100644
--- a/chrome/browser/policy/configuration_policy_handler_list.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list.cc
@@ -321,6 +321,12 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kVideoCaptureAllowed,
prefs::kVideoCaptureAllowed,
Value::TYPE_BOOLEAN },
+ { key::kAudioCaptureAllowedUrls,
+ prefs::kAudioCaptureAllowedUrls,
+ Value::TYPE_LIST },
+ { key::kVideoCaptureAllowedUrls,
+ prefs::kVideoCaptureAllowedUrls,
+ Value::TYPE_LIST },
{ key::kHideWebStoreIcon,
prefs::kHideWebStoreIcon,
Value::TYPE_BOOLEAN },
« no previous file with comments | « chrome/browser/media/media_stream_devices_controller.cc ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698