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

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

Issue 917093003: Shorten Closure template notation from Array.<*> to Array<*>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cvox Created 5 years, 10 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 4c65b3427177a1b81d4df9537aeda7c4badbcb6d..af4bfbc662b2a79420c4a2f140324c9d1b1aab61 100644
--- a/chrome/browser/resources/options/chromeos/network_list.js
+++ b/chrome/browser/resources/options/chromeos/network_list.js
@@ -110,7 +110,7 @@ cr.define('options.network', function() {
/**
* Icon to use when not connected to a particular type of network.
- * @type {!Object.<string, string>} Mapping of network type to icon data url.
+ * @type {!Object<string, string>} Mapping of network type to icon data url.
* @private
*/
var defaultIcons_ = {};
@@ -172,7 +172,7 @@ cr.define('options.network', function() {
/**
* Description of the network group or control.
- * @type {Object.<string,Object>}
+ * @type {Object<string,Object>}
* @private
*/
data_: null,
@@ -413,7 +413,7 @@ cr.define('options.network', function() {
/**
* Creates a control for selecting or configuring a network connection based
* on the type of connection (e.g. wifi versus vpn).
- * @param {{key: string, networkList: Array.<NetworkInfo>}} data Description
+ * @param {{key: string, networkList: Array<NetworkInfo>}} data Description
* of the network.
* @constructor
* @extends {NetworkMenuItem}
@@ -687,7 +687,7 @@ cr.define('options.network', function() {
/**
* Extracts a mapping of network names to menu element and position.
* @param {!Element} menu The menu to process.
- * @return {Object.<string, ?{index: number, button: Element}>}
+ * @return {Object<string, ?{index: number, button: Element}>}
* Network mapping.
* @private
*/
@@ -908,7 +908,7 @@ cr.define('options.network', function() {
/**
* Updates a network control.
- * @param {Object.<string,string>} data Description of the entry.
+ * @param {Object<string,string>} data Description of the entry.
*/
update: function(data) {
this.startBatchUpdates();
@@ -956,7 +956,7 @@ cr.define('options.network', function() {
createItem: function(entry) {
if (entry.networkList)
return new NetworkSelectorItem(
- /** @type {{key: string, networkList: Array.<NetworkInfo>}} */(
+ /** @type {{key: string, networkList: Array<NetworkInfo>}} */(
entry));
if (entry.command)
return new NetworkButtonItem(
@@ -995,7 +995,7 @@ cr.define('options.network', function() {
/**
* Sets the default icon to use for each network type if disconnected.
- * @param {!Object.<string, string>} data Mapping of network type to icon
+ * @param {!Object<string, string>} data Mapping of network type to icon
* data url.
*/
NetworkList.setDefaultNetworkIcons = function(data) {
@@ -1009,14 +1009,14 @@ cr.define('options.network', function() {
* cellularSimAbsent: boolean,
* cellularSimLockType: string,
* cellularSupportsScan: boolean,
- * rememberedList: Array.<NetworkInfo>,
- * vpnList: Array.<NetworkInfo>,
+ * rememberedList: Array<NetworkInfo>,
+ * vpnList: Array<NetworkInfo>,
* wifiAvailable: boolean,
* wifiEnabled: boolean,
* wimaxAvailable: boolean,
* wimaxEnabled: boolean,
- * wiredList: Array.<NetworkInfo>,
- * wirelessList: Array.<NetworkInfo>}} data Description of available
+ * wiredList: Array<NetworkInfo>,
+ * wirelessList: Array<NetworkInfo>}} data Description of available
* network devices and their corresponding state.
*/
NetworkList.refreshNetworkData = function(data) {
@@ -1209,7 +1209,7 @@ cr.define('options.network', function() {
/**
* Fetches the active connection.
- * @param {Array.<Object>} networkList List of networks.
+ * @param {Array<Object>} networkList List of networks.
* @return {Object}
* @private
*/
« no previous file with comments | « chrome/browser/resources/options/chromeos/keyboard_overlay.js ('k') | chrome/browser/resources/options/content_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698