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

Unified Diff: content/browser/renderer_host/media/media_stream_dispatcher_host.cc

Issue 324143002: Decouple IPC::MessageFilter from IPC::Channel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing compilation errors Created 6 years, 6 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
Index: content/browser/renderer_host/media/media_stream_dispatcher_host.cc
diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host.cc b/content/browser/renderer_host/media/media_stream_dispatcher_host.cc
index 36f6794ccead4771c475e406c7a645b8c194389d..08e96ba8e5c89a59fd2fcb01f07fd0873742ef91 100644
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host.cc
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host.cc
@@ -114,10 +114,10 @@ bool MediaStreamDispatcherHost::OnMessageReceived(const IPC::Message& message) {
return handled;
}
-void MediaStreamDispatcherHost::OnChannelClosing() {
- DVLOG(1) << "MediaStreamDispatcherHost::OnChannelClosing";
+void MediaStreamDispatcherHost::OnSenderClosing() {
+ DVLOG(1) << "MediaStreamDispatcherHost::OnSenderClosing";
- // Since the IPC channel is gone, close all requesting/requested streams.
+ // Since the IPC sender is gone, close all requesting/requested streams.
media_stream_manager_->CancelAllRequests(render_process_id_);
}

Powered by Google App Engine
This is Rietveld 408576698