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

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

Issue 2913103002: Add Tether to Mobile NetworkTypePattern. (Closed)
Patch Set: fixed usage of Cellular vs Mobile in some files Created 3 years, 7 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 | chromeos/network/network_connect.cc » ('j') | chromeos/network/network_connect.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/network/network_icon.cc
diff --git a/ash/system/network/network_icon.cc b/ash/system/network/network_icon.cc
index 1174c006d687a4ae97b67238cf40d959791da5e5..047cd2212b99898e07a09736d21a272bbcd91419 100644
--- a/ash/system/network/network_icon.cc
+++ b/ash/system/network/network_icon.cc
@@ -883,12 +883,12 @@ int GetCellularUninitializedMsg() {
static int s_uninitialized_msg(0);
NetworkStateHandler* handler = NetworkHandler::Get()->network_state_handler();
- if (handler->GetTechnologyState(NetworkTypePattern::Mobile()) ==
+ if (handler->GetTechnologyState(NetworkTypePattern::Cellular()) ==
Kyle Horimoto 2017/06/01 22:12:23 Do we still want this behavior for WiMAX?
stevenjb 2017/06/01 22:29:47 Actually yes, this should still be Mobile(). This
lesliewatkins 2017/06/02 21:31:17 Done. Switched it back to Mobile, changed the nam
NetworkStateHandler::TECHNOLOGY_UNINITIALIZED) {
s_uninitialized_msg = IDS_ASH_STATUS_TRAY_INITIALIZING_CELLULAR;
s_uninitialized_state_time = base::Time::Now();
return s_uninitialized_msg;
- } else if (handler->GetScanningByType(NetworkTypePattern::Mobile())) {
+ } else if (handler->GetScanningByType(NetworkTypePattern::Cellular())) {
stevenjb 2017/06/01 22:29:47 This seems like we want to include Tether; if it s
lesliewatkins 2017/06/02 21:31:17 Done.
s_uninitialized_msg = IDS_ASH_STATUS_TRAY_MOBILE_SCANNING;
s_uninitialized_state_time = base::Time::Now();
return s_uninitialized_msg;
« no previous file with comments | « no previous file | chromeos/network/network_connect.cc » ('j') | chromeos/network/network_connect.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698