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

Unified Diff: components/wifi/wifi_service.h

Issue 102993002: Implement Networking Private API VerifyAndEncryptCredentials method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use utility process to get and encrypt wifi passphrase. Created 6 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
Index: components/wifi/wifi_service.h
diff --git a/components/wifi/wifi_service.h b/components/wifi/wifi_service.h
index b45ebfdeb1386feec4ac5d3a20824b74529a85ff..38651d4c4ea33846d3ab7f21ce598b5a324adddf 100644
--- a/components/wifi/wifi_service.h
+++ b/components/wifi/wifi_service.h
@@ -98,6 +98,12 @@ class WIFI_EXPORT WiFiService {
virtual void StartDisconnect(const std::string& network_guid,
std::string* error) = 0;
+ // Get WiFi Passphrase for network identified by |network_guid| from the
+ // system (if it has one) and store it in |passphrase|.
+ virtual void GetPassphraseFromSystem(const std::string& network_guid,
+ std::string* passphrase,
+ 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(

Powered by Google App Engine
This is Rietveld 408576698