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

Unified Diff: chrome/browser/resources/options/cookies_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/cookies_list.js
diff --git a/chrome/browser/resources/options/cookies_list.js b/chrome/browser/resources/options/cookies_list.js
index 27845585256b93839f5053e9ece4d75c7805ec59..767b5a9530b2d1ae34614d47fd0d80864eb918ad 100644
--- a/chrome/browser/resources/options/cookies_list.js
+++ b/chrome/browser/resources/options/cookies_list.js
@@ -65,9 +65,9 @@ cr.define('options', function() {
/**
* Create tree nodes for the objects in the data array, and insert them all
* into the given list using its @{code splice} method at the given index.
- * @param {Array.<Object>} data The data objects for the nodes to add.
+ * @param {Array<Object>} data The data objects for the nodes to add.
* @param {number} start The index at which to start inserting the nodes.
- * @return {Array.<options.CookieTreeNode>} An array of CookieTreeNodes added.
+ * @return {Array<options.CookieTreeNode>} An array of CookieTreeNodes added.
*/
function spliceTreeNodes(data, start, list) {
var nodes = data.map(function(x) { return new CookieTreeNode(x); });
@@ -396,7 +396,7 @@ cr.define('options', function() {
/**
* Insert the given list of cookie tree nodes at the given index.
* Both CookiesList and CookieTreeNode implement this API.
- * @param {Array.<Object>} data The data objects for the nodes to add.
+ * @param {Array<Object>} data The data objects for the nodes to add.
* @param {number} start The index at which to start inserting the nodes.
*/
insertAt: function(data, start) {
@@ -554,7 +554,7 @@ cr.define('options', function() {
* Uses preallocated DOM elements for each cookie node type from @{code
* infoNodes}, and inserts the appropriate elements to @{code element}.
* @param {Element} element The DOM element to insert elements to.
- * @param {Object.<string, {table: Element, info: Object.<string,
+ * @param {Object<string, {table: Element, info: Object<string,
* Element>}>} infoNodes The map from cookie node types to maps from
* cookie attribute names to DOM elements to display cookie attribute
* values, created by @{code CookiesList.decorate}.
@@ -829,7 +829,7 @@ cr.define('options', function() {
/**
* Insert the given list of cookie tree nodes at the given index.
* Both CookiesList and CookieTreeNode implement this API.
- * @param {Array.<Object>} data The data objects for the nodes to add.
+ * @param {Array<Object>} data The data objects for the nodes to add.
* @param {number} start The index at which to start inserting the nodes.
*/
insertAt: function(data, start) {

Powered by Google App Engine
This is Rietveld 408576698