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

Unified 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, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/webstore_private.json
diff --git a/chrome/common/extensions/api/webstore_private.json b/chrome/common/extensions/api/webstore_private.json
index 8d8bea71df1ec3dd3828303b51325e306a9908a2..34eda36a62f2941cd9ec000619dbf960b42e253a 100644
--- a/chrome/common/extensions/api/webstore_private.json
+++ b/chrome/common/extensions/api/webstore_private.json
@@ -252,6 +252,24 @@
]
}
]
+ },
+ {
+ "name": "signIn",
+ "description": "Signs the user into Chrome.",
+ "parameters": [
+ {
+ "name": "continue_url",
+ "type": "string",
+ "description": "The continue URL to navigate to once sign-in completes."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "description": "Called if the user is already signed in or if the sign-in method was invoked incorrectly (e.g. with an invalid continue URL), sign-in 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 'invalid_continue_url', 'signin_is_disallowed', 'signin_failed', 'merge_session_failed', or 'user_getsure_required'.",
+ "optional": true,
+ "parameters": []
+ }
+ ]
}
]
}
« 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