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

Unified Diff: ui/file_manager/file_manager/common/js/progress_center_common.js

Issue 651403002: Fix trivial type-check errors in file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and correct a comment. Created 6 years, 2 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 | « ui/file_manager/file_manager/common/js/externs.js ('k') | ui/file_manager/file_manager/common/js/util.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/common/js/progress_center_common.js
diff --git a/ui/file_manager/file_manager/common/js/progress_center_common.js b/ui/file_manager/file_manager/common/js/progress_center_common.js
index 7e102ef25c58839f5e1ce536d6fb48a5a2203b5d..56ff028e081c89433aaa3931e42cd526bd380688 100644
--- a/ui/file_manager/file_manager/common/js/progress_center_common.js
+++ b/ui/file_manager/file_manager/common/js/progress_center_common.js
@@ -64,7 +64,7 @@ Object.freeze(ProgressItemType);
var ProgressCenterItem = function() {
/**
* Item ID.
- * @type {string}
+ * @type {?string}
* @private
*/
this.id_ = null;
@@ -95,7 +95,7 @@ var ProgressCenterItem = function() {
/**
* Type of progress item.
- * @type {ProgressItemType}
+ * @type {?ProgressItemType}
*/
this.type = null;
@@ -114,7 +114,7 @@ var ProgressCenterItem = function() {
/**
* Callback function to cancel the item.
- * @type {function()}
+ * @type {?function()}
*/
this.cancelCallback = null;
@@ -137,7 +137,7 @@ ProgressCenterItem.prototype = {
/**
* Getter of Item ID.
- * @return {string} Item ID.
+ * @return {?string} Item ID.
*/
get id() {
return this.id_;
« no previous file with comments | « ui/file_manager/file_manager/common/js/externs.js ('k') | ui/file_manager/file_manager/common/js/util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698