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

Unified Diff: components/wifi/wifi_service.h

Issue 880143003: Add SSID getter to WiFiService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use ssid instead of guid 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
Index: components/wifi/wifi_service.h
diff --git a/components/wifi/wifi_service.h b/components/wifi/wifi_service.h
index 2fec66e82b60b8b85b0df38c226e2655fc87707b..ebb743914bd6e93a23f00c1059507060de46f832 100644
--- a/components/wifi/wifi_service.h
+++ b/components/wifi/wifi_service.h
@@ -118,6 +118,10 @@ class WIFI_EXPORT WiFiService {
// event on completion.
virtual void RequestConnectedNetworkUpdate() = 0;
+ // Get the SSID of the currently connected network, if any.
+ virtual void GetConnectedNetworkSSID(std::string* ssid,
+ std::string* error) = 0;
+
protected:
WiFiService() {}

Powered by Google App Engine
This is Rietveld 408576698