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

Unified Diff: chrome/common/extensions/api/file_browser_private.json

Issue 11309014: File manager: support for zipping selected files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compiler warning: declare base::FileDescriptor a struct, not a class. The struct is put after t… Created 8 years, 1 month 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/common/chrome_utility_messages.h ('k') | chrome/utility/chrome_content_utility_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/file_browser_private.json
diff --git a/chrome/common/extensions/api/file_browser_private.json b/chrome/common/extensions/api/file_browser_private.json
index 95c9789b1b5267fc8a0261a2d032bb117a446ecd..a041e9db8033fcdff6db52c84f46ab99dd39b260 100644
--- a/chrome/common/extensions/api/file_browser_private.json
+++ b/chrome/common/extensions/api/file_browser_private.json
@@ -1029,6 +1029,40 @@
"parameters": []
},
{
+ "name": "zipSelection",
+ "description": "Create a zip file for the selected files.",
+ "parameters": [
+ {
+ "name": "dirURL",
+ "type": "string",
+ "description": "URL of the directory containing the selected files."
+ },
+ {
+ "name": "selectionURLs",
+ "type": "array",
+ "description": "URLs of the selected files. The files must be under the directory specified by dirURL.",
+ "items": { "type": "string" }
+ },
+ {
+ "name": "destName",
+ "type": "string",
+ "description": "Name of the destination zip file. The zip file will be created under the directory specified by dirURL."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": true,
+ "parameters": [
+ {
+ "name" : "success",
+ "type" : "boolean",
+ "optional": true
+ }
+ ]
+ }
+ ]
+ },
+ {
"name": "getNetworkConnectionState",
"description": "Retrieves the state of the currently active network connection.",
"parameters": [
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/chrome_content_utility_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698