Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1595)

Unified Diff: chrome/browser/resources/file_manager/background/js/volume_manager.js

Issue 120533006: Stub for Privet file system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698