DescriptionAdd a function to get Wifi SSID to net_util.
This CL adds |GetWifiSSID| to net_util to get the SSID of the associated
WiFi access point's, if there is one. The function is currently only
implemented for Linux (including ChromeOS and Android). On Linux, it retrieves
WiFi SSIDs for each interface and if all interfaces have the same SSID, returns it as
the current SSID. This is similar to what https://codereview.chromium.org/739983005/ does.
BUG=451272
Committed: https://crrev.com/bc462ea514cba4bec764f5ae6a6593d6c8e57868
Cr-Commit-Position: refs/heads/master@{#316623}
Patch Set 1 #Patch Set 2 : Fix unused function warning #
Total comments: 1
Patch Set 3 : Remove NetworkInterfaceList argument. #
Total comments: 12
Patch Set 4 : pauljensen comments #Patch Set 5 : Fix Android and ChromeOS test build #Patch Set 6 : Use || instead of or #
Total comments: 7
Patch Set 7 : pauljensen comments #
Messages
Total messages: 17 (2 generated)
|