chromium/third_party/blink/renderer/platform/p2p/socket_dispatcher.cc

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

#include "third_party/blink/renderer/platform/p2p/socket_dispatcher.h"

#include "base/memory/scoped_refptr.h"
#include "base/task/single_thread_task_runner.h"
#include "base/types/pass_key.h"
#include "services/network/public/cpp/p2p_param_traits.h"
#include "third_party/blink/public/platform/browser_interface_broker_proxy.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/heap/persistent.h"
#include "third_party/blink/renderer/platform/mojo/mojo_binding_context.h"
#include "third_party/blink/renderer/platform/p2p/network_list_observer.h"
#include "third_party/blink/renderer/platform/p2p/socket_client_impl.h"
#include "third_party/blink/renderer/platform/scheduler/public/post_cross_thread_task.h"
#include "third_party/blink/renderer/platform/supplementable.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h"

namespace blink {

PassKey;

const char P2PSocketDispatcher::kSupplementName[] =;

// static
P2PSocketDispatcher& P2PSocketDispatcher::From(MojoBindingContext& context) {}

P2PSocketDispatcher::P2PSocketDispatcher(MojoBindingContext& context, PassKey)
    :{}

P2PSocketDispatcher::~P2PSocketDispatcher() = default;

void P2PSocketDispatcher::AddNetworkListObserver(
    blink::NetworkListObserver* network_list_observer) {}

void P2PSocketDispatcher::RemoveNetworkListObserver(
    blink::NetworkListObserver* network_list_observer) {}

mojo::SharedRemote<network::mojom::blink::P2PSocketManager>
P2PSocketDispatcher::GetP2PSocketManager() {}

void P2PSocketDispatcher::NetworkListChanged(
    const Vector<net::NetworkInterface>& networks,
    const net::IPAddress& default_ipv4_local_address,
    const net::IPAddress& default_ipv6_local_address) {}

void P2PSocketDispatcher::RequestInterfaceIfNecessary() {}

void P2PSocketDispatcher::RequestNetworkEventsIfNecessary() {}

void P2PSocketDispatcher::OnConnectionError() {}

void P2PSocketDispatcher::ReconnectP2PSocketManager() {}

void P2PSocketDispatcher::Trace(Visitor* visitor) const {}

}  // namespace blink