diff options
author | meacer <meacer@chromium.org> | 2015-01-30 13:15:44 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-30 21:16:54 +0000 |
commit | 4770e8a571858a672cae59a4b818244df4520ac1 (patch) | |
tree | 5efecbd81af385a32cfe58428da392bfe75f74af /components/wifi/wifi_service.h | |
parent | 983206f104e5495e5a126356ce8a0d965d8c6f1f (diff) | |
download | chromium_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.h | 4 |
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() {} |