| Index: content/renderer/media/media_stream_impl.h
|
| diff --git a/content/renderer/media/media_stream_impl.h b/content/renderer/media/media_stream_impl.h
|
| index 7754e285a808ccf94ba68fc28d7055596013551b..7279e37670b880adca35b03c24bfdb8575afea16 100644
|
| --- a/content/renderer/media/media_stream_impl.h
|
| +++ b/content/renderer/media/media_stream_impl.h
|
| @@ -51,11 +51,6 @@ class CONTENT_EXPORT MediaStreamImpl
|
| MediaStreamDependencyFactory* dependency_factory);
|
| virtual ~MediaStreamImpl();
|
|
|
| - // Stops a local MediaStream by notifying the MediaStreamDispatcher that the
|
| - // stream no longer may be used.
|
| - virtual void StopLocalMediaStream(
|
| - const WebKit::WebMediaStreamDescriptor& stream);
|
| -
|
| // WebKit::WebUserMediaClient implementation
|
| virtual void requestUserMedia(
|
| const WebKit::WebUserMediaRequest& user_media_request,
|
| @@ -97,6 +92,9 @@ class CONTENT_EXPORT MediaStreamImpl
|
| virtual void FrameWillClose(WebKit::WebFrame* frame) OVERRIDE;
|
|
|
| protected:
|
| + // Stops a local MediaStream by notifying the MediaStreamDispatcher that the
|
| + // stream no longer may be used.
|
| + void OnLocalMediaStreamStop(const std::string& label);
|
| // This function is virtual for test purposes. A test can override this to
|
| // test requesting local media streams. The function notifies WebKit that the
|
| // |request| have completed and generated the MediaStream |stream|.
|
|
|