Index: content/browser/renderer_host/media/media_stream_dispatcher_host.h |
=================================================================== |
--- content/browser/renderer_host/media/media_stream_dispatcher_host.h (revision 111389) |
+++ content/browser/renderer_host/media/media_stream_dispatcher_host.h (working copy) |
@@ -42,6 +42,13 @@ |
virtual void AudioDeviceFailed(const std::string& label, int index) OVERRIDE; |
virtual void VideoDeviceFailed(const std::string& label, int index) OVERRIDE; |
mflodman_chromium_OOO
2011/12/02 18:44:02
Remove empty line.
wjia(left Chromium)
2012/01/24 00:59:46
Done.
|
+ virtual void DevicesEnumerated(const std::string& label, |
mflodman_chromium_OOO
2011/12/02 18:44:02
Here and below: OVERRIDE.
wjia(left Chromium)
2012/01/24 00:59:46
Done.
|
+ const StreamDeviceInfoArray& devices); |
+ virtual void DevicesEnumerationFailed(const std::string& label); |
+ virtual void DeviceOpened(const std::string& label, |
+ const StreamDeviceInfo& video_device); |
+ virtual void DeviceOpenFailed(const std::string& label); |
+ |
// BrowserMessageFilter implementation. |
virtual bool OnMessageReceived(const IPC::Message& message, |
bool* message_was_ok) OVERRIDE; |
@@ -57,6 +64,17 @@ |
void OnStopGeneratedStream(int render_view_id, const std::string& label); |
+ void OnEnumerateDevices(int render_view_id, |
+ int page_request_id, |
+ media_stream::MediaStreamType type, |
+ const std::string& security_origin); |
+ |
+ void OnOpenDevice(int render_view_id, |
+ int page_request_id, |
+ const std::string& device_id, |
+ media_stream::MediaStreamType type, |
+ const std::string& security_origin); |
+ |
// Returns the media stream manager to forward events to, |
// creating one if needed. |
MediaStreamManager* manager(); |