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 sign-in method was invoked incorrectly (e.g. with an invalid continue URL), sign-in is unavailable (e.g. in Incognito) , or if the user is already signed in. Upon such a failure, chrome.runtime.lastE rror will be set to 'invalid_continue_url', 'signin_is_disallowed', 'signin_fail ed', 'merge_session_failed' or 'user_is_already_signed_in'.", | |
guohui
2014/03/24 20:55:58
i think webstore has no access to chrome.runtime.l
Ilya Sherman
2014/03/26 08:21:39
I checked with Yoyo from the extensions team, and
| |
269 "optional": true, | |
270 "parameters": [] | |
271 } | |
272 ] | |
255 } | 273 } |
256 ] | 274 ] |
257 } | 275 } |
258 ] | 276 ] |
OLD | NEW |