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

Unified Diff: components/wifi/fake_wifi_service.h

Issue 880143003: Add SSID getter to WiFiService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mef comments 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 | « no previous file | components/wifi/fake_wifi_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | components/wifi/fake_wifi_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698