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

Unified Diff: net/base/network_change_notifier_linux.cc

Issue 899573002: Add WiFi SSID getter to NetworkChangeNotifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 5 years, 11 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_change_notifier_linux.h ('k') | net/base/network_change_notifier_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_change_notifier_linux.cc
diff --git a/net/base/network_change_notifier_linux.cc b/net/base/network_change_notifier_linux.cc
index 82daf7fffa0792ffdf82326a3a9233d752f299fc..ed14783b62e06ab089b3bde811eb61e7644becb5 100644
--- a/net/base/network_change_notifier_linux.cc
+++ b/net/base/network_change_notifier_linux.cc
@@ -23,6 +23,10 @@ class NetworkChangeNotifierLinux::Thread : public base::Thread {
return address_tracker_.GetCurrentConnectionType();
}
+ std::string GetCurrentWiFiSSID() {
+ return address_tracker_.GetCurrentWiFiSSID();
+ }
+
const internal::AddressTrackerLinux* address_tracker() const {
return &address_tracker_;
}
@@ -122,6 +126,10 @@ NetworkChangeNotifierLinux::GetCurrentConnectionType() const {
return notifier_thread_->GetCurrentConnectionType();
}
+std::string NetworkChangeNotifierLinux::GetCurrentWiFiSSID() const {
+ return notifier_thread_->GetCurrentWiFiSSID();
+}
+
const internal::AddressTrackerLinux*
NetworkChangeNotifierLinux::GetAddressTrackerInternal() const {
return notifier_thread_->address_tracker();
« no previous file with comments | « net/base/network_change_notifier_linux.h ('k') | net/base/network_change_notifier_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698