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

Unified Diff: chrome/browser/resources/chromeos/network_configuration/js/network_status.js

Issue 280023003: Implement networkingPrivate.getNetworks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nonchromeos Created 6 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: chrome/browser/resources/chromeos/network_configuration/js/network_status.js
diff --git a/chrome/browser/resources/chromeos/network_configuration/js/network_status.js b/chrome/browser/resources/chromeos/network_configuration/js/network_status.js
index a6bec2f7404da37b882b2f1662c46459b396e4ae..8fa37d91b1c8dc37718c09a74df019e0c715fdc2 100644
--- a/chrome/browser/resources/chromeos/network_configuration/js/network_status.js
+++ b/chrome/browser/resources/chromeos/network_configuration/js/network_status.js
@@ -685,8 +685,8 @@ cr.define('network.status', function() {
this.onNetworkListChanged_.bind(this));
chrome.networkingPrivate.onNetworksChanged.addListener(
this.onNetworksChanged_.bind(this));
- chrome.networkingPrivate.getVisibleNetworks(
- 'All',
+ chrome.networkingPrivate.getNetworks(
+ { 'networkType': 'All', 'visible': true },
this.setVisibleNetworks.bind(this));
}
};

Powered by Google App Engine
This is Rietveld 408576698