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

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

Issue 11146008: remove VideoDeviceError and AudioDeviceError for media stream. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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_dispatcher_host.cc
===================================================================
--- content/browser/renderer_host/media/media_stream_dispatcher_host.cc (revision 161798)
+++ content/browser/renderer_host/media/media_stream_dispatcher_host.cc (working copy)
@@ -62,34 +62,6 @@
request.page_request_id));
}
-void MediaStreamDispatcherHost::AudioDeviceFailed(const std::string& label,
- int index) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- DVLOG(1) << "MediaStreamDispatcherHost::AudioDeviceFailed("
- << ", {label = " << label << "})";
-
- StreamMap::iterator it = streams_.find(label);
- DCHECK(it != streams_.end());
- StreamRequest request = it->second;
- Send(new MediaStreamHostMsg_AudioDeviceFailed(request.render_view_id,
- label,
- index));
-}
-
-void MediaStreamDispatcherHost::VideoDeviceFailed(const std::string& label,
- int index) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- DVLOG(1) << "MediaStreamDispatcherHost::VideoDeviceFailed("
- << ", {label = " << label << "})";
-
- StreamMap::iterator it = streams_.find(label);
- DCHECK(it != streams_.end());
- StreamRequest request = it->second;
- Send(new MediaStreamHostMsg_VideoDeviceFailed(request.render_view_id,
- label,
- index));
-}
-
void MediaStreamDispatcherHost::DevicesEnumerated(
const std::string& label,
const StreamDeviceInfoArray& devices) {

Powered by Google App Engine
This is Rietveld 408576698