| 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 4221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4232 }, | 4232 }, |
| 4233 { | 4233 { |
| 4234 "name": "callback", | 4234 "name": "callback", |
| 4235 "type": "function", | 4235 "type": "function", |
| 4236 "optional": "true", | 4236 "optional": "true", |
| 4237 "parameters": [] | 4237 "parameters": [] |
| 4238 } | 4238 } |
| 4239 ] | 4239 ] |
| 4240 }, | 4240 }, |
| 4241 { | 4241 { |
| 4242 "name": "beginInstall", |
| 4243 "description": "Initiates the install process for the given extension id
", |
| 4244 "parameters": [ |
| 4245 { |
| 4246 "name": "expected_id", |
| 4247 "type": "string", |
| 4248 "description": "The id of the extension to be installled. Must be ca
lled during a user gesture." |
| 4249 }, |
| 4250 { |
| 4251 "name": "callback", |
| 4252 "type": "function", |
| 4253 "optional": "true", |
| 4254 "parameters": [] |
| 4255 } |
| 4256 ] |
| 4257 }, |
| 4258 { |
| 4259 "name": "completeInstall", |
| 4260 "description": "", |
| 4261 "parameters": [ |
| 4262 { |
| 4263 "name": "expected_id", |
| 4264 "type": "string", |
| 4265 "description": "The id of the extension to be installled. This shoul
d match a previous call to beginInstall." |
| 4266 }, |
| 4267 { |
| 4268 "name": "callback", |
| 4269 "type": "function", |
| 4270 "optional": "true", |
| 4271 "parameters": [] |
| 4272 } |
| 4273 ] |
| 4274 }, |
| 4275 { |
| 4242 "name": "getBrowserLogin", | 4276 "name": "getBrowserLogin", |
| 4243 "description": "Returns the logged-in sync user login if there is one, o
r the empty string otherwise.", | 4277 "description": "Returns the logged-in sync user login if there is one, o
r the empty string otherwise.", |
| 4244 "parameters": [ | 4278 "parameters": [ |
| 4245 { | 4279 { |
| 4246 "name": "callback", | 4280 "name": "callback", |
| 4247 "type": "function", | 4281 "type": "function", |
| 4248 "optional": "false", | 4282 "optional": "false", |
| 4249 "parameters": [ | 4283 "parameters": [ |
| 4250 { | 4284 { |
| 4251 "name": "info", | 4285 "name": "info", |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4303 "token": { "type": "string", "optional": true } | 4337 "token": { "type": "string", "optional": true } |
| 4304 } | 4338 } |
| 4305 } | 4339 } |
| 4306 ] | 4340 ] |
| 4307 } | 4341 } |
| 4308 ] | 4342 ] |
| 4309 } | 4343 } |
| 4310 ] | 4344 ] |
| 4311 } | 4345 } |
| 4312 ] | 4346 ] |
| OLD | NEW |