#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "ipc/message_filter_router.h"
#include <stddef.h>
#include <stdint.h>
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_message_start.h"
#include "ipc/ipc_message_utils.h"
#include "ipc/message_filter.h"
namespace IPC {
namespace {
bool TryFiltersImpl(MessageFilterRouter::MessageFilters& filters,
const IPC::Message& message) { … }
bool RemoveFilterImpl(MessageFilterRouter::MessageFilters& filters,
MessageFilter* filter) { … }
bool ValidMessageClass(int message_class) { … }
}
MessageFilterRouter::MessageFilterRouter() = default;
MessageFilterRouter::~MessageFilterRouter() = default;
void MessageFilterRouter::AddFilter(MessageFilter* filter) { … }
void MessageFilterRouter::RemoveFilter(MessageFilter* filter) { … }
bool MessageFilterRouter::TryFilters(const Message& message) { … }
void MessageFilterRouter::Clear() { … }
}