Chromium Code Reviews| 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": [ |