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

Unified Diff: ui/file_manager/file_manager/common/js/volume_manager_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
Index: ui/file_manager/file_manager/common/js/volume_manager_common.js
diff --git a/ui/file_manager/file_manager/common/js/volume_manager_common.js b/ui/file_manager/file_manager/common/js/volume_manager_common.js
index 66fbaf890f2e4b0314a7889d0f29f21ffea2f356..2d0f72951434b2bd9c0209b166f7bc6e92e4e32b 100644
--- a/ui/file_manager/file_manager/common/js/volume_manager_common.js
+++ b/ui/file_manager/file_manager/common/js/volume_manager_common.js
@@ -130,3 +130,11 @@ VolumeManagerCommon.VolumeType = {
PROVIDED: 'provided'
};
Object.freeze(VolumeManagerCommon.VolumeType);
+
+/**
+ * @typedef {{
+ * type: VolumeManagerCommon.DriveConnectionType,
+ * reason: VolumeManagerCommon.DriveConnectionReason
+ * }}
+ */
+VolumeManagerCommon.DriveConnectionState;
« no previous file with comments | « ui/file_manager/file_manager/common/js/util.js ('k') | ui/file_manager/file_manager/foreground/js/app_installer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698