| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 { | 6 { |
| 7 "namespace": "app", | 7 "namespace": "app", |
| 8 "nodoc": true, | 8 "nodoc": true, |
| 9 "unprivileged": true, | 9 "unprivileged": true, |
| 10 "matches": [ "<all_urls>" ], | 10 "matches": [ "<all_urls>" ], |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 "description": "TODO", | 29 "description": "TODO", |
| 30 "type": "function", | 30 "type": "function", |
| 31 "parameters": [], | 31 "parameters": [], |
| 32 "returns": { | 32 "returns": { |
| 33 "name": "isInstalled", | 33 "name": "isInstalled", |
| 34 "description": "TODO", | 34 "description": "TODO", |
| 35 "type": "boolean" | 35 "type": "boolean" |
| 36 } | 36 } |
| 37 }, | 37 }, |
| 38 { | 38 { |
| 39 "name": "installState", |
| 40 "description": "TODO", |
| 41 "type": "function", |
| 42 "parameters": [ |
| 43 { |
| 44 "type": "function", |
| 45 "name": "callback", |
| 46 "parameters": [ |
| 47 { |
| 48 "type": "string", |
| 49 "enum": [ "not_installed", "installed", "disabled" ] |
| 50 } |
| 51 ] |
| 52 } |
| 53 ] |
| 54 }, |
| 55 { |
| 56 "name": "runningState", |
| 57 "description": "TODO", |
| 58 "type": "function", |
| 59 "parameters": [], |
| 60 "returns": { |
| 61 "type": "string", |
| 62 "enum": [ "running", "cannot_run", "ready_to_run" ] |
| 63 } |
| 64 }, |
| 65 { |
| 39 "name": "install", | 66 "name": "install", |
| 40 "description": "TODO", | 67 "description": "TODO", |
| 41 "type": "function", | 68 "type": "function", |
| 42 "parameters": [] | 69 "parameters": [] |
| 43 }, | 70 }, |
| 44 { | 71 { |
| 45 "name": "getDetails", | 72 "name": "getDetails", |
| 46 "description": "TODO", | 73 "description": "TODO", |
| 47 "type": "function", | 74 "type": "function", |
| 48 "parameters": [], | 75 "parameters": [], |
| (...skipping 16 matching lines...) Expand all Loading... |
| 65 ], | 92 ], |
| 66 "returns": { | 93 "returns": { |
| 67 "$ref": "Details", | 94 "$ref": "Details", |
| 68 "optional": true, | 95 "optional": true, |
| 69 "description": "TODO" | 96 "description": "TODO" |
| 70 } | 97 } |
| 71 } | 98 } |
| 72 ] | 99 ] |
| 73 } | 100 } |
| 74 ] | 101 ] |
| OLD | NEW |