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

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

Issue 10537099: add "always allow" option to the mediastream infobar and allow user to allow/not allow acces to devi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed sky's comment and replaced "Do not allow any site to" with "Do not allow sites to" Created 8 years, 6 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 304dc07dbb4f01ce5e6c5119f2a71ae0fe8c0f39..5d4b2f46e95e291055de2eeb3f97d0e6f5461921 100644
--- a/chrome/browser/policy/configuration_policy_handler_list.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list.cc
@@ -282,6 +282,9 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kRestrictSigninToPattern,
prefs::kGoogleServicesUsernamePattern,
Value::TYPE_STRING },
+ { key::kDefaultMediaStreamSetting,
+ prefs::kManagedDefaultMediaStreamSetting,
+ Value::TYPE_INTEGER },
#if defined(OS_CHROMEOS)
{ key::kChromeOsLockOnIdleSuspend,
« no previous file with comments | « chrome/browser/media/media_stream_devices_menu_model.cc ('k') | chrome/browser/resources/options2/content_settings.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698