Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: chrome/common/extensions/api/webstore_private.json

Issue 196783002: Export a private webstore API to call into the new inline sign-in flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Redirect to the continue URL when Sync is disabled Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698