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

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

Issue 23441025: Clean up NetworkState members (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 3 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 | « chrome/browser/resources/chromeos/network.html ('k') | chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/network.js
diff --git a/chrome/browser/resources/chromeos/network.js b/chrome/browser/resources/chromeos/network.js
index 9c55d57b9b8d813ea29dcc935c6157ff17bb0a89..49abd050c8e803d90998a1b66ee34a6b089dc81f 100644
--- a/chrome/browser/resources/chromeos/network.js
+++ b/chrome/browser/resources/chromeos/network.js
@@ -4,11 +4,12 @@
var NetworkUI = function() {
// Properties to display in the network state table
- var NETWORK_STATE_FIELDS = ['Name', 'Type', 'State', 'Profile', 'Connectable',
- 'Error', 'ADdress', 'Security', 'Cellular.NetworkTechnology',
- 'Cellular.ActivationState', 'Cellular.RoamingState',
- 'Cellular.OutOfCredits', 'signalStrength', 'AutoConnect',
- 'Favorite', 'Priority'];
+ var NETWORK_STATE_FIELDS = [
+ 'Name', 'Type', 'State', 'Profile', 'Connectable',
+ 'Error', 'Address', 'Security', 'Cellular.NetworkTechnology',
+ 'Cellular.ActivationState', 'Cellular.RoamingState',
+ 'Cellular.OutOfCredits', 'Strength'
+ ];
var LOG_LEVEL_CLASSNAME = {
'Error': 'network-log-level-error',
@@ -104,10 +105,11 @@ var NetworkUI = function() {
var createStatusTableRow = function(path, status) {
var row = document.createElement('tr');
row.className = 'network-status-table-row';
+ row.appendChild(createStatusTableCell(path));
+ row.appendChild(createStatusTableCell(status['GUID'].slice(1, 9)));
for (var i = 0; i < NETWORK_STATE_FIELDS.length; ++i) {
row.appendChild(createStatusTableCell(status[NETWORK_STATE_FIELDS[i]]));
}
- row.appendChild(createStatusTableCell(path));
return row;
};
« no previous file with comments | « chrome/browser/resources/chromeos/network.html ('k') | chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698