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":"webstorePrivate", | 7 "namespace":"webstorePrivate", |
8 "description": "none", | 8 "description": "none", |
9 "functions": [ | 9 "functions": [ |
10 { | 10 { |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 "parameters": [ | 245 "parameters": [ |
246 { | 246 { |
247 "name": "callback", | 247 "name": "callback", |
248 "type": "function", | 248 "type": "function", |
249 "optional": false, | 249 "optional": false, |
250 "parameters": [ | 250 "parameters": [ |
251 { "name": "is_incognito", "type": "boolean" } | 251 { "name": "is_incognito", "type": "boolean" } |
252 ] | 252 ] |
253 } | 253 } |
254 ] | 254 ] |
| 255 }, |
| 256 { |
| 257 "name": "signIn", |
| 258 "description": "Signs the user into Chrome.", |
| 259 "parameters": [ |
| 260 { |
| 261 "name": "continue_url", |
| 262 "type": "string", |
| 263 "description": "The continue URL to navigate to once sign-in complet
es." |
| 264 }, |
| 265 { |
| 266 "name": "callback", |
| 267 "type": "function", |
| 268 "description": "Called if the user is already signed in or if the si
gn-in method was invoked incorrectly (e.g. with an invalid continue URL), sign-i
n is unavailable (e.g. in Incognito), or the API was not called in response to a
user gesture. Upon such a failure, chrome.runtime.lastError will be set to 'inv
alid_continue_url', 'signin_is_disallowed', 'signin_failed', 'merge_session_fail
ed', or 'user_getsure_required'.", |
| 269 "optional": true, |
| 270 "parameters": [] |
| 271 } |
| 272 ] |
255 } | 273 } |
256 ] | 274 ] |
257 } | 275 } |
258 ] | 276 ] |
OLD | NEW |