chromium/net/base/mock_network_change_notifier.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 "net/base/mock_network_change_notifier.h"

#include <utility>

#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "net/dns/dns_config_service.h"
#include "net/dns/system_dns_config_change_notifier.h"

namespace net::test {

// static
std::unique_ptr<MockNetworkChangeNotifier> MockNetworkChangeNotifier::Create() {}

MockNetworkChangeNotifier::~MockNetworkChangeNotifier() {}

MockNetworkChangeNotifier::ConnectionType
MockNetworkChangeNotifier::GetCurrentConnectionType() const {}

void MockNetworkChangeNotifier::ForceNetworkHandlesSupported() {}

bool MockNetworkChangeNotifier::AreNetworkHandlesCurrentlySupported() const {}

void MockNetworkChangeNotifier::SetConnectedNetworksList(
    const NetworkList& network_list) {}

void MockNetworkChangeNotifier::GetCurrentConnectedNetworks(
    NetworkList* network_list) const {}

void MockNetworkChangeNotifier::NotifyNetworkMadeDefault(
    handles::NetworkHandle network) {}

void MockNetworkChangeNotifier::QueueNetworkMadeDefault(
    handles::NetworkHandle network) {}

void MockNetworkChangeNotifier::NotifyNetworkDisconnected(
    handles::NetworkHandle network) {}

void MockNetworkChangeNotifier::QueueNetworkDisconnected(
    handles::NetworkHandle network) {}

void MockNetworkChangeNotifier::NotifyNetworkConnected(
    handles::NetworkHandle network) {}

bool MockNetworkChangeNotifier::IsDefaultNetworkActiveInternal() {}

void MockNetworkChangeNotifier::SetConnectionTypeAndNotifyObservers(
    ConnectionType connection_type) {}

MockNetworkChangeNotifier::ConnectionCost
MockNetworkChangeNotifier::GetCurrentConnectionCost() {}

#if BUILDFLAG(IS_LINUX)
AddressMapOwnerLinux* MockNetworkChangeNotifier::GetAddressMapOwnerInternal() {}
#endif  // BUILDFLAG(IS_LINUX)

MockNetworkChangeNotifier::MockNetworkChangeNotifier(
    std::unique_ptr<SystemDnsConfigChangeNotifier> dns_config_notifier)
    :{}

ScopedMockNetworkChangeNotifier::ScopedMockNetworkChangeNotifier()
    :{}

ScopedMockNetworkChangeNotifier::~ScopedMockNetworkChangeNotifier() = default;

MockNetworkChangeNotifier*
ScopedMockNetworkChangeNotifier::mock_network_change_notifier() {}

}  // namespace net::test