OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 6152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6163 "description": "Fired when browser terminates debugging session for the
tab.", | 6163 "description": "Fired when browser terminates debugging session for the
tab.", |
6164 "parameters": [ | 6164 "parameters": [ |
6165 { | 6165 { |
6166 "type": "integer", | 6166 "type": "integer", |
6167 "name": "tabId", | 6167 "name": "tabId", |
6168 "description": "The id of the tab that was detached." | 6168 "description": "The id of the tab that was detached." |
6169 } | 6169 } |
6170 ] | 6170 ] |
6171 } | 6171 } |
6172 ] | 6172 ] |
| 6173 }, |
| 6174 { |
| 6175 "namespace": "chromeAuthPrivate", |
| 6176 "nodoc": "true", |
| 6177 "functions": [ |
| 6178 { |
| 6179 "name": "setCloudPrintCredentials", |
| 6180 "description": "Sets the login credentials for Cloud Print.", |
| 6181 "type": "function", |
| 6182 "parameters": [ |
| 6183 { |
| 6184 "name": "userEmail", |
| 6185 "type": "string", |
| 6186 "description": "The email address of the user." |
| 6187 }, |
| 6188 { |
| 6189 "name": "robotEmail", |
| 6190 "type": "string", |
| 6191 "description": "The email address of the robot account." |
| 6192 }, |
| 6193 { |
| 6194 "name": "credentials", |
| 6195 "type": "string", |
| 6196 "description": "The login credentials(OAuth2 Auth code)." |
| 6197 }, |
| 6198 { |
| 6199 "name": "callback", |
| 6200 "type": "function", |
| 6201 "description": "Called when a failure happens. Called upon success o
nly in tests.", |
| 6202 "optional": "true", |
| 6203 "parameters": [ |
| 6204 { |
| 6205 "name": "result", |
| 6206 "type": "string", |
| 6207 "description": "A string result code. The value is non-empty on
success only in tests.", |
| 6208 "optional": "true" |
| 6209 } |
| 6210 ] |
| 6211 } |
| 6212 ] |
| 6213 } |
| 6214 ] |
6173 } | 6215 } |
6174 ] | 6216 ] |
OLD | NEW |