#include "ipc/message_router.h"
#include "base/logging.h"
#include "ipc/ipc_message.h"
namespace IPC {
MessageRouter::MessageRouter() = default;
MessageRouter::~MessageRouter() = default;
bool MessageRouter::OnControlMessageReceived(const IPC::Message& msg) { … }
bool MessageRouter::Send(IPC::Message* msg) { … }
bool MessageRouter::AddRoute(int32_t routing_id, IPC::Listener* listener) { … }
void MessageRouter::RemoveRoute(int32_t routing_id) { … }
Listener* MessageRouter::GetRoute(int32_t routing_id) { … }
bool MessageRouter::OnMessageReceived(const IPC::Message& msg) { … }
bool MessageRouter::RouteMessage(const IPC::Message& msg) { … }
}