Index: net/base/network_interfaces_linux.h |
diff --git a/net/base/network_interfaces_linux.h b/net/base/network_interfaces_linux.h |
index 9dfea10fb3a1f09ecbe184a4076d06e05a17f197..45ad11e9846da6f72cbed87a5b1aa6109feb1b5e 100644 |
--- a/net/base/network_interfaces_linux.h |
+++ b/net/base/network_interfaces_linux.h |
@@ -11,6 +11,7 @@ |
#include <string> |
#include <unordered_set> |
+#include "base/files/scoped_file.h" |
#include "net/base/address_tracker_linux.h" |
#include "net/base/net_export.h" |
#include "net/base/network_interfaces.h" |
@@ -38,6 +39,9 @@ NET_EXPORT std::string GetWifiSSIDFromInterfaceListInternal( |
const NetworkInterfaceList& interfaces, |
internal::GetInterfaceSSIDFunction get_interface_ssid); |
+// Returns a socket useful for performing ioctl()s. |
+base::ScopedFD GetSocketForIoctl(); |
+ |
} // namespace internal |
} // namespace net |