#include "remoting/protocol/named_message_pipe_handler.h"
#include <utility>
#include "base/check.h"
#include "base/location.h"
#include "remoting/base/compound_buffer.h"
namespace remoting::protocol {
NamedMessagePipeHandler::NamedMessagePipeHandler(
const std::string& name,
std::unique_ptr<MessagePipe> pipe)
: … { … }
NamedMessagePipeHandler::~NamedMessagePipeHandler() = default;
void NamedMessagePipeHandler::Close() { … }
void NamedMessagePipeHandler::Send(const google::protobuf::MessageLite& message,
base::OnceClosure done) { … }
void NamedMessagePipeHandler::OnIncomingMessage(
std::unique_ptr<CompoundBuffer> message) { … }
void NamedMessagePipeHandler::OnConnected() { … }
void NamedMessagePipeHandler::OnDisconnecting() { … }
void NamedMessagePipeHandler::OnMessagePipeOpen() { … }
void NamedMessagePipeHandler::OnMessageReceived(
std::unique_ptr<CompoundBuffer> message) { … }
void NamedMessagePipeHandler::OnMessagePipeClosed() { … }
}