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

Unified Diff: content/shell/browser/shell_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
« no previous file with comments | « content/public/browser/browser_message_filter.cc ('k') | extensions/browser/extension_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_message_filter.cc
diff --git a/content/shell/browser/shell_message_filter.cc b/content/shell/browser/shell_message_filter.cc
index fcbde2f80a9aac69455248b7191adbc42265d0af..d913734c5d44673471a4348367b2fe5579e6dd64 100644
--- a/content/shell/browser/shell_message_filter.cc
+++ b/content/shell/browser/shell_message_filter.cc
@@ -26,7 +26,8 @@ ShellMessageFilter::ShellMessageFilter(
webkit_database::DatabaseTracker* database_tracker,
quota::QuotaManager* quota_manager,
net::URLRequestContextGetter* request_context_getter)
- : render_process_id_(render_process_id),
+ : BrowserMessageFilter(ShellMsgStart),
+ render_process_id_(render_process_id),
database_tracker_(database_tracker),
quota_manager_(quota_manager),
request_context_getter_(request_context_getter) {
« no previous file with comments | « content/public/browser/browser_message_filter.cc ('k') | extensions/browser/extension_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698