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

Side by Side Diff: ipc/message_filter.cc

Issue 324143002: Decouple IPC::MessageFilter from IPC::Channel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Landing Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ipc/message_filter.h ('k') | ppapi/proxy/plugin_message_filter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ipc/message_filter.h" 5 #include "ipc/message_filter.h"
6 6
7 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "ipc/ipc_channel.h" 8 #include "ipc/ipc_channel.h"
9 9
10 namespace IPC { 10 namespace IPC {
11 11
12 MessageFilter::MessageFilter() {} 12 MessageFilter::MessageFilter() {}
13 13
14 void MessageFilter::OnFilterAdded(Channel* channel) {} 14 void MessageFilter::OnFilterAdded(Sender* sender) {}
15 15
16 void MessageFilter::OnFilterRemoved() {} 16 void MessageFilter::OnFilterRemoved() {}
17 17
18 void MessageFilter::OnChannelConnected(int32 peer_pid) {} 18 void MessageFilter::OnChannelConnected(int32 peer_pid) {}
19 19
20 void MessageFilter::OnChannelError() {} 20 void MessageFilter::OnChannelError() {}
21 21
22 void MessageFilter::OnChannelClosing() {} 22 void MessageFilter::OnChannelClosing() {}
23 23
24 bool MessageFilter::OnMessageReceived(const Message& message) { 24 bool MessageFilter::OnMessageReceived(const Message& message) {
25 return false; 25 return false;
26 } 26 }
27 27
28 bool MessageFilter::GetSupportedMessageClasses( 28 bool MessageFilter::GetSupportedMessageClasses(
29 std::vector<uint32>* /*supported_message_classes*/) const { 29 std::vector<uint32>* /*supported_message_classes*/) const {
30 return false; 30 return false;
31 } 31 }
32 32
33 MessageFilter::~MessageFilter() {} 33 MessageFilter::~MessageFilter() {}
34 34
35 } // namespace IPC 35 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/message_filter.h ('k') | ppapi/proxy/plugin_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698