chromium/remoting/protocol/channel_socket_adapter.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/channel_socket_adapter.h"

#include <limits>

#include "base/functional/callback.h"
#include "base/logging.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"

namespace remoting::protocol {

TransportChannelSocketAdapter::TransportChannelSocketAdapter(
    cricket::IceTransportInternal* ice_transport)
    :{}

TransportChannelSocketAdapter::~TransportChannelSocketAdapter() {}

void TransportChannelSocketAdapter::SetOnDestroyedCallback(
    base::OnceClosure callback) {}

int TransportChannelSocketAdapter::Recv(
    const scoped_refptr<net::IOBuffer>& buf,
    int buffer_size,
    const net::CompletionRepeatingCallback& callback) {}

int TransportChannelSocketAdapter::Send(
    const scoped_refptr<net::IOBuffer>& buffer,
    int buffer_size,
    const net::CompletionRepeatingCallback& callback) {}

void TransportChannelSocketAdapter::Close(int error_code) {}

void TransportChannelSocketAdapter::OnNewPacket(
    rtc::PacketTransportInternal* transport,
    const rtc::ReceivedPacket& packet) {}

void TransportChannelSocketAdapter::OnWritableState(
    rtc::PacketTransportInternal* transport) {}

void TransportChannelSocketAdapter::OnChannelDestroyed(
    cricket::IceTransportInternal* channel) {}

}  // namespace remoting::protocol