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

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

Issue 142923005: Allow MessageFilters to restrict listening to specific message classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 10 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 a357e59c60bb85e8819df8a6765c6d5dfd6b63c9..b96e2f4dfb34751ec4811b8787e56734d217ac60 100644
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host.cc
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host.cc
@@ -15,7 +15,8 @@ MediaStreamDispatcherHost::MediaStreamDispatcherHost(
int render_process_id,
ResourceContext* resource_context,
MediaStreamManager* media_stream_manager)
- : render_process_id_(render_process_id),
+ : BrowserMessageFilter(MediaStreamMsgStart),
+ render_process_id_(render_process_id),
resource_context_(resource_context),
media_stream_manager_(media_stream_manager) {
}

Powered by Google App Engine
This is Rietveld 408576698