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

Unified Diff: content/browser/message_port_message_filter.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/message_port_message_filter.cc
diff --git a/content/browser/message_port_message_filter.cc b/content/browser/message_port_message_filter.cc
index 70d8175b503f988c618530b1d5af3f7de57d55ea..4fd80453b84cf179dfa7353dea2e201ddf20b540 100644
--- a/content/browser/message_port_message_filter.cc
+++ b/content/browser/message_port_message_filter.cc
@@ -11,7 +11,8 @@ namespace content {
MessagePortMessageFilter::MessagePortMessageFilter(
const NextRoutingIDCallback& callback)
- : next_routing_id_(callback) {
+ : BrowserMessageFilter(MessagePortMsgStart),
+ next_routing_id_(callback) {
}
MessagePortMessageFilter::~MessagePortMessageFilter() {
« no previous file with comments | « content/browser/media/android/browser_demuxer_android.cc ('k') | content/browser/mime_registry_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698