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

Side by Side Diff: chrome/browser/resources/net_internals/dns_view.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 /** 5 /**
6 * This view displays information on the host resolver: 6 * This view displays information on the host resolver:
7 * 7 *
8 * - Shows the default address family. 8 * - Shows the default address family.
9 * - Has a button to enable IPv6, if it is disabled. 9 * - Has a button to enable IPv6, if it is disabled.
10 * - Shows the current host cache contents. 10 * - Shows the current host cache contents.
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 } 195 }
196 196
197 addTextNode(td, dnsConfig[key]); 197 addTextNode(td, dnsConfig[key]);
198 } 198 }
199 } 199 }
200 200
201 /** 201 /**
202 * Takes a last of strings and adds them all to a DOM node, displaying them 202 * Takes a last of strings and adds them all to a DOM node, displaying them
203 * on separate lines. 203 * on separate lines.
204 * @param {DomNode} node The parent node. 204 * @param {DomNode} node The parent node.
205 * @param {Array.<string>} list List of strings to add to the node. 205 * @param {Array<string>} list List of strings to add to the node.
206 */ 206 */
207 function addListToNode_(node, list) { 207 function addListToNode_(node, list) {
208 for (var i = 0; i < list.length; ++i) 208 for (var i = 0; i < list.length; ++i)
209 addNodeWithText(node, 'div', list[i]); 209 addNodeWithText(node, 'div', list[i]);
210 } 210 }
211 211
212 return DnsView; 212 return DnsView;
213 })(); 213 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698