| 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": "systemPrivate", | 7 "namespace": "systemPrivate", |
| 8 "description": "none", | 8 "description": "none", |
| 9 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 "name": "callback", | 79 "name": "callback", |
| 80 "parameters": [ | 80 "parameters": [ |
| 81 { | 81 { |
| 82 "$ref": "UpdateStatus", | 82 "$ref": "UpdateStatus", |
| 83 "name": "status", | 83 "name": "status", |
| 84 "description": "Details of the system update" | 84 "description": "Details of the system update" |
| 85 } | 85 } |
| 86 ] | 86 ] |
| 87 } | 87 } |
| 88 ] | 88 ] |
| 89 }, |
| 90 { |
| 91 "name": "getApiKey", |
| 92 "type": "function", |
| 93 "description": "Gets Chrome's API key to use for requests to Google serv
ices.", |
| 94 "parameters": [ |
| 95 { |
| 96 "type": "function", |
| 97 "name": "callback", |
| 98 "parameters": [ |
| 99 { |
| 100 "name": "key", |
| 101 "type": "string", |
| 102 "description": "The API key." |
| 103 } |
| 104 ] |
| 105 } |
| 106 ] |
| 89 } | 107 } |
| 90 ], | 108 ], |
| 91 "events": [ | 109 "events": [ |
| 92 { | 110 { |
| 93 "name": "onVolumeChanged", | 111 "name": "onVolumeChanged", |
| 94 "type": "function", | 112 "type": "function", |
| 95 "description": "Fired when the volume is changed.", | 113 "description": "Fired when the volume is changed.", |
| 96 "parameters": [ | 114 "parameters": [ |
| 97 { | 115 { |
| 98 "$ref": "VolumeInfo", | 116 "$ref": "VolumeInfo", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 121 }, | 139 }, |
| 122 { | 140 { |
| 123 "name": "onWokeUp", | 141 "name": "onWokeUp", |
| 124 "type": "function", | 142 "type": "function", |
| 125 "description": "Fired when the device wakes up from sleep.", | 143 "description": "Fired when the device wakes up from sleep.", |
| 126 "parameters": [] | 144 "parameters": [] |
| 127 } | 145 } |
| 128 ] | 146 ] |
| 129 } | 147 } |
| 130 ] | 148 ] |
| OLD | NEW |