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

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: Still missing unit test for ZipFileCreator. 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
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..39eb24918405034ccaaedb719dbf1c7f657dae76 100644
--- a/chrome/common/extensions/api/file_browser_private.json
+++ b/chrome/common/extensions/api/file_browser_private.json
@@ -1029,6 +1029,34 @@
"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. Must be under the directory specified by dirURL.",
tbarzic 2012/11/10 03:40:56 The files must be under the...
hshi1 2012/11/12 20:12:12 Done.
+ "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": "getNetworkConnectionState",
"description": "Retrieves the state of the currently active network connection.",
"parameters": [

Powered by Google App Engine
This is Rietveld 408576698