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

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

Issue 10174001: Add an API for hosted apps to check their install and running states. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/browser/extensions/extension_tab_helper.cc ('k') | chrome/common/extensions/extension_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/app.json
diff --git a/chrome/common/extensions/api/app.json b/chrome/common/extensions/api/app.json
index 9a143f5e94455630a9f4fb2d678159284fef20a0..8aa800bf52fa28930696d457f78d6550968dc3e8 100644
--- a/chrome/common/extensions/api/app.json
+++ b/chrome/common/extensions/api/app.json
@@ -36,6 +36,33 @@
}
},
{
+ "name": "installState",
+ "description": "todo",
miket_OOO 2012/04/23 22:11:16 todo->TODO to be consistent.
jstritar 2012/04/23 23:46:12 Done.
+ "type": "function",
+ "parameters": [
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": [
+ {
+ "type": "string",
+ "enum": [ "not_installed", "installed", "disabled" ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "runningState",
+ "description": "todo",
+ "type": "function",
+ "parameters": [],
+ "returns": {
+ "type": "string",
+ "enum": [ "running", "cannot_run", "ready_to_run" ]
+ }
+ },
+ {
"name": "install",
"description": "TODO",
"type": "function",
« no previous file with comments | « chrome/browser/extensions/extension_tab_helper.cc ('k') | chrome/common/extensions/extension_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698