|
Identity API: add chrome.identity.getAccounts
This new API returns a list of accounts signed in to the profile. The
first element of the list is always the primary account. Other accounts
are returned after, sorted by obfuscated gaia ID.
The API is currently available in dev channel. If the flag
--extensions-multi-account (or --new-profile-management) is enabled,
getAccounts will return all accounts. Otherwise only the primary account
is returned.
BUG= 258515
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270325
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+444 lines, -84 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/identity/account_tracker.h
|
View
|
1
2
3
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/identity/account_tracker.cc
|
View
|
|
2 chunks |
+42 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/identity/account_tracker_unittest.cc
|
View
|
1
2
3
4
5
|
23 chunks |
+151 lines, -77 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/identity/identity_api.h
|
View
|
|
3 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/identity/identity_api.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/identity/identity_apitest.cc
|
View
|
1
2
3
|
3 chunks |
+136 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/_api_features.json
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/identity.idl
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/signin/core/common/profile_management_switches.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/signin/core/common/profile_management_switches.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/signin/core/common/signin_switches.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/signin/core/common/signin_switches.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/extension_function_histogram_value.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|