Index: ui/file_manager/file_manager/background/js/volume_manager.js |
diff --git a/ui/file_manager/file_manager/background/js/volume_manager.js b/ui/file_manager/file_manager/background/js/volume_manager.js |
index d50bdd585e3ce79c40870b75b23534cc19b30a57..a2dfc1dcb20591b6cc7fcca26b7c9e46b9b2fa5d 100644 |
--- a/ui/file_manager/file_manager/background/js/volume_manager.js |
+++ b/ui/file_manager/file_manager/background/js/volume_manager.js |
@@ -376,6 +376,7 @@ volumeManagerUtil.volumeListOrder_ = [ |
VolumeManagerCommon.VolumeType.REMOVABLE, |
VolumeManagerCommon.VolumeType.MTP, |
VolumeManagerCommon.VolumeType.PROVIDED, |
+ VolumeManagerCommon.VolumeType.PLUGIN_PROVIDED, |
]; |
/** |
@@ -963,6 +964,9 @@ VolumeManager.prototype.getLocationInfo = function(entry) { |
case VolumeManagerCommon.VolumeType.PROVIDED: |
rootType = VolumeManagerCommon.RootType.PROVIDED; |
break; |
+ case VolumeManagerCommon.VolumeType.PLUGIN_PROVIDED: |
+ rootType = VolumeManagerCommon.RootType.PLUGIN_PROVIDED; |
+ break; |
default: |
// Programming error, throw an exception. |
throw new Error('Invalid volume type: ' + volumeInfo.volumeType); |