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 98fb729224ec85660984670e94cf192f1b20e66a..2b02863cdc8fa99574f2ea34d23c229dce6bc3e3 100644 |
| --- a/chrome/common/extensions/api/file_browser_private.json |
| +++ b/chrome/common/extensions/api/file_browser_private.json |
| @@ -1173,6 +1173,38 @@ |
| ] |
| } |
| ] |
| + }, |
| + { |
| + "name": "installWebstoreApp", |
|
asargent_no_longer_on_chrome
2013/08/27 18:22:33
Will this only be allowed to install apps, or will
yoshiki
2013/08/28 13:19:04
Thanks for suggestion. Done.
|
| + "type": "function", |
| + "description": "Requests to install webstore app/extension.", |
| + "parameters": [ |
| + { |
| + "name": "item_id", |
| + "type": "string", |
| + "description": "The id of the app/extension to install." |
| + }, |
| + { |
| + "name": "callback", |
| + "type": "function", |
| + "parameters": [ |
| + { |
| + "type": "object", |
| + "properties": { |
| + "result": { |
| + "type": "boolean", |
| + "description": "True if the app is installed. False if failed or aborted." |
| + }, |
| + "error": { |
| + "type": "string", |
| + "optional": true, |
| + "description": "Reason of failure." |
| + } |
| + } |
| + } |
| + ] |
| + } |
| + ] |
| } |
| ], |
| "events": [ |