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

Unified Diff: content/renderer/media/media_stream_impl.h

Issue 10947030: Removed the use of WebFrame::frameForCurrentContext() in MediaStreamCenter::didStopLocalMediaStream (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing code review comments found by Tommi. Created 8 years, 3 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
« no previous file with comments | « content/renderer/media/media_stream_extra_data.h ('k') | content/renderer/media/media_stream_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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|.
« no previous file with comments | « content/renderer/media/media_stream_extra_data.h ('k') | content/renderer/media/media_stream_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698