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

Unified Diff: ash/system/network/network_state_list_detailed_view.cc

Issue 2820693005: Remove "Searching for Wi-Fi networks..." message. (Closed)
Patch Set: restore string resource for the sake of login code Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/network/network_state_list_detailed_view.cc
diff --git a/ash/system/network/network_state_list_detailed_view.cc b/ash/system/network/network_state_list_detailed_view.cc
index 9bb2996a76d0edef330e9745a9714a3be2509109..9f591ac295a2cba9e2077b7e08e6dcd60699db15 100644
--- a/ash/system/network/network_state_list_detailed_view.cc
+++ b/ash/system/network/network_state_list_detailed_view.cc
@@ -370,13 +370,10 @@ void NetworkStateListDetailedView::UpdateHeaderButtons() {
nullptr);
}
if (list_type_ != LIST_TYPE_VPN) {
- bool scanning =
+ const bool scanning =
NetworkHandler::Get()->network_state_handler()->GetScanningByType(
NetworkTypePattern::WiFi());
ShowProgress(-1, scanning);
- info_button_->SetTooltipText(l10n_util::GetStringUTF16(
- scanning ? IDS_ASH_STATUS_TRAY_WIFI_SCANNING_MESSAGE
- : IDS_ASH_STATUS_TRAY_NETWORK_INFO));
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698