Lots of random cleanups, mostly for native_theme_win.cc:
[chromium-blink-merge.git] / ipc / message_filter.cc
blobffde0f0d0f34fcd1157104acfeef88a7a1f5e9ea
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 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>* /*supported_message_classes*/) const {
30 return false;
33 MessageFilter::~MessageFilter() {}
35 } // namespace IPC