chromium/remoting/protocol/fake_connection_to_host.cc

// Copyright 2015 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_connection_to_host.h"

#include "base/task/single_thread_task_runner.h"
#include "remoting/protocol/authenticator.h"
#include "remoting/protocol/transport_context.h"

namespace remoting::test {

FakeConnectionToHost::FakeConnectionToHost()
    :{}
FakeConnectionToHost::~FakeConnectionToHost() = default;

void FakeConnectionToHost::set_client_stub(protocol::ClientStub* client_stub) {}

void FakeConnectionToHost::set_clipboard_stub(
    protocol::ClipboardStub* clipboard_stub) {}

void FakeConnectionToHost::set_video_renderer(
    protocol::VideoRenderer* video_renderer) {}

void FakeConnectionToHost::InitializeAudio(
    scoped_refptr<base::SingleThreadTaskRunner> audio_decode_task_runner,
    base::WeakPtr<protocol::AudioStub> audio_stub) {}

void FakeConnectionToHost::Connect(
    std::unique_ptr<protocol::Session> session,
    scoped_refptr<protocol::TransportContext> transport_context,
    HostEventCallback* event_callback) {}

void FakeConnectionToHost::Disconnect(protocol::ErrorCode error) {}

void FakeConnectionToHost::SignalStateChange(protocol::Session::State state,
                                             protocol::ErrorCode error) {}

void FakeConnectionToHost::SignalConnectionReady(bool ready) {}

const protocol::SessionConfig& FakeConnectionToHost::config() {}

protocol::ClipboardStub* FakeConnectionToHost::clipboard_forwarder() {}

protocol::HostStub* FakeConnectionToHost::host_stub() {}

protocol::InputStub* FakeConnectionToHost::input_stub() {}

protocol::ConnectionToHost::State FakeConnectionToHost::state() const {}

void FakeConnectionToHost::SetState(State state, protocol::ErrorCode error) {}

}  // namespace remoting::test