Index: ui/file_manager/file_manager/background/js/volume_manager_util.js |
diff --git a/ui/file_manager/file_manager/background/js/volume_manager_util.js b/ui/file_manager/file_manager/background/js/volume_manager_util.js |
index 5362efc2f71629b5816295b5fc20ab00433dd271..ec6abc25bd2c21726506e2ba62b7effee6481937 100644 |
--- a/ui/file_manager/file_manager/background/js/volume_manager_util.js |
+++ b/ui/file_manager/file_manager/background/js/volume_manager_util.js |
@@ -8,13 +8,21 @@ |
var volumeManagerUtil = {}; |
/** |
- * Time in milliseconds that we wait a response for. If no response on |
+ * Time in milliseconds that we wait a response for general volume operations |
+ * such as mount, unmount, and requestFileSystem. If no response on |
* mount/unmount received the request supposed failed. |
* @const {number} |
*/ |
volumeManagerUtil.TIMEOUT = 15 * 60 * 1000; |
/** |
+ * Time in milliseconds that we wait a response for |
+ * chrome.fileManagerPrivate.resolveIsolatedEntries. |
+ * @const {number} |
+ */ |
+volumeManagerUtil.TIMEOUT_FOR_RESOLVE_ISOLATED_ENTRIES = 1 * 60 * 1000; |
+ |
+/** |
* @const {string} |
*/ |
volumeManagerUtil.TIMEOUT_STR_REQUEST_FILE_SYSTEM = |
@@ -102,7 +110,7 @@ volumeManagerUtil.createVolumeInfo = function(volumeMetadata) { |
resolve(entries[0].filesystem); |
}); |
}), |
- volumeManagerUtil.TIMEOUT, |
+ volumeManagerUtil.TIMEOUT_FOR_RESOLVE_ISOLATED_ENTRIES, |
volumeManagerUtil.TIMEOUT_STR_RESOLVE_ISOLATED_ENTRIES + |
': ' + volumeMetadata.volumeId); |
}) |