#include "net/base/network_change_notifier_linux.h"
#include <string>
#include "base/compiler_specific.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/task_traits.h"
#include "base/task/thread_pool.h"
#include "base/threading/thread.h"
#include "net/base/address_tracker_linux.h"
#include "net/dns/dns_config_service_posix.h"
namespace net {
class NetworkChangeNotifierLinux::BlockingThreadObjects { … };
NetworkChangeNotifierLinux::BlockingThreadObjects::BlockingThreadObjects(
const std::unordered_set<std::string>& ignored_interfaces,
scoped_refptr<base::SequencedTaskRunner> blocking_thread_runner)
: … { … }
void NetworkChangeNotifierLinux::BlockingThreadObjects::Init() { … }
void NetworkChangeNotifierLinux::BlockingThreadObjects::InitForTesting(
base::ScopedFD netlink_fd) { … }
void NetworkChangeNotifierLinux::BlockingThreadObjects::OnIPAddressChanged() { … }
void NetworkChangeNotifierLinux::BlockingThreadObjects::OnLinkChanged() { … }
std::unique_ptr<NetworkChangeNotifierLinux>
NetworkChangeNotifierLinux::CreateWithSocketForTesting(
const std::unordered_set<std::string>& ignored_interfaces,
base::ScopedFD netlink_fd) { … }
NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(
const std::unordered_set<std::string>& ignored_interfaces)
: … { … }
NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(
const std::unordered_set<std::string>& ignored_interfaces,
bool initialize_blocking_thread_objects,
base::PassKey<NetworkChangeNotifierLinux>)
: … { … }
NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() { … }
NetworkChangeNotifier::NetworkChangeCalculatorParams
NetworkChangeNotifierLinux::NetworkChangeCalculatorParamsLinux() { … }
void NetworkChangeNotifierLinux::InitBlockingThreadObjectsForTesting(
base::ScopedFD netlink_fd) { … }
NetworkChangeNotifier::ConnectionType
NetworkChangeNotifierLinux::GetCurrentConnectionType() const { … }
AddressMapOwnerLinux* NetworkChangeNotifierLinux::GetAddressMapOwnerInternal() { … }
}