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() {} |