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

Unified Diff: ui/chromeos/network/network_icon.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: Created 6 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
Index: ui/chromeos/network/network_icon.cc
diff --git a/ui/chromeos/network/network_icon.cc b/ui/chromeos/network/network_icon.cc
index c5cddd6f5fc20e768b116aec14bad7048e1174c0..c47a7724fe9dc8a78f4ba6748471b5e9fe493859 100644
--- a/ui/chromeos/network/network_icon.cc
+++ b/ui/chromeos/network/network_icon.cc
@@ -674,7 +674,7 @@ void NetworkIconImpl::GetBadges(const NetworkState* network, Badges* badges) {
const std::string& type = network->type();
if (type == shill::kTypeWifi) {
- if (network->security() != shill::kSecurityNone &&
+ if (network->security_class() != shill::kSecurityNone &&
IconTypeIsDark(icon_type_)) {
badges->bottom_right = rb.GetImageSkiaNamed(
IDR_AURA_UBER_TRAY_NETWORK_SECURE_DARK);
« chromeos/network/onc/onc_translator_onc_to_shill.cc ('K') | « ui/chromeos/network/network_connect.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698