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

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 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 230fab885fa352b71ae503c0af5299ef98921854..e1360a42f853a1fbb4b53bd6b63ca7c3118475ce 100644
--- a/chrome/common/extensions/api/file_manager_private.idl
+++ b/chrome/common/extensions/api/file_manager_private.idl
@@ -173,20 +173,6 @@ 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
@@ -300,9 +286,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 +510,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.
+ manifestTypes.FileSystemProviderSource source;
};
// Callback that does not take arguments.
« no previous file with comments | « chrome/common/extensions/api/_manifest_features.json ('k') | chrome/common/extensions/api/file_system_provider.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698