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

Unified Diff: chrome/browser/resources/chromeos/network_ui/network_ui.js

Issue 289383004: Merge FavoriteState into NetworkState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Elim UpdateManagerProperties, feedback Created 6 years, 6 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_ui/network_ui.js
diff --git a/chrome/browser/resources/chromeos/network_ui/network_ui.js b/chrome/browser/resources/chromeos/network_ui/network_ui.js
index 333687a4644aac6b73ef23c2c3675acd5d4ba6b6..5dce2da128f36971ab0234750c5efcc48027e507 100644
--- a/chrome/browser/resources/chromeos/network_ui/network_ui.js
+++ b/chrome/browser/resources/chromeos/network_ui/network_ui.js
@@ -28,6 +28,7 @@ var NetworkUI = (function() {
'Name',
'Type',
'Profile',
+ 'visible',
'onc_source'
];
@@ -276,8 +277,9 @@ var NetworkUI = (function() {
networkConfig.getNetworks(
{ 'type': 'All', 'visible': true },
onVisibleNetworksReceived);
+ // TODO(stevenjb): Only request configured networks and remove 'visible'.
networkConfig.getNetworks(
- { 'type': 'All', 'configured': true },
+ { 'type': 'All', 'configured': false },
onFavoriteNetworksReceived);
};

Powered by Google App Engine
This is Rietveld 408576698