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

Unified Diff: content/browser/media_devices_monitor.cc

Issue 54863002: Implement a salt for MediaSource IDs that can be cleared by a user. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments from tommi,joi and bauerb. Created 7 years, 1 month 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 | « chrome/common/pref_names.cc ('k') | content/browser/renderer_host/media/device_request_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media_devices_monitor.cc
diff --git a/content/browser/media_devices_monitor.cc b/content/browser/media_devices_monitor.cc
index 72c3b4b1cefcc1b7c9a4180d63abe780212cde5d..8f239a9b10aa4f03e39f0aa72f7e4b21335c0024 100644
--- a/content/browser/media_devices_monitor.cc
+++ b/content/browser/media_devices_monitor.cc
@@ -12,8 +12,10 @@ namespace content {
namespace {
void EnsureMonitorCaptureDevicesInternal(
MediaStreamManager* media_stream_manager) {
+ // TODO(perkj): The argument list suggests that this is the wrong design. Can
sky 2013/11/01 20:31:36 I don't know enough about the ramifications of thi
+ // we add a separate method for device monitoring?
media_stream_manager->EnumerateDevices(
- NULL, -1, -1, -1, MEDIA_DEVICE_AUDIO_CAPTURE, GURL());
+ NULL, -1, -1, NULL, -1, MEDIA_DEVICE_AUDIO_CAPTURE, GURL());
}
}
« no previous file with comments | « chrome/common/pref_names.cc ('k') | content/browser/renderer_host/media/device_request_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698