| Index: chrome/common/extensions/api/file_system_provider.idl
|
| diff --git a/chrome/common/extensions/api/file_system_provider.idl b/chrome/common/extensions/api/file_system_provider.idl
|
| index 0772f2c337a78cf5053da65f4d79d8a846b489e4..6c30f919660872cb147b26afa0853e54d97351de 100644
|
| --- a/chrome/common/extensions/api/file_system_provider.idl
|
| +++ b/chrome/common/extensions/api/file_system_provider.idl
|
| @@ -41,20 +41,34 @@ namespace fileSystemProvider {
|
| DELETED
|
| };
|
|
|
| - // Source of the file system data.
|
| - enum FileSystemSource {
|
| - // The file system is handling a file, eg. an archive file obtained via the
|
| + // Source of data for provided file systems. Used in manifest files of
|
| + // providing extensions.
|
| + enum Source {
|
| + // File systems are handling files, eg. an archive file obtained via the
|
| // <code>onLaunched</code> event and the <code>file_handlers</code> manifest
|
| // entry.
|
| - FILE,
|
| + file,
|
|
|
| - // The file system contents are fetched from an external device, such as a
|
| + // File systems' contents are fetched from an external device, such as a
|
| // USB device, but not via <code>file_handlers</code>.
|
| - DEVICE,
|
| + device,
|
|
|
| - // The file system is network based. The contents are obtained from another
|
| + // File systems are network based. The contents are obtained from another
|
| // server or local network. Eg. cloud services.
|
| - NETWORK
|
| + network
|
| + };
|
| +
|
| + // Represents capabilities of a providing extension. Used in manifest files of
|
| + // providing extensions.
|
| + dictionary Capabilities {
|
| + // Whether configuring via <code>onConfigureRequested</code> is supported.
|
| + boolean configurable;
|
| +
|
| + // Whether multiple (more than one) mounted file systems are supported.
|
| + boolean multiple_mounts;
|
| +
|
| + // Source of data for all mounted file systems.
|
| + Source source;
|
| };
|
|
|
| // Represents metadata of a file or a directory.
|
| @@ -125,9 +139,6 @@ namespace fileSystemProvider {
|
| // List of currently opened files.
|
| OpenedFile[] openedFiles;
|
|
|
| - // Source of the file system data.
|
| - FileSystemSource? source;
|
| -
|
| // Whether the file system supports the <code>tag</code> field for observing
|
| // directories.
|
| [nodoc] boolean? supportsNotifyTag;
|
| @@ -153,9 +164,6 @@ namespace fileSystemProvider {
|
| // or 0, then not limited.
|
| long? openedFilesLimit;
|
|
|
| - // Source of the file system data.
|
| - FileSystemSource? source;
|
| -
|
| // Whether the file system supports the <code>tag</code> field for observed
|
| // directories. Required in order to enable the internal cache.
|
| [nodoc] boolean? supportsNotifyTag;
|
|
|