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

Side by Side Diff: chrome/browser/resources/chromeos/network_ui/network_ui.js

Issue 332713003: Fix FirstNetworkByType, and some minor debugging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var NetworkUI = (function() { 5 var NetworkUI = (function() {
6 'use strict'; 6 'use strict';
7 7
8 // Properties to display in the network state table. Each entry can be either 8 // Properties to display in the network state table. Each entry can be either
9 // a single state field or an array of state fields. If more than one is 9 // a single state field or an array of state fields. If more than one is
10 // specified then the first non empty value is used. 10 // specified then the first non empty value is used.
11 var NETWORK_STATE_FIELDS = [ 11 var NETWORK_STATE_FIELDS = [
12 'GUID', 12 'GUID',
13 'Name', 13 'Name',
14 'Type', 14 'Type',
15 'ConnectionState', 15 'ConnectionState',
16 'connectable',
16 'ErrorState', 17 'ErrorState',
17 'WiFi.Security', 18 'WiFi.Security',
18 ['Cellular.NetworkTechnology', 19 ['Cellular.NetworkTechnology',
19 'EAP.EAP'], 20 'EAP.EAP'],
20 'Cellular.ActivationState', 21 'Cellular.ActivationState',
21 'Cellular.RoamingState', 22 'Cellular.RoamingState',
22 'Cellular.OutOfCredits', 23 'Cellular.OutOfCredits',
23 'WiFi.SignalStrength' 24 'WiFi.SignalStrength'
24 ]; 25 ];
25 26
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 $('log-timedetail').onclick = requestLog; 311 $('log-timedetail').onclick = requestLog;
311 setRefresh(); 312 setRefresh();
312 requestLog(); 313 requestLog();
313 requestNetworks(); 314 requestNetworks();
314 }); 315 });
315 316
316 return { 317 return {
317 getNetworkLogCallback: getNetworkLogCallback 318 getNetworkLogCallback: getNetworkLogCallback
318 }; 319 };
319 })(); 320 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/network_ui/network_ui.html ('k') | chromeos/network/network_state_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698