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

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: addressed comment 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
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | no next file » | 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 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": {
+ "result": {
+ "type": "boolean",
+ "description": "True if the item is installed. False if failed or aborted."
+ },
+ "error": {
+ "type": "string",
+ "optional": true,
+ "description": "Reason of failure."
+ }
+ }
asargent_no_longer_on_chrome 2013/08/29 22:26:04 nit: instead of having a callback where you pass a
yoshiki 2013/08/30 06:02:49 I didn't know that. Thanks. Done
+ }
+ ]
+ }
+ ]
}
],
"events": [
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698