Roll src/third_party/WebKit 9d2dfea:3aea697 (svn 201972:201973)
[chromium-blink-merge.git] / ipc / message_filter.cc
blobb9436e234ac9333b29840fe7ae84d1b49a6da10a
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"
10 namespace IPC {
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) {
25 return false;
28 bool MessageFilter::GetSupportedMessageClasses(
29 std::vector<uint32_t>* /*supported_message_classes*/) const {
30 return false;
33 MessageFilter::~MessageFilter() {}
35 } // namespace IPC