#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 {
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
MockNetworkChangeNotifier::MockNetworkChangeNotifier(
std::unique_ptr<SystemDnsConfigChangeNotifier> dns_config_notifier)
: … { … }
ScopedMockNetworkChangeNotifier::ScopedMockNetworkChangeNotifier()
: … { … }
ScopedMockNetworkChangeNotifier::~ScopedMockNetworkChangeNotifier() = default;
MockNetworkChangeNotifier*
ScopedMockNetworkChangeNotifier::mock_network_change_notifier() { … }
}