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

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

Issue 13885007: Add API to load a unpacked project to developerPrivate. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 7 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
« no previous file with comments | « chrome/browser/extensions/extension_function_histogram_value.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/developer_private.idl
diff --git a/chrome/common/extensions/api/developer_private.idl b/chrome/common/extensions/api/developer_private.idl
index 7e4b7a3202162448b8a2e0b6fd5a7e3702603416..ee9ffe891863eb2ab4f8725a63ac3d6f245f84ee 100644
--- a/chrome/common/extensions/api/developer_private.idl
+++ b/chrome/common/extensions/api/developer_private.idl
@@ -98,10 +98,15 @@ namespace developerPrivate {
PackStatus status;
};
+ dictionary ProjectInfo {
+ DOMString name;
+ };
+
callback VoidCallback = void ();
callback BooleanCallback = void (boolean result);
callback ItemsInfoCallback = void (ItemInfo[] result);
callback GetStringsCallback = void (object result);
+ callback GetProjectsInfoCallback = void (ProjectInfo[] result);
callback PathCallback = void (DOMString path);
callback PackCallback = void (PackDirectoryResponse response);
callback VoidCallback = void();
@@ -156,6 +161,17 @@ namespace developerPrivate {
static void exportSyncfsFolderToLocalfs(DOMString folder_name,
optional VoidCallback callback);
+ // Gets the list of projects along with the metadata.
+ static void getProjectsInfo(GetProjectsInfoCallback callback);
+
+ // Loads a given |project_name| into the syncfs.
+ static void loadProjectToSyncfs(DOMString project_name,
+ optional VoidCallback callback);
+
+ // Loads the unpacked app / extension.
+ static void loadProject(DOMString project_name,
+ optional VoidCallback callback);
+
// Open Dialog to browse to an entry.
// |select_type| : Select a file or a folder.
// |file_type| : Required file type. For Example pem type is for private
« no previous file with comments | « chrome/browser/extensions/extension_function_histogram_value.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698