Index: chromeos/network/network_state.cc |
diff --git a/chromeos/network/network_state.cc b/chromeos/network/network_state.cc |
index beb19c5d2655c43f84977bc30485b2c1586abd7c..c3ad31521270a4bcc16c38bf2febbc7c16c4d607 100644 |
--- a/chromeos/network/network_state.cc |
+++ b/chromeos/network/network_state.cc |
@@ -106,8 +106,8 @@ bool NetworkState::PropertyChanged(const std::string& key, |
return false; |
return olp->GetStringWithoutPathExpansion(shill::kPaymentPortalURL, |
&payment_url_); |
- } else if (key == shill::kSecurityProperty) { |
- return GetStringValue(key, value, &security_); |
+ } else if (key == shill::kSecurityClassProperty) { |
+ return GetStringValue(key, value, &security_class_); |
} else if (key == shill::kEapMethodProperty) { |
return GetStringValue(key, value, &eap_method_); |
} else if (key == shill::kNetworkTechnologyProperty) { |
@@ -188,8 +188,8 @@ void NetworkState::GetStateProperties(base::DictionaryValue* dictionary) const { |
// Properties shared by all types. |
dictionary->SetStringWithoutPathExpansion(shill::kGuidProperty, guid()); |
- dictionary->SetStringWithoutPathExpansion(shill::kSecurityProperty, |
- security()); |
+ dictionary->SetStringWithoutPathExpansion(shill::kSecurityClassProperty, |
+ security_class()); |
if (visible()) { |
if (!error().empty()) |
@@ -320,7 +320,7 @@ std::string NetworkState::GetSpecifier() const { |
return std::string(); |
} |
if (type() == shill::kTypeWifi) |
- return name() + "_" + security_; |
+ return name() + "_" + security_class_; |
if (!name().empty()) |
return name(); |
return type(); // For unnamed networks such as ethernet. |