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

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: Rebase Created 6 years, 7 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 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 ]
OLDNEW
« no previous file with comments | « chrome/browser/signin/fake_signin_manager.cc ('k') | chrome/test/data/extensions/api_test/webstore_private/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698