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

Unified Diff: chrome/browser/resources/bookmark_manager/js/bmm.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/bookmark_manager/js/bmm.js
diff --git a/chrome/browser/resources/bookmark_manager/js/bmm.js b/chrome/browser/resources/bookmark_manager/js/bmm.js
index f010d82d214bda360b3ae2076e7162b6e7d553c8..1e55fc8fe2c83ac04e6b0341e20f3fcb058e373b 100644
--- a/chrome/browser/resources/bookmark_manager/js/bmm.js
+++ b/chrome/browser/resources/bookmark_manager/js/bmm.js
@@ -36,7 +36,7 @@ cr.define('bmm', function() {
* Promise version of chrome.bookmarkManagerPrivate.getSubtree.
* @param {string} id .
* @param {boolean} foldersOnly .
- * @return {!Promise.<!Array.<!BookmarkTreeNode>>} .
+ * @return {!Promise<!Array<!BookmarkTreeNode>>} .
*/
function getSubtreePromise(id, foldersOnly) {
return new Promise(function(resolve) {
@@ -48,7 +48,7 @@ cr.define('bmm', function() {
* Loads a subtree of the bookmark tree and returns a {@code Promise} that
* will be fulfilled when done. This reuses multiple loads so that we do not
* load the same subtree more than once at the same time.
- * @return {!Promise.<!BookmarkTreeNode>} The future promise for the load.
+ * @return {!Promise<!BookmarkTreeNode>} The future promise for the load.
*/
function loadSubtree(id) {
if (!loadingPromises[id]) {
@@ -64,7 +64,7 @@ cr.define('bmm', function() {
* Loads the entire bookmark tree and returns a {@code Promise} that will
* be fulfilled when done. This reuses multiple loads so that we do not load
* the same tree more than once at the same time.
- * @return {!Promise.<!BookmarkTreeNode>} The future promise for the load.
+ * @return {!Promise<!BookmarkTreeNode>} The future promise for the load.
*/
function loadTree() {
return loadSubtree('');
« no previous file with comments | « chrome/browser/resources/about_version.js ('k') | chrome/browser/resources/bookmark_manager/js/bmm/bookmark_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698