#include "remoting/protocol/fake_message_pipe_wrapper.h"
#include <utility>
#include "base/check.h"
#include "base/functional/callback.h"
#include "base/memory/weak_ptr.h"
#include "remoting/base/compound_buffer.h"
#include "remoting/protocol/fake_message_pipe.h"
namespace remoting::protocol {
FakeMessagePipeWrapper::FakeMessagePipeWrapper(FakeMessagePipe* pipe)
: … { … }
FakeMessagePipeWrapper::~FakeMessagePipeWrapper() = default;
void FakeMessagePipeWrapper::Start(EventHandler* event_handler) { … }
void FakeMessagePipeWrapper::Send(google::protobuf::MessageLite* message,
base::OnceClosure done) { … }
void FakeMessagePipeWrapper::Receive(std::unique_ptr<CompoundBuffer> message) { … }
void FakeMessagePipeWrapper::OpenPipe() { … }
void FakeMessagePipeWrapper::ClosePipe() { … }
base::WeakPtr<FakeMessagePipeWrapper> FakeMessagePipeWrapper::GetWeakPtr() { … }
}