Index: components/wifi_sync/network_state_helper_chromeos.cc |
diff --git a/components/wifi_sync/network_state_helper_chromeos.cc b/components/wifi_sync/network_state_helper_chromeos.cc |
index 54b853527ca2cbe55616ec307c9d75bae14f6c90..5cf6f183e4c2f787202e2a13c64478cb8cc194ba 100644 |
--- a/components/wifi_sync/network_state_helper_chromeos.cc |
+++ b/components/wifi_sync/network_state_helper_chromeos.cc |
@@ -30,16 +30,14 @@ WifiCredential::CredentialSet GetWifiCredentialsForShillProfile( |
if (network->profile_path() != shill_profile_path) |
continue; |
- // TODO(quiche): Switch away from network->security(), once we have |
- // a security_class() field in NetworkState. |
- // |
// TODO(quiche): Fill in the actual passphrase via an asynchronous |
// call to a chromeos::NetworkConfigurationHandler instance's |
// GetProperties method. |
credentials.insert( |
- WifiCredential(network->raw_ssid(), |
- WifiSecurityClassFromShillSecurity(network->security()), |
- "" /* empty passphrase */)); |
+ WifiCredential( |
+ network->raw_ssid(), |
+ WifiSecurityClassFromShillSecurity(network->security_class()), |
+ "" /* empty passphrase */)); |
} |
return credentials; |
} |