diff options
author | mef@chromium.org <mef@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-13 21:37:32 +0000 |
---|---|---|
committer | mef@chromium.org <mef@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-13 21:37:32 +0000 |
commit | c55275523a10864086ef2d3ae639c40f70637e7c (patch) | |
tree | 3244836057296ad970c44e5d2b53ac1b2b3fd925 /components/wifi/wifi_service.h | |
parent | 29e871c3fd942e586096f192c5b2a814d63df5ae (diff) | |
download | chromium_src-c55275523a10864086ef2d3ae639c40f70637e7c.zip chromium_src-c55275523a10864086ef2d3ae639c40f70637e7c.tar.gz chromium_src-c55275523a10864086ef2d3ae639c40f70637e7c.tar.bz2 |
Add method GetKeyFromSystem to WiFiService on Windows and Mac.
BUG=328960
Review URL: https://codereview.chromium.org/156943002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251131 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/wifi/wifi_service.h')
-rw-r--r-- | components/wifi/wifi_service.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/components/wifi/wifi_service.h b/components/wifi/wifi_service.h index f7e7999..ce685f0 100644 --- a/components/wifi/wifi_service.h +++ b/components/wifi/wifi_service.h @@ -100,6 +100,14 @@ class WIFI_EXPORT WiFiService { virtual void StartDisconnect(const std::string& network_guid, std::string* error) = 0; + // Get WiFi Key for network identified by |network_guid| from the + // system (if it has one) and store it in |key_data|. User privilege elevation + // may be required, and function will fail if user privileges are not + // sufficient. Populates |error| on failure. + virtual void GetKeyFromSystem(const std::string& network_guid, + std::string* key_data, + std::string* error) = 0; + // Set observers to run when |NetworksChanged| and |NetworksListChanged| // events needs to be sent. Notifications are posted on |message_loop_proxy|. virtual void SetEventObservers( |