OLD | NEW |
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::OnSenderConnected() {} |
19 | 19 |
20 void MessageFilter::OnChannelError() {} | 20 void MessageFilter::OnSenderError() {} |
21 | 21 |
22 void MessageFilter::OnChannelClosing() {} | 22 void MessageFilter::OnSenderClosing() {} |
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 |
OLD | NEW |