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

Unified Diff: ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.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
Index: ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js
diff --git a/ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js b/ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js
index 6812b8659a0788572cde6ea4790d7145c569631b..775475254059ad451bec6df7ffebbe91e424e169 100644
--- a/ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js
+++ b/ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js
@@ -130,7 +130,7 @@ VolumeManagerWrapper.prototype.dispose = function() {
/**
* Called on events sent from VolumeManager. This has responsibility to
* re-dispatch the event to the listeners.
- * @param {Event} event Event object sent from VolumeManager.
+ * @param {!Event} event Event object sent from VolumeManager.
* @private
*/
VolumeManagerWrapper.prototype.onEvent_ = function(event) {
@@ -202,7 +202,7 @@ VolumeManagerWrapper.prototype.ensureInitialized = function(callback) {
};
/**
- * @return {VolumeManagerCommon.DriveConnectionType} Current drive connection
+ * @return {VolumeManagerCommon.DriveConnectionState} Current drive connection
* state.
*/
VolumeManagerWrapper.prototype.getDriveConnectionState = function() {
@@ -258,7 +258,7 @@ VolumeManagerWrapper.prototype.getDefaultDisplayRoot =
/**
* Obtains location information from an entry.
*
- * @param {Entry} entry File or directory entry.
+ * @param {(Entry|Object)} entry File or directory entry.
* @return {EntryLocation} Location information.
*/
VolumeManagerWrapper.prototype.getLocationInfo = function(entry) {

Powered by Google App Engine
This is Rietveld 408576698