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

Unified Diff: chrome/browser/resources/bookmark_manager/js/bmm.js

Issue 543863002: Typecheck chrome://bookmarks using Closure Compiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@true_master
Patch Set: debug warns Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/resources/bookmark_manager/js/bmm/bookmark_list.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0d7c491f5df305db848fdb25a9f4cedabfad0c07..f010d82d214bda360b3ae2076e7162b6e7d553c8 100644
--- a/chrome/browser/resources/bookmark_manager/js/bmm.js
+++ b/chrome/browser/resources/bookmark_manager/js/bmm.js
@@ -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.<Node>} The future promise for the load.
+ * @return {!Promise.<!BookmarkTreeNode>} The future promise for the load.
*/
function loadTree() {
return loadSubtree('');
@@ -169,7 +169,7 @@ cr.define('bmm', function() {
/**
* Callback for when a bookmark node is removed.
* @param {string} id The id of the removed bookmark node.
- * @param {!Object} bookmarkNode The information about removed.
+ * @param {!Object} removeInfo The information about removed.
*/
function handleRemoved(id, removeInfo) {
if (bmm.list)
« no previous file with comments | « no previous file | 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