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

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

Issue 23332012: Add a private API method to install a webstore app from Files.app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use lastError and lasteError.message on error. Created 7 years, 4 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
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..695f0fb93c1b85295cc11d2d0c95d3162f550ea9 100644
--- a/chrome/common/extensions/api/file_browser_private.json
+++ b/chrome/common/extensions/api/file_browser_private.json
@@ -1173,6 +1173,38 @@
]
}
]
+ },
+ {
+ "name": "installWebstoreItem",
+ "type": "function",
+ "description": "Requests to install a webstore item.",
+ "parameters": [
+ {
+ "name": "item_id",
+ "type": "string",
+ "description": "The id of the item to install."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": [
+ {
+ "type": "object",
+ "properties": {
hashimoto 2013/08/30 09:09:37 I couldn't find C++ code to set these params. This
hashimoto 2013/08/30 09:59:21 ping?
yoshiki 2013/08/30 10:04:25 Sorry. They are no longer used. Removed.
+ "result": {
+ "type": "boolean",
+ "description": "True if the item is installed. False if failed or aborted."
+ },
+ "error": {
+ "type": "string",
+ "optional": true,
+ "description": "Reason of failure."
+ }
+ }
+ }
+ ]
+ }
+ ]
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698