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

Unified Diff: chrome/common/pref_names.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: 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/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index f6dd8a8f2995b81d059ecea396bb3387cc08df66..4503253d92e9d60096235799776b49259b0018de 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -935,6 +935,17 @@ const char kGeolocationDefaultContentSetting[] =
// Dictionary that maps [frame, toplevel] to their Geolocation content setting.
const char kGeolocationContentSettings[] = "geolocation.content_settings";
+
+// A whitelist of Dictionary that maps [origin, device] to give websites access
+// to the microphones.
+const char kMediaStreamAudioDevicesWhitelist[] =
+ "media_stream.audio_devices_whitelist";
+
+// A whitelist of Dictionary that maps [origin, device] to give websites access
+// to the cameras.
+const char kMediaStreamVideoDevicesWhitelist[] =
+ "media_stream.video_devices_whitelist";
+
// Preference to disable 3D APIs (WebGL, Pepper 3D).
const char kDisable3DAPIs[] = "disable_3d_apis";
@@ -1811,6 +1822,8 @@ const char kManagedDefaultGeolocationSetting[] =
"profile.managed_default_content_settings.geolocation";
const char kManagedDefaultNotificationsSetting[] =
"profile.managed_default_content_settings.notifications";
+const char kManagedDefaultMediaStreamSetting[] =
+ "mediastream.default_content_settings";
// Preferences that are exclusively used to store managed
// content settings patterns.

Powered by Google App Engine
This is Rietveld 408576698