chromium/remoting/protocol/fake_message_pipe.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/protocol/fake_message_pipe.h"

#include <algorithm>
#include <utility>

#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "remoting/base/compound_buffer.h"
#include "remoting/protocol/fake_message_pipe_wrapper.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/protobuf/src/google/protobuf/message_lite.h"

namespace remoting::protocol {

FakeMessagePipe::FakeMessagePipe(bool asynchronous)
    :{}

FakeMessagePipe::~FakeMessagePipe() = default;

std::unique_ptr<FakeMessagePipeWrapper> FakeMessagePipe::Wrap() {}

void FakeMessagePipe::Start(EventHandler* event_handler) {}

void FakeMessagePipe::Send(google::protobuf::MessageLite* message,
                           base::OnceClosure done) {}

void FakeMessagePipe::Receive(std::unique_ptr<CompoundBuffer> message) {}

void FakeMessagePipe::ReceiveProtobufMessage(
    const google::protobuf::MessageLite& message) {}

void FakeMessagePipe::OpenPipe() {}

void FakeMessagePipe::ClosePipe() {}

bool FakeMessagePipe::HasWrappers() const {}

void FakeMessagePipe::SendImpl(google::protobuf::MessageLite* message,
                               base::OnceClosure done) {}

void FakeMessagePipe::ReceiveImpl(std::unique_ptr<CompoundBuffer> message) {}

void FakeMessagePipe::OpenPipeImpl() {}

void FakeMessagePipe::ClosePipeImpl() {}

}  // namespace remoting::protocol