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

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

Issue 1077823005: Declare providing extension capabilities in the manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 5 years, 8 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 230fab885fa352b71ae503c0af5299ef98921854..d06febffdd7939a967999a1dc9fa12a28c91b781 100644
--- a/chrome/common/extensions/api/file_manager_private.idl
+++ b/chrome/common/extensions/api/file_manager_private.idl
@@ -173,19 +173,9 @@ 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
-};
+// Source of provided file system's data. See Provided File System API docs for
+// details.
+enum Source { file, device, network };
not at google - send to devlin 2015/04/23 23:16:35 When https://codereview.chromium.org/1100333006/ g
mtomasz 2015/04/24 12:16:10 Done.
// A file task represents an action that the file manager can perform over the
// currently selected files. See
@@ -300,9 +290,6 @@ dictionary VolumeMetadata {
// 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;
@@ -527,10 +514,13 @@ dictionary ProvidingExtension {
DOMString name;
// Whether supports configuration dialog.
- boolean canConfigure;
+ boolean configurable;
+
+ // Whether supports mounting multiple instances.
+ boolean multipleMounts;
- // Whether supports adding new instances.
- boolean canAdd;
+ // Source of file systems' data.
+ Source source;
};
// Callback that does not take arguments.

Powered by Google App Engine
This is Rietveld 408576698