#include "mojo/public/cpp/bindings/message_dispatcher.h"
#include <algorithm>
#include "base/check.h"
namespace mojo {
MessageDispatcher::MessageDispatcher(MessageReceiver* sink) : … { … }
MessageDispatcher::MessageDispatcher(MessageDispatcher&& other) { … }
MessageDispatcher& MessageDispatcher::operator=(MessageDispatcher&& other) { … }
MessageDispatcher::~MessageDispatcher() { … }
void MessageDispatcher::SetSink(MessageReceiver* sink) { … }
bool MessageDispatcher::Accept(Message* message) { … }
void MessageDispatcher::SetValidator(
std::unique_ptr<MessageReceiver> validator) { … }
void MessageDispatcher::SetFilter(std::unique_ptr<MessageFilter> filter) { … }
}