chromium/third_party/blink/renderer/platform/p2p/empty_network_manager.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 "third_party/blink/renderer/platform/p2p/empty_network_manager.h"

#include "base/check_op.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "third_party/blink/renderer/platform/p2p/ipc_network_manager.h"

namespace blink {

EmptyNetworkManager::EmptyNetworkManager(IpcNetworkManager* network_manager)
    :{}

// DO NOT dereference/check `network_manager_for_signaling_thread_` in the ctor!
// Doing so would bind its WeakFactory to the constructing thread (main thread)
// instead of the thread `this` lives in (signaling thread).
EmptyNetworkManager::EmptyNetworkManager(
    rtc::NetworkManager* network_manager,
    base::WeakPtr<rtc::NetworkManager> network_manager_for_signaling_thread)
    :{}

EmptyNetworkManager::~EmptyNetworkManager() {}

void EmptyNetworkManager::StartUpdating() {}

void EmptyNetworkManager::StopUpdating() {}

std::vector<const rtc::Network*> EmptyNetworkManager::GetNetworks() const {}

bool EmptyNetworkManager::GetDefaultLocalAddress(
    int family,
    rtc::IPAddress* ipaddress) const {}

void EmptyNetworkManager::OnNetworksChanged() {}

}  // namespace blink