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

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

Issue 1089193002: Add chrome.fileManagerPrivate.getProvidingExtensions(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. 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 be6cd538ab23775c1c80dcbaa93f2b5d9731546f..8cdea54ef23c0d5bff569de6f5980ca5f5366850 100644
--- a/chrome/common/extensions/api/file_manager_private.idl
+++ b/chrome/common/extensions/api/file_manager_private.idl
@@ -518,6 +518,21 @@ dictionary DeviceEvent {
DOMString devicePath;
};
+// Describes an installed providing extension.
+dictionary ProvidingExtension {
+ // ID of the providing extension.
+ DOMString extensionId;
+
+ // Name of the providing extension.
+ DOMString name;
+
+ // Whether supports configuration dialog.
+ boolean canConfigure;
+
+ // Whether supports adding new instances.
+ boolean canAdd;
+};
+
// Callback that does not take arguments.
callback SimpleCallback = void();
@@ -611,6 +626,9 @@ callback ResolveEntriesCallback =
// |checksum| Result checksum.
callback ComputeChecksumCallback = void(DOMString checksum);
+// |extensions| List of providing extensions.
+callback GetProvidingExtensionsCallback = void(ProvidingExtension[] extensions);
+
interface Functions {
// Logout the current user for navigating to the re-authentication screen for
// the Google account.
@@ -888,6 +906,9 @@ interface Functions {
// Returns if Piex loader is enabled.
static void isPiexLoaderEnabled(BooleanCallback callback);
+
+ // Returns list of available providing extensions.
+ static void getProvidingExtensions(GetProvidingExtensionsCallback callback);
};
interface Events {
« no previous file with comments | « chrome/browser/chromeos/file_system_provider/service.cc ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698