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

Unified Diff: chromeos/network/network_cert_migrator.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: chromeos/network/network_cert_migrator.cc
diff --git a/chromeos/network/network_cert_migrator.cc b/chromeos/network/network_cert_migrator.cc
index 37dc0f8ec11e49f446ac64f58e3e4deb9741721e..9bc90db544ceda1ffccf0d0a14fb67e24962a0c3 100644
--- a/chromeos/network/network_cert_migrator.cc
+++ b/chromeos/network/network_cert_migrator.cc
@@ -45,7 +45,7 @@ class NetworkCertMigrator::MigrationTask
// Request properties for each network that could be configured with a
// client certificate.
for (const NetworkState* network : networks) {
- if (network->security() != shill::kSecurity8021x &&
+ if (network->security_class() != shill::kSecurity8021x &&
network->type() != shill::kTypeVPN &&
network->type() != shill::kTypeEthernetEap) {
continue;
« no previous file with comments | « chromeos/network/managed_network_configuration_handler_unittest.cc ('k') | chromeos/network/network_cert_migrator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698