| Index: content/renderer/media/media_stream_dispatcher.h
|
| ===================================================================
|
| --- content/renderer/media/media_stream_dispatcher.h (revision 209718)
|
| +++ content/renderer/media/media_stream_dispatcher.h (working copy)
|
| @@ -48,7 +48,9 @@
|
| const GURL& security_origin);
|
|
|
| // Cancel the request for a new media stream to be created.
|
| - virtual void CancelGenerateStream(int request_id);
|
| + virtual void CancelGenerateStream(
|
| + int request_id,
|
| + const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler);
|
|
|
| // Stop a started stream. Label is the label provided in OnStreamGenerated.
|
| virtual void StopStream(const std::string& label);
|
| @@ -73,6 +75,11 @@
|
| MediaStreamType type,
|
| const GURL& security_origin);
|
|
|
| + // Cancel the request to open a device.
|
| + virtual void CancelOpenDevice(
|
| + int request_id,
|
| + const base::WeakPtr<MediaStreamDispatcherEventHandler>& event_handler);
|
| +
|
| // Close a started device. |label| is provided in OnDeviceOpened.
|
| void CloseDevice(const std::string& label);
|
|
|
|
|