| 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 <stdint.h> |
| 8 |
| 7 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 8 #include "ipc/ipc_channel.h" | 10 #include "ipc/ipc_channel.h" |
| 9 | 11 |
| 10 namespace IPC { | 12 namespace IPC { |
| 11 | 13 |
| 12 MessageFilter::MessageFilter() {} | 14 MessageFilter::MessageFilter() {} |
| 13 | 15 |
| 14 void MessageFilter::OnFilterAdded(Sender* sender) {} | 16 void MessageFilter::OnFilterAdded(Sender* sender) {} |
| 15 | 17 |
| 16 void MessageFilter::OnFilterRemoved() {} | 18 void MessageFilter::OnFilterRemoved() {} |
| 17 | 19 |
| 18 void MessageFilter::OnChannelConnected(int32_t peer_pid) {} | 20 void MessageFilter::OnChannelConnected(int32_t peer_pid) {} |
| 19 | 21 |
| 20 void MessageFilter::OnChannelError() {} | 22 void MessageFilter::OnChannelError() {} |
| 21 | 23 |
| 22 void MessageFilter::OnChannelClosing() {} | 24 void MessageFilter::OnChannelClosing() {} |
| 23 | 25 |
| 24 bool MessageFilter::OnMessageReceived(const Message& message) { | 26 bool MessageFilter::OnMessageReceived(const Message& message) { |
| 25 return false; | 27 return false; |
| 26 } | 28 } |
| 27 | 29 |
| 28 bool MessageFilter::GetSupportedMessageClasses( | 30 bool MessageFilter::GetSupportedMessageClasses( |
| 29 std::vector<uint32_t>* /*supported_message_classes*/) const { | 31 std::vector<uint32_t>* /*supported_message_classes*/) const { |
| 30 return false; | 32 return false; |
| 31 } | 33 } |
| 32 | 34 |
| 33 MessageFilter::~MessageFilter() {} | 35 MessageFilter::~MessageFilter() {} |
| 34 | 36 |
| 35 } // namespace IPC | 37 } // namespace IPC |
| OLD | NEW |