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

Unified Diff: chrome/browser/resources/google_now/utility.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/google_now/utility.js
diff --git a/chrome/browser/resources/google_now/utility.js b/chrome/browser/resources/google_now/utility.js
index a02e07dc1c1b0eb0a12c3510681091c430ea0055..dfcb8d8f3ad66b7c2d4534f4866932266826c1bc 100644
--- a/chrome/browser/resources/google_now/utility.js
+++ b/chrome/browser/resources/google_now/utility.js
@@ -266,7 +266,7 @@ var wrapper = (function() {
* callbacks. This is a map from unique callback id to the stack at the moment
* when the callback was wrapped. This stack identifies the callback.
* Used only for diagnostics.
- * @type {Object.<number, string>}
+ * @type {Object<number, string>}
*/
var pendingCallbacks = {};
@@ -345,7 +345,7 @@ var wrapper = (function() {
/**
* Returns an instrumented function.
- * @param {!Array.<string>} functionIdentifierParts Path to the chrome.*
+ * @param {!Array<string>} functionIdentifierParts Path to the chrome.*
* function.
* @param {string} functionName Name of the chrome API function.
* @param {number} callbackParameter Index of the callback parameter to this
@@ -515,7 +515,7 @@ function registerPromiseAdapter() {
* The indirection allows quick checks against the array and clearing the
* array without ugly splicing and copying.
* @typedef {{
- * callback: array.<Function>=
+ * callback: array<Function>=
* }}
*/
var CallbackTracker;
@@ -696,7 +696,7 @@ function buildTaskManager(areConflicting) {
/**
* Queue of scheduled tasks. The first element, if present, corresponds to the
* currently running task.
- * @type {Array.<Object.<string, function()>>}
+ * @type {Array<Object<string, function()>>}
*/
var queue = [];
« no previous file with comments | « chrome/browser/resources/google_now/common_test_util.js ('k') | chrome/browser/resources/history/history.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698