Chromium Code Reviews| Index: chrome/browser/resources/file_manager/background/js/volume_manager.js |
| diff --git a/chrome/browser/resources/file_manager/background/js/volume_manager.js b/chrome/browser/resources/file_manager/background/js/volume_manager.js |
| index a2f63a64f88990a8fd3847ebf3a5d9c1b6378d9d..719d3f89bbe0ebf97474f11744bcb44065be6e61 100644 |
| --- a/chrome/browser/resources/file_manager/background/js/volume_manager.js |
| +++ b/chrome/browser/resources/file_manager/background/js/volume_manager.js |
| @@ -201,7 +201,8 @@ volumeManagerUtil.createVolumeInfo = function(volumeMetadata, callback) { |
| * @private |
| */ |
| volumeManagerUtil.volumeListOrder_ = [ |
| - RootType.DRIVE, RootType.DOWNLOADS, RootType.ARCHIVE, RootType.REMOVABLE |
| + RootType.DRIVE, RootType.DOWNLOADS, RootType.ARCHIVE, RootType.REMOVABLE, |
|
Vitaly Buka (NO REVIEWS)
2014/01/07 21:08:49
does not feet one line, can you please make it one
Noam Samuel
2014/01/07 22:10:59
Done.
|
| + RootType.PRIVET |
|
Vitaly Buka (NO REVIEWS)
2014/01/07 21:08:49
not sure if content of [] should be intended by 2
Noam Samuel
2014/01/07 22:10:59
Was previously 2 spaces.
|
| ]; |
| /** |
| @@ -699,6 +700,9 @@ VolumeManager.prototype.getLocationInfo = function(entry) { |
| case util.VolumeType.ARCHIVE: |
| rootType = RootType.ARCHIVE; |
| break; |
| + case util.VolumeType.PRIVET: |
| + rootType = RootType.PRIVET; |
| + break; |
| default: |
| throw new Error('Invalid volume type: ' + volumeInfo.volumeType); |
| } |