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

Unified Diff: content/browser/renderer_host/media/media_stream_manager.cc

Issue 459363003: MediaStreamTrack.getSources list is now updated when input devices is disabled on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: content/browser/renderer_host/media/media_stream_manager.cc
diff --git a/content/browser/renderer_host/media/media_stream_manager.cc b/content/browser/renderer_host/media/media_stream_manager.cc
index 21d2aa4ce2e1ce7c0da8cbdc3fbe1b9887938152..1207065923740cf3b9f44007caf71af5c2101cc5 100644
--- a/content/browser/renderer_host/media/media_stream_manager.cc
+++ b/content/browser/renderer_host/media/media_stream_manager.cc
@@ -1986,8 +1986,10 @@ void MediaStreamManager::OnDevicesChanged(
MediaStreamType stream_type;
if (device_type == base::SystemMonitor::DEVTYPE_AUDIO_CAPTURE) {
+ DVLOG(1) << "OnDevicesChanged(DEVTYPE_AUDIO_CAPTURE)";
xians 2014/08/12 11:59:09 do you still want these debug loggings? If not, pl
henrika (OOO until Aug 14) 2014/08/12 12:04:39 I find them useful and would like to keep.
stream_type = MEDIA_DEVICE_AUDIO_CAPTURE;
} else if (device_type == base::SystemMonitor::DEVTYPE_VIDEO_CAPTURE) {
+ DVLOG(1) << "OnDevicesChanged(MEDIA_DEVICE_VIDEO_CAPTURE)";
stream_type = MEDIA_DEVICE_VIDEO_CAPTURE;
} else {
return; // Uninteresting device change.
« no previous file with comments | « no previous file | media/audio/win/audio_device_listener_win.cc » ('j') | media/audio/win/audio_device_listener_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698