Chromium Code Reviews| 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 46a1a07bfe353f01961c84efa536d731768cf3cb..372e26218130d5f5a847147d47e2a96495cbf2cf 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 |
| @@ -121,7 +121,8 @@ VolumeManagerCommon.VolumeType = { |
| REMOVABLE: 'removable', |
| ARCHIVE: 'archive', |
| MTP: 'mtp', |
| - PROVIDED: 'provided' |
| + PROVIDED: 'provided', |
| + UNKNOWN: 'unknown' |
| }; |
| /** |
| @@ -175,6 +176,7 @@ VolumeManagerCommon.getVolumeTypeFromRootType = function(rootType) { |
| return VolumeManagerCommon.VolumeType.PROVIDED; |
| } |
| assertNotReached('Unknown root type: ' + rootType); |
| + return VolumeManagerCommon.VolumeType.UNKNOWN; |
|
Dan Beam
2015/10/16 07:20:47
this shouldn't be necessary with my recent change
fukino
2015/10/19 09:55:14
Reverted adding UNKNOWN. Thank you for taking care
|
| }; |
| /** |