Index: chrome/common/pref_names.cc |
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc |
index 42c4232821d8767ce899fc8aefb6189955e05728..a164fa6fcf8e5c3d8cec62efcc47ed3b50ee5a68 100644 |
--- a/chrome/common/pref_names.cc |
+++ b/chrome/common/pref_names.cc |
@@ -2010,15 +2010,23 @@ const char kDailyHttpReceivedContentLength[] = |
// date of the last update to |kDailyHttp{Original,Received}ContentLength|. |
const char kDailyHttpContentLengthLastUpdateDate[] = |
"data_reduction.last_update_date"; |
-#endif |
+#endif // defined(OS_ANDROID) || defined(OS_IOS) |
-// A pref holding the value of the policy used to disable capturing audio on |
-// ChromeOS devices. |
+// A pref holding the value of the policy used to explicitly allow or deny |
+// access to audio capture devices. When enabled, this works in conjunction |
+// with the kAudioCaptureAllowedUrls policy list. |
const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled"; |
+// Holds the whitelisted URL patterns that we refer to when kAudioCaptureAllowed |
+// is enabled. |
+const char kAudioCaptureAllowedUrls[] = "hardware.audio_capture_allowed_urls"; |
-// A pref holding the value of the policy used to disable capturing audio on |
-// ChromeOS devices. |
+// A pref holding the value of the policy used to explicitly allow or deny |
+// access to video capture devices. When enabled, this works in conjunction |
+// with the kVideoCaptureAllowedUrls policy list. |
const char kVideoCaptureAllowed[] = "hardware.video_capture_enabled"; |
+// Holds the whitelisted URL patterns that we refer to when kVideoCaptureAllowed |
+// is enabled. |
+const char kVideoCaptureAllowedUrls[] = "hardware.video_capture_allowed_urls"; |
#if defined(OS_CHROMEOS) |
// Dictionary for transient storage of settings that should go into device |