Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(705)

Side by Side Diff: ipc/ipc_message_filter.cc

Issue 245443005: Move IPC::MessageFilter and router to a separate file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pre-review cleanups Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 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/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
14 void MessageFilter::OnFilterAdded(Channel* channel) {}
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698