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

Unified Diff: ui/file_manager/file_manager/background/js/volume_manager.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 | « storage/common/fileapi/file_system_util.cc ('k') | ui/file_manager/file_manager/common/js/util.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « storage/common/fileapi/file_system_util.cc ('k') | ui/file_manager/file_manager/common/js/util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698