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

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

Issue 8480028: support video device enumeration from renderer process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: simplify interface between MSManager and MSDevieSettings Created 9 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 | « no previous file | content/browser/renderer_host/media/media_stream_dispatcher_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/media_stream_device_settings.cc
===================================================================
--- content/browser/renderer_host/media/media_stream_device_settings.cc (revision 109718)
+++ content/browser/renderer_host/media/media_stream_device_settings.cc (working copy)
@@ -67,13 +67,6 @@
render_view_id,
security_origin,
request_options)));
- // Ask for available devices.
- if (request_options.audio) {
- requester_->GetDevices(label, kAudioCapture);
- }
- if (request_options.video_option != StreamOptions::kNoCamera) {
- requester_->GetDevices(label, kVideoCapture);
- }
}
void MediaStreamDeviceSettings::AvailableDevices(
« no previous file with comments | « no previous file | content/browser/renderer_host/media/media_stream_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698