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

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

Issue 8747003: Add private system extension API to get system update status (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Codereview Created 9 years, 1 month 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/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 53dd61303a9d6f592470d516543f8a3227940c14..1e3b9b29a2f726e5009bc04cec2a523934fc601a 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -525,6 +525,50 @@
]
},
{
+ "namespace": "accessibilityPrivate",
+ "nodoc": true,
+ "platforms": ["chromeos"],
+ "types": [
+ {
+ "id": "UpdateStatus",
+ "type": "object",
+ "description": "Information about the system update.",
+ "properties": {
+ "state": {
+ "type": "string",
+ "enum": ["NotAvailable", "Updating", "NeedReboot"],
+ "description": "State of system update."
dmazzoni 2011/11/30 15:46:04 Document briefly what these mean. (For example, ma
hashimoto 2011/12/01 02:28:00 Done.
+ },
+ "download_progress": {
+ "type": "number",
+ "description": "Pregress of download. [0.0 - 1.0]"
dmazzoni 2011/11/30 15:46:04 Document that this will be 0 if the update is NotA
hashimoto 2011/12/01 02:28:00 Done.
+ }
+ }
+ }
+ ],
+ "functions": [
+ {
+ "name": "getUpdateStatus",
+ "type": "function",
+ "description": "Gets information about the system update.",
+ "parameters": [
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": [
+ {
+ "$ref": "UpdateStatus",
+ "name": "status",
+ "description": "Details of the system update"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "events": []
+ },
+ {
"namespace": "experimental.speechInput",
"types": [
{

Powered by Google App Engine
This is Rietveld 408576698