chromium/remoting/test/fake_ice_connection.cc

// Copyright 2019 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/test/fake_ice_connection.h"

#include "remoting/base/errors.h"
#include "remoting/base/logging.h"
#include "remoting/protocol/client_control_dispatcher.h"
#include "remoting/protocol/host_control_dispatcher.h"
#include "remoting/protocol/transport_context.h"

namespace remoting {
namespace test {

FakeIceConnection::FakeIceConnection(
    scoped_refptr<protocol::TransportContext> transport_context,
    base::OnceClosure on_closed) {}

FakeIceConnection::~FakeIceConnection() = default;

void FakeIceConnection::OnAuthenticated() {}

void FakeIceConnection::OnIceTransportRouteChange(
    const std::string& channel_name,
    const protocol::TransportRoute& route) {}

void FakeIceConnection::OnIceTransportError(protocol::ErrorCode error) {}

void FakeIceConnection::OnChannelInitialized(
    protocol::ChannelDispatcherBase* channel_dispatcher) {}

void FakeIceConnection::OnChannelClosed(
    protocol::ChannelDispatcherBase* channel_dispatcher) {}

}  // namespace test
}  // namespace remoting