chromium/remoting/test/fake_network_dispatcher.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "remoting/test/fake_network_dispatcher.h"

#include <stddef.h>

#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/task/single_thread_task_runner.h"
#include "net/base/io_buffer.h"

namespace remoting {

FakeNetworkDispatcher::FakeNetworkDispatcher() :{}

FakeNetworkDispatcher::~FakeNetworkDispatcher() {}

rtc::IPAddress FakeNetworkDispatcher::AllocateAddress() {}

void FakeNetworkDispatcher::AddNode(Node* node) {}

void FakeNetworkDispatcher::RemoveNode(Node* node) {}

void FakeNetworkDispatcher::DeliverPacket(
    const rtc::SocketAddress& from,
    const rtc::SocketAddress& to,
    const scoped_refptr<net::IOBuffer>& data,
    int data_size) {}

}  // namespace remoting