Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2096)

Unified Diff: net/base/network_interfaces_linux.cc

Issue 1633733005: Native SSID extraction moved to platform code on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added permission for net_unittests Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/network_interfaces_android.cc ('k') | net/net.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_interfaces_linux.cc
diff --git a/net/base/network_interfaces_linux.cc b/net/base/network_interfaces_linux.cc
index 8aea321fd13c862f6968983a47aa3c92fa74de39..03030c957ed89403b74b6c5053e27fd9c5ca5f44 100644
--- a/net/base/network_interfaces_linux.cc
+++ b/net/base/network_interfaces_linux.cc
@@ -215,6 +215,7 @@ bool GetNetworkList(NetworkInterfaceList* networks, int policy) {
&internal::AddressTrackerLinux::GetInterfaceName);
}
+#if !defined(OS_ANDROID)
std::string GetWifiSSID() {
NetworkInterfaceList networks;
if (GetNetworkList(&networks, INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES)) {
@@ -223,5 +224,6 @@ std::string GetWifiSSID() {
}
return "";
}
+#endif // !defined(OS_ANDROID)
} // namespace net
« no previous file with comments | « net/base/network_interfaces_android.cc ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698