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

Unified Diff: chrome/common/extensions/api/file_manager_private.idl

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: chrome/common/extensions/api/file_manager_private.idl
diff --git a/chrome/common/extensions/api/file_manager_private.idl b/chrome/common/extensions/api/file_manager_private.idl
index 64295c78e416f54aa0095d6a04cb1133076ccfb0..cbf128f2fbdd11b1080deccd09edbeee02d73d5b 100644
--- a/chrome/common/extensions/api/file_manager_private.idl
+++ b/chrome/common/extensions/api/file_manager_private.idl
@@ -174,6 +174,14 @@ enum EntryTagVisibility {
public
};
+// Source of the volume data.
+enum Source {
+ file,
+ device,
+ network,
+ system
+};
+
// A file task represents an action that the file manager can perform over the
// currently selected files. See
// chrome/browser/chromeos/extensions/file_manager/file_tasks.h for details
@@ -290,6 +298,9 @@ dictionary VolumeMetadata {
// Extension providing this volume (for provided file systems).
DOMString? extensionId;
+ // Source of the volume's data.
+ Source source;
+
// Label of the volume (if available).
DOMString? volumeLabel;
@@ -320,6 +331,9 @@ dictionary VolumeMetadata {
// Flag that specifies whether the volume contains media.
boolean hasMedia;
+ // Flag that specifies whether the volume is configurable.
+ boolean configurable;
+
// Additional data about mount, for example, that the filesystem is not
// supported.
MountCondition? mountCondition;

Powered by Google App Engine
This is Rietveld 408576698