32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
$NetBSD$
|
|
|
|
--- net/base/network_change_notifier.h.orig 2020-07-15 18:56:47.000000000 +0000
|
|
+++ net/base/network_change_notifier.h
|
|
@@ -23,7 +23,7 @@ struct NetworkInterface;
|
|
class SystemDnsConfigChangeNotifier;
|
|
typedef std::vector<NetworkInterface> NetworkInterfaceList;
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
namespace internal {
|
|
class AddressTrackerLinux;
|
|
}
|
|
@@ -366,7 +366,7 @@ class NET_EXPORT NetworkChangeNotifier {
|
|
// Chrome net code.
|
|
static SystemDnsConfigChangeNotifier* GetSystemDnsConfigNotifier();
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
// Returns the AddressTrackerLinux if present.
|
|
static const internal::AddressTrackerLinux* GetAddressTracker();
|
|
#endif
|
|
@@ -513,7 +513,7 @@ class NET_EXPORT NetworkChangeNotifier {
|
|
NetworkChangeCalculatorParams(),
|
|
SystemDnsConfigChangeNotifier* system_dns_config_notifier = nullptr);
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
// Returns the AddressTrackerLinux if present.
|
|
// TODO(szym): Retrieve AddressMap from NetworkState. http://crbug.com/144212
|
|
virtual const internal::AddressTrackerLinux*
|