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

Unified Diff: ui/file_manager/file_manager/common/js/volume_manager_common.js

Issue 1093383002: [WIP] Provided file system from NACL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved several modules to chromeos folder. Created 5 years, 5 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
« no previous file with comments | « ui/file_manager/file_manager/common/js/util.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..61d37db7df1db94d0bf14765ef6cdb9285f0dcc9 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
@@ -32,6 +32,9 @@ VolumeManagerCommon.RootType = {
// Root for a provided volume.
PROVIDED: 'provided',
+ // Root for plugin provided volume.
+ PLUGIN_PROVIDED: 'plugin_provided',
+
// Root for entries that is not located under RootType.DRIVE. e.g. shared
// files.
DRIVE_OTHER: 'drive_other',
@@ -121,7 +124,8 @@ VolumeManagerCommon.VolumeType = {
REMOVABLE: 'removable',
ARCHIVE: 'archive',
MTP: 'mtp',
- PROVIDED: 'provided'
+ PROVIDED: 'provided',
+ PLUGIN_PROVIDED: 'plugin_provided'
};
/**
@@ -173,6 +177,8 @@ VolumeManagerCommon.getVolumeTypeFromRootType = function(rootType) {
return VolumeManagerCommon.VolumeType.MTP;
case VolumeManagerCommon.RootType.PROVIDED:
return VolumeManagerCommon.VolumeType.PROVIDED;
+ case VolumeManagerCommon.RootType.PLUGIN_PROVIDED:
+ return VolumeManagerCommon.VolumeType.PLUGIN_PROVIDED;
}
assertNotReached('Unknown root type: ' + rootType);
};
« no previous file with comments | « ui/file_manager/file_manager/common/js/util.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698