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.
5 #include "ipc/message_filter.h"
7 #include "base/memory/ref_counted.h"
8 #include "ipc/ipc_channel.h"
12 MessageFilter::MessageFilter() {}
14 void MessageFilter::OnFilterAdded(Sender
* sender
) {}
16 void MessageFilter::OnFilterRemoved() {}
18 void MessageFilter::OnChannelConnected(int32_t peer_pid
) {}
20 void MessageFilter::OnChannelError() {}
22 void MessageFilter::OnChannelClosing() {}
24 bool MessageFilter::OnMessageReceived(const Message
& message
) {
28 bool MessageFilter::GetSupportedMessageClasses(
29 std::vector
<uint32_t>* /*supported_message_classes*/) const {
33 MessageFilter::~MessageFilter() {}