Index: content/browser/renderer_host/media/media_stream_provider.h |
diff --git a/content/browser/renderer_host/media/media_stream_provider.h b/content/browser/renderer_host/media/media_stream_provider.h |
index 69e7dab3c821a7a9002204aaf385d2a61d7e35ab..6131c9c66da98f5c7d29a85fff60514b935af5e3 100644 |
--- a/content/browser/renderer_host/media/media_stream_provider.h |
+++ b/content/browser/renderer_host/media/media_stream_provider.h |
@@ -58,13 +58,13 @@ class CONTENT_EXPORT MediaStreamProvider |
virtual void RegisterListener(MediaStreamProviderListener* listener) = 0; |
// Unregisters a previously registered listener. |
- virtual void UnregisterListener() = 0; |
+ virtual void UnregisterListener(MediaStreamProviderListener* listener) = 0; |
// Opens the specified device. The device is not started and it is still |
// possible for other applications to open the device before the device is |
// started. |Opened| is called when the device is opened. |
// kInvalidMediaCaptureSessionId is returned on error. |
- virtual int Open(const StreamDeviceInfo& device) = 0; |
+ virtual int Open(const MediaStreamDevice& device) = 0; |
// Closes the specified device and calls |Closed| when done. |
virtual void Close(int capture_session_id) = 0; |