| // Copyright 2014 The Chromium Authors | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #include "ipc/message_filter.h" | |
| #include <stdint.h> | |
| #include "base/memory/ref_counted.h" | |
| #include "ipc/ipc_channel.h" | |
| namespace IPC { | |
| MessageFilter::MessageFilter() = default; | |
| void MessageFilter::OnFilterAdded(Channel* channel) {} | |
| void MessageFilter::OnFilterRemoved() {} | |
| void MessageFilter::OnChannelConnected(int32_t peer_pid) {} | |
| void MessageFilter::OnChannelError() {} | |
| void MessageFilter::OnChannelClosing() {} | |
| bool MessageFilter::OnMessageReceived(const Message& message) { | |
| return false; | |
| } | |
| bool MessageFilter::GetSupportedMessageClasses( | |
| std::vector<uint32_t>* /*supported_message_classes*/) const { | |
| return false; | |
| } | |
| MessageFilter::~MessageFilter() = default; | |
| } // namespace IPC |