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

Unified Diff: chrome/browser/resources/options/chromeos/network_list.js

Issue 604373006: Compile chrome://settings, part 9: yet another final battle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@K_blockers_from_bookmarks
Patch Set: describe supressions Created 6 years, 2 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/options/chromeos/network_list.js
diff --git a/chrome/browser/resources/options/chromeos/network_list.js b/chrome/browser/resources/options/chromeos/network_list.js
index 8ba909c409d75145e09dc26d6a0130b469f05ebf..70cc49c6a416f5439040a67c5af824955e30a38c 100644
--- a/chrome/browser/resources/options/chromeos/network_list.js
+++ b/chrome/browser/resources/options/chromeos/network_list.js
@@ -75,7 +75,7 @@ cr.define('options.network', function() {
/**
* Indicates the current SIM lock type of the cellular device.
- * @type {boolean}
+ * @type {string}
* @private
*/
var cellularSimLockType_ = '';
@@ -949,7 +949,7 @@ cr.define('options.network', function() {
entry));
if (entry.menu)
return new NetworkMenuItem(entry);
- return undefined;
+ assertNotReached();
},
/**
@@ -989,12 +989,20 @@ cr.define('options.network', function() {
/**
* Chrome callback for updating network controls.
- * @param {{wiredList: Array.<NetworkInfo>, wirelessList: Array.<NetworkInfo>,
- * vpnList: Array.<NetworkInfo>, rememberedList: Array.<NetworkInfo>,
- * wifiAvailable: boolean, wifiEnabled: boolean, wimaxAvailable: boolean,
- * wimaxEnabled: boolean, cellularAvailable: boolean,
- * cellularEnabled: boolean, cellularSupportsScan: boolean}} data
- * Description of available network devices and their corresponding state.
+ * @param {{cellularAvailable: boolean,
+ * cellularEnabled: boolean,
+ * cellularSimAbsent: boolean,
+ * cellularSimLockType: string,
+ * cellularSupportsScan: boolean,
+ * rememberedList: Array.<NetworkInfo>,
+ * vpnList: Array.<NetworkInfo>,
+ * wifiAvailable: boolean,
+ * wifiEnabled: boolean,
+ * wimaxAvailable: boolean,
+ * wimaxEnabled: boolean,
+ * wiredList: Array.<NetworkInfo>,
+ * wirelessList: Array.<NetworkInfo>}} data Description of available
+ * network devices and their corresponding state.
*/
NetworkList.refreshNetworkData = function(data) {
var networkList = $('network-list');
« no previous file with comments | « chrome/browser/resources/options/chromeos/internet_detail.js ('k') | chrome/browser/resources/options/chromeos/onc_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698