forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmessage_filter.cc
37 lines (23 loc) · 848 Bytes
/
message_filter.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// 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