summaryrefslogtreecommitdiffstats
path: root/components/wifi/wifi_service.h
diff options
context:
space:
mode:
authormeacer <meacer@chromium.org>2015-01-30 13:15:44 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-30 21:16:54 +0000
commit4770e8a571858a672cae59a4b818244df4520ac1 (patch)
tree5efecbd81af385a32cfe58428da392bfe75f74af /components/wifi/wifi_service.h
parent983206f104e5495e5a126356ce8a0d965d8c6f1f (diff)
downloadchromium_src-4770e8a571858a672cae59a4b818244df4520ac1.zip
chromium_src-4770e8a571858a672cae59a4b818244df4520ac1.tar.gz
chromium_src-4770e8a571858a672cae59a4b818244df4520ac1.tar.bz2
Add SSID getter to WiFiService.
The SSID is going to be displayed in the captive portal interstitial as such: "The network you are using (Google Guest)..." BUG=451272 Review URL: https://codereview.chromium.org/880143003 Cr-Commit-Position: refs/heads/master@{#313995}
Diffstat (limited to 'components/wifi/wifi_service.h')
-rw-r--r--components/wifi/wifi_service.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/wifi/wifi_service.h b/components/wifi/wifi_service.h
index 2fec66e..ebb7439 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() {}