Index: components/wifi/fake_wifi_service.h |
diff --git a/components/wifi/fake_wifi_service.h b/components/wifi/fake_wifi_service.h |
index a25f19153ce60fcf6d9edef15c5c9bd2887d7139..ab61bcbefcb63e10f2cafb350d4c859f7f273fcb 100644 |
--- a/components/wifi/fake_wifi_service.h |
+++ b/components/wifi/fake_wifi_service.h |
@@ -5,6 +5,8 @@ |
#ifndef COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ |
#define COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ |
+#include <string> |
+ |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
#include "components/wifi/network_properties.h" |
@@ -54,6 +56,8 @@ class FakeWiFiService : public WiFiService { |
const NetworkGuidListCallback& networks_changed_observer, |
const NetworkGuidListCallback& network_list_changed_observer) override; |
void RequestConnectedNetworkUpdate() override; |
+ void GetConnectedNetworkSSID(std::string* ssid, |
+ std::string* error) override; |
private: |
NetworkList::iterator FindNetwork(const std::string& network_guid); |