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

Unified Diff: content/public/browser/browser_message_filter.h

Issue 174493005: Merge 252428 "Revert "Allow MessageFilters to restrict listening..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1847/src/
Patch Set: 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/public/browser/browser_message_filter.h
===================================================================
--- content/public/browser/browser_message_filter.h (revision 252600)
+++ content/public/browser/browser_message_filter.h (working copy)
@@ -29,9 +29,7 @@
BrowserMessageFilter, BrowserMessageFilterTraits>,
public IPC::Sender {
public:
- explicit BrowserMessageFilter(uint32 message_class_to_filter);
- BrowserMessageFilter(const uint32* message_classes_to_filter,
- size_t num_message_classes_to_filter);
+ BrowserMessageFilter();
// These match the corresponding IPC::ChannelProxy::MessageFilter methods and
// are always called on the IO thread.
@@ -93,10 +91,6 @@
// Can be called on any thread.
virtual void BadMessageReceived();
- const std::vector<uint32>& message_classes_to_filter() const {
- return message_classes_to_filter_;
- }
-
protected:
virtual ~BrowserMessageFilter();
@@ -123,8 +117,6 @@
IPC::Channel* channel_;
base::ProcessId peer_pid_;
- std::vector<uint32> message_classes_to_filter_;
-
#if defined(OS_WIN)
base::Lock peer_handle_lock_;
base::ProcessHandle peer_handle_;
« no previous file with comments | « content/browser/worker_host/worker_message_filter.cc ('k') | content/public/browser/browser_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698