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

Unified Diff: chrome/browser/signin/principals_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: chrome/browser/signin/principals_message_filter.cc
diff --git a/chrome/browser/signin/principals_message_filter.cc b/chrome/browser/signin/principals_message_filter.cc
index a2f76f27075fbadcfca301b8a574bc8703e7700d..d047d80143442f5896464b619512b925047353f1 100644
--- a/chrome/browser/signin/principals_message_filter.cc
+++ b/chrome/browser/signin/principals_message_filter.cc
@@ -8,7 +8,8 @@
#include "content/public/browser/browser_thread.h"
PrincipalsMessageFilter::PrincipalsMessageFilter(int render_process_id)
- : render_process_id_(render_process_id) {}
+ : BrowserMessageFilter(ChromeMsgStart),
+ render_process_id_(render_process_id) {}
PrincipalsMessageFilter::~PrincipalsMessageFilter(){}

Powered by Google App Engine
This is Rietveld 408576698