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": [] |
+ } |
+ ] |
} |
] |
} |