summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorcourage@chromium.org <courage@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 03:55:16 +0000
committercourage@chromium.org <courage@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 03:55:16 +0000
commit8e3032ef0e88d5bab5574208897050834320dd2d (patch)
tree81aab7c956eb0648c6ca0fdff6e0afc5a7501b6c /extensions
parentbdeb84ec514dadd2f18932545a0a0a5ca23b28aa (diff)
downloadchromium_src-8e3032ef0e88d5bab5574208897050834320dd2d.zip
chromium_src-8e3032ef0e88d5bab5574208897050834320dd2d.tar.gz
chromium_src-8e3032ef0e88d5bab5574208897050834320dd2d.tar.bz2
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 Review URL: https://codereview.chromium.org/274853002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270325 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions')
-rw-r--r--extensions/browser/extension_function_histogram_value.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/browser/extension_function_histogram_value.h b/extensions/browser/extension_function_histogram_value.h
index d2b6f21..eea8f61 100644
--- a/extensions/browser/extension_function_histogram_value.h
+++ b/extensions/browser/extension_function_histogram_value.h
@@ -828,6 +828,7 @@ enum HistogramValue {
SYNCEDNOTIFICATIONSPRIVATE_GETINITIALDATA,
SYNCEDNOTIFICATIONSPRIVATE_UPDATENOTIFICATION,
SYNCEDNOTIFICATIONSPRIVATE_SETRENDERCONTEXT,
+ IDENTITY_GETACCOUNTS,
// Last entry: Add new entries above and ensure to update
// tools/metrics/histograms/histograms/histograms.xml.
ENUM_BOUNDARY