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

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: 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 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..70a0d7720c1a474d36d4d6fd769deae97ce5ea7d 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 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.lastError will be set to 'invalid_continue_url', 'signin_is_disallowed', 'signin_failed', '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
+ "optional": true,
+ "parameters": []
+ }
+ ]
}
]
}

Powered by Google App Engine
This is Rietveld 408576698