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

Unified Diff: components/wifi/wifi_service.h

Issue 105153002: Implement Networking Private API CreateNetwork function on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added TODO to determine proper WAP encryption (AES vs TKIP) during Connect. Created 7 years 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 | « components/wifi/DEPS ('k') | components/wifi/wifi_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/wifi/wifi_service.h
diff --git a/components/wifi/wifi_service.h b/components/wifi/wifi_service.h
index 9fc8411a4c6f93591861c83f13649d113af89e6a..6a288afbfbf54046c7eb03f756ee6dd13fed864b 100644
--- a/components/wifi/wifi_service.h
+++ b/components/wifi/wifi_service.h
@@ -130,6 +130,10 @@ class WIFI_EXPORT WiFiService {
std::string bssid;
std::string type;
std::string security;
+ // |password| field is used to pass wifi password for network creation via
+ // |CreateNetwork| or connection via |StartConnect|. It does not persist
+ // once operation is completed.
+ std::string password;
// WiFi Signal Strength. 0..100
uint32 signal_strength;
bool auto_connect;
@@ -139,6 +143,7 @@ class WIFI_EXPORT WiFiService {
std::string json_extra; // Extra JSON properties for unit tests
scoped_ptr<base::DictionaryValue> ToValue(bool network_list) const;
+ // Updates only properties set in |value|.
bool UpdateFromValue(const base::DictionaryValue& value);
static std::string MacAddressAsString(const uint8 mac_as_int[6]);
static bool OrderByType(const NetworkProperties& l,
« no previous file with comments | « components/wifi/DEPS ('k') | components/wifi/wifi_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698