| Index: chrome/common/extensions/api/identity.idl
|
| diff --git a/chrome/common/extensions/api/identity.idl b/chrome/common/extensions/api/identity.idl
|
| index 5f018bd2f979ae2c9dedf036b66d4e8fa17bf4bb..a4893b25e826637ef624fb537f2cb99e53a00f02 100644
|
| --- a/chrome/common/extensions/api/identity.idl
|
| +++ b/chrome/common/extensions/api/identity.idl
|
| @@ -46,10 +46,16 @@ namespace identity {
|
| };
|
|
|
| callback GetAuthTokenCallback = void (optional DOMString token);
|
| + callback GetAccountsCallback = void (AccountInfo[] accounts);
|
| callback InvalidateAuthTokenCallback = void ();
|
| callback LaunchWebAuthFlowCallback = void (optional DOMString responseUrl);
|
|
|
| interface Functions {
|
| + // Retrieves a list of AccountInfo objects describing the accounts
|
| + // present on the profile.<br>
|
| + // <code>getAccounts</code> is only supported on dev channel.
|
| + static void getAccounts(GetAccountsCallback callback);
|
| +
|
| // Gets an OAuth2 access token using the client ID and scopes
|
| // specified in the <a
|
| // href="app_identity.html#update_manifest"><code>oauth2</code>
|
|
|