Index: chrome/browser/resources/file_manager/js/volume_manager.js |
diff --git a/chrome/browser/resources/file_manager/js/volume_manager.js b/chrome/browser/resources/file_manager/js/volume_manager.js |
index f6306f39be36a8e70e6ec4bea2ec6c59c10861f7..e883b9a7e83363802307fdc584ad11dc2df3e799 100644 |
--- a/chrome/browser/resources/file_manager/js/volume_manager.js |
+++ b/chrome/browser/resources/file_manager/js/volume_manager.js |
@@ -586,7 +586,8 @@ VolumeManager.prototype.validateError_ = function(error) { |
* @private |
*/ |
VolumeManager.prototype.validateMountPath_ = function(mountPath) { |
- if (!/^\/(drive|drive_offline|Downloads)$/.test(mountPath) && |
+ if (!/^\/(drive|drive_shared_with_me|drive_offline|Downloads)$/ |
+ .test(mountPath) && |
!/^\/((archive|removable|drive)\/[^\/]+)$/.test(mountPath)) |
throw new Error('Invalid mount path: ', mountPath); |
}; |