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

Unified Diff: chromeos/network/network_state_handler.cc

Issue 2883283004: Merged Tether and cellular network types in System Tray. (Closed)
Patch Set: hansberry@ comments 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
Index: chromeos/network/network_state_handler.cc
diff --git a/chromeos/network/network_state_handler.cc b/chromeos/network/network_state_handler.cc
index bed774e33bbf93ca6b0d4aa92e3115a25a93619e..a00ed60dcfbafaf3970b8b4cdf9467bd1514071c 100644
--- a/chromeos/network/network_state_handler.cc
+++ b/chromeos/network/network_state_handler.cc
@@ -423,7 +423,8 @@ void NetworkStateHandler::GetNetworkListByType(const NetworkTypePattern& type,
if (!network_list_sorted_)
SortNetworkList();
- if (type.MatchesPattern(NetworkTypePattern::Tether())) {
+ if (type.MatchesPattern(NetworkTypePattern::Tether()) &&
+ IsTechnologyEnabled(NetworkTypePattern::Tether())) {
khorimoto 2017/05/30 22:35:16 I don't think this CL is the right place for this
stevenjb 2017/05/30 23:23:14 I think changing the behavior in this CL is OK, bu
lesliewatkins 2017/05/31 00:43:27 If this change isn't implemented, then the Tether
lesliewatkins 2017/05/31 00:43:59 Done.
GetTetherNetworkList(limit, list);
}

Powered by Google App Engine
This is Rietveld 408576698