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

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

Issue 1137383002: Show the eject button only for removabled and file handlers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests. Created 5 years, 7 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: 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 7dfc38c36a2910d9636ba460be9eaf6148b84f3d..46a1a07bfe353f01961c84efa536d731768cf3cb 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
@@ -125,6 +125,18 @@ VolumeManagerCommon.VolumeType = {
};
/**
+ * Source of each volume's data.
+ * @enum {string}
+ * @const
+ */
+VolumeManagerCommon.Source = {
+ FILE: 'file',
+ DEVICE: 'device',
+ NETWORK: 'network',
+ SYSTEM: 'system'
+};
+
+/**
* Returns if the volume is linux native file system or not. Non-native file
* system does not support few operations (e.g. load unpacked extension).
* @param {VolumeManagerCommon.VolumeType} type

Powered by Google App Engine
This is Rietveld 408576698