| 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 398c8f8143551a6db44e4087858ae5d99a6d3ab9..a7b202848b94c0235a1ff9a4d5d97822d44b7161 100644
|
| --- a/chrome/common/extensions/api/file_manager_private.idl
|
| +++ b/chrome/common/extensions/api/file_manager_private.idl
|
| @@ -173,6 +173,20 @@ enum EntryTagVisibility {
|
| public
|
| };
|
|
|
| +// Source of the volume data.
|
| +enum VolumeSource {
|
| + // Represents a mounted file. In most cases, simply an archive.
|
| + file,
|
| +
|
| + // Representing a device, eg. an MTP device. Also, used for Downloads as it's
|
| + // containing files stored on the Chrome OS device.
|
| + device,
|
| +
|
| + // Used for volumes which contain files on a remote machine, eg. Drive or
|
| + // cloud services implemented via the File System Provider API.
|
| + network
|
| +};
|
| +
|
| // 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
|
| @@ -280,12 +294,15 @@ dictionary VolumeMetadata {
|
| // ID of the disk volume.
|
| DOMString volumeId;
|
|
|
| - // Id the provided file system (for proviided file systems).
|
| + // Id the provided file system (for provided file systems).
|
| DOMString? fileSystemId;
|
|
|
| // Extension providing this volume (for provided file systems).
|
| DOMString? extensionId;
|
|
|
| + // Source of the volume data.
|
| + VolumeSource? volumeSource;
|
| +
|
| // Label of the volume (if available).
|
| DOMString? volumeLabel;
|
|
|
|
|