Index: net/base/net_util.h |
diff --git a/net/base/net_util.h b/net/base/net_util.h |
index 9e9dbad4613914bf257bd274edb692c79e947ee3..c7d1715db98e037f36b371c4cb9b49af1be90971 100644 |
--- a/net/base/net_util.h |
+++ b/net/base/net_util.h |
@@ -496,6 +496,11 @@ enum HostAddressSelectionPolicy { |
NET_EXPORT bool GetNetworkList(NetworkInterfaceList* networks, |
int policy); |
+// Gets the SSID of the currently associated WiFi access point if there is one. |
+// Otherwise, returns empty string. |
+// Currently only implemented on Linux, ChromeOS and Android. |
+NET_EXPORT std::string GetWifiSSID(); |
+ |
// General category of the IEEE 802.11 (wifi) physical layer operating mode. |
enum WifiPHYLayerProtocol { |
// No wifi support or no associated AP. |