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

Unified Diff: components/wifi_sync/network_state_helper_chromeos.cc

Issue 788633003: chromeos networking: move from security to securityclass property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@local-master
Patch Set: rebase, resolve conflicts, update new test data (shill_wifi_dhcp.json) Created 5 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_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;
}
« no previous file with comments | « chromeos/test/data/network/translation_of_shill_wifi_wpa1.onc ('k') | ui/chromeos/network/network_connect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698