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

Unified Diff: components/nacl/browser/nacl_host_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: components/nacl/browser/nacl_host_message_filter.cc
diff --git a/components/nacl/browser/nacl_host_message_filter.cc b/components/nacl/browser/nacl_host_message_filter.cc
index de4d1d4eb05a9b666de42ca582eeaf19685e7ad0..13498d758c918a1b8bbad356cbe9dc05a2570326 100644
--- a/components/nacl/browser/nacl_host_message_filter.cc
+++ b/components/nacl/browser/nacl_host_message_filter.cc
@@ -22,7 +22,8 @@ NaClHostMessageFilter::NaClHostMessageFilter(
bool is_off_the_record,
const base::FilePath& profile_directory,
net::URLRequestContextGetter* request_context)
- : render_process_id_(render_process_id),
+ : BrowserMessageFilter(NaClHostMsgStart),
+ render_process_id_(render_process_id),
off_the_record_(is_off_the_record),
profile_directory_(profile_directory),
request_context_(request_context),

Powered by Google App Engine
This is Rietveld 408576698