| Index: net/base/network_interfaces_linux.cc
|
| diff --git a/net/base/network_interfaces_linux.cc b/net/base/network_interfaces_linux.cc
|
| index 293e32e45709219275bf14c834d37af1f8539a6a..609aa192bbdbeb249c0cfdb6afff1842549ab97d 100644
|
| --- a/net/base/network_interfaces_linux.cc
|
| +++ b/net/base/network_interfaces_linux.cc
|
| @@ -30,6 +30,10 @@
|
| #include "net/base/network_interfaces_posix.h"
|
| #include "url/gurl.h"
|
|
|
| +#if defined(OS_ANDROID)
|
| +#include "net/base/network_change_notifier.h"
|
| +#endif
|
| +
|
| namespace net {
|
|
|
| namespace {
|
| @@ -212,6 +216,11 @@ bool GetNetworkList(NetworkInterfaceList* networks, int policy) {
|
| }
|
|
|
| std::string GetWifiSSID() {
|
| +// Android does not support obtaining SSID information from the network
|
| +// interfaces.
|
| +#if defined(OS_ANDROID)
|
| + return NetworkChangeNotifier::GetWiFiSSID();
|
| +#endif
|
| NetworkInterfaceList networks;
|
| if (GetNetworkList(&networks, INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES)) {
|
| return internal::GetWifiSSIDFromInterfaceListInternal(
|
|
|