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

Side by Side 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 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "types": [ 4 "types": [
5 { 5 {
6 "id": "MessageSender", 6 "id": "MessageSender",
7 "type": "object", 7 "type": "object",
8 "description": "An object containing information about the script contex t that sent a message or request.", 8 "description": "An object containing information about the script contex t that sent a message or request.",
9 "properties": { 9 "properties": {
10 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."}, 10 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."},
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 }, 518 },
519 { 519 {
520 "name": "onWokeUp", 520 "name": "onWokeUp",
521 "type": "function", 521 "type": "function",
522 "description": "Fired when the device wakes up from sleep.", 522 "description": "Fired when the device wakes up from sleep.",
523 "parameters": [] 523 "parameters": []
524 } 524 }
525 ] 525 ]
526 }, 526 },
527 { 527 {
528 "namespace": "accessibilityPrivate",
529 "nodoc": true,
530 "platforms": ["chromeos"],
531 "types": [
532 {
533 "id": "UpdateStatus",
534 "type": "object",
535 "description": "Information about the system update.",
536 "properties": {
537 "state": {
538 "type": "string",
539 "enum": ["NotAvailable", "Updating", "NeedReboot"],
540 "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.
541 },
542 "download_progress": {
543 "type": "number",
544 "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.
545 }
546 }
547 }
548 ],
549 "functions": [
550 {
551 "name": "getUpdateStatus",
552 "type": "function",
553 "description": "Gets information about the system update.",
554 "parameters": [
555 {
556 "type": "function",
557 "name": "callback",
558 "parameters": [
559 {
560 "$ref": "UpdateStatus",
561 "name": "status",
562 "description": "Details of the system update"
563 }
564 ]
565 }
566 ]
567 }
568 ],
569 "events": []
570 },
571 {
528 "namespace": "experimental.speechInput", 572 "namespace": "experimental.speechInput",
529 "types": [ 573 "types": [
530 { 574 {
531 "id": "SpeechInputStartOptions", 575 "id": "SpeechInputStartOptions",
532 "type": "object", 576 "type": "object",
533 "description": "Object describing the options used for speech recognitio n.", 577 "description": "Object describing the options used for speech recognitio n.",
534 "properties": { 578 "properties": {
535 "language": { 579 "language": {
536 "type": "string", 580 "type": "string",
537 "optional": true, 581 "optional": true,
(...skipping 8796 matching lines...) Expand 10 before | Expand all | Expand 10 after
9334 } 9378 }
9335 } 9379 }
9336 } 9380 }
9337 ] 9381 ]
9338 } 9382 }
9339 ] 9383 ]
9340 } 9384 }
9341 ] 9385 ]
9342 } 9386 }
9343 ] 9387 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698