dmichael@chromium.org | c0c370e | 2014-04-25 09:07:30 +0900 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "ipc/message_filter.h" |
| 6 | |
| 7 | #include "base/memory/ref_counted.h" |
| 8 | #include "ipc/ipc_channel.h" |
| 9 | |
| 10 | namespace IPC { |
| 11 | |
| 12 | MessageFilter::MessageFilter() {} |
| 13 | |
morrita@chromium.org | 631fb8e | 2014-06-13 15:07:14 +0900 | [diff] [blame] | 14 | void MessageFilter::OnFilterAdded(Sender* sender) {} |
dmichael@chromium.org | c0c370e | 2014-04-25 09:07:30 +0900 | [diff] [blame] | 15 | |
| 16 | void MessageFilter::OnFilterRemoved() {} |
| 17 | |
| 18 | void MessageFilter::OnChannelConnected(int32 peer_pid) {} |
| 19 | |
| 20 | void MessageFilter::OnChannelError() {} |
| 21 | |
| 22 | void MessageFilter::OnChannelClosing() {} |
| 23 | |
| 24 | bool MessageFilter::OnMessageReceived(const Message& message) { |
| 25 | return false; |
| 26 | } |
| 27 | |
| 28 | bool MessageFilter::GetSupportedMessageClasses( |
| 29 | std::vector<uint32>* /*supported_message_classes*/) const { |
| 30 | return false; |
| 31 | } |
| 32 | |
| 33 | MessageFilter::~MessageFilter() {} |
| 34 | |
| 35 | } // namespace IPC |