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

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

Issue 2819383002: [CrOS Tether] Update NetworkState to include tether properties and integrate into NetworkStateHandl… (Closed)
Patch Set: stevenjb@ comment. 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 | chrome/browser/resources/settings/internet_page/network_summary.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/network/network_list.cc
diff --git a/ash/system/network/network_list.cc b/ash/system/network/network_list.cc
index cdb1001dda89086349b7613b55b97bd3e73491f1..c450c04e366f668eb7b4cd4a907af611d630e007 100644
--- a/ash/system/network/network_list.cc
+++ b/ash/system/network/network_list.cc
@@ -308,7 +308,8 @@ void NetworkListView::Update() {
// Add Tether networks.
NetworkStateHandler::NetworkStateList tether_network_list;
- handler->GetTetherNetworkList(0 /* no limit */, &tether_network_list);
+ handler->GetVisibleNetworkListByType(NetworkTypePattern::Tether(),
+ &tether_network_list);
for (const auto* tether_network : tether_network_list) {
network_list_.push_back(
base::MakeUnique<NetworkInfo>(tether_network->guid()));
« no previous file with comments | « no previous file | chrome/browser/resources/settings/internet_page/network_summary.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698