diff options
author | courage@chromium.org <courage@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-17 11:21:52 +0000 |
---|---|---|
committer | courage@chromium.org <courage@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-17 11:21:52 +0000 |
commit | 205a9928852d1d6b347cc07f4101dc1499b82557 (patch) | |
tree | aced1c4b0bcbb3da0338dd7bf29f76fed132cc9b /extensions/browser | |
parent | e89e041bf3db989e705533f3b9060b39245177b3 (diff) | |
download | chromium_src-205a9928852d1d6b347cc07f4101dc1499b82557.zip chromium_src-205a9928852d1d6b347cc07f4101dc1499b82557.tar.gz chromium_src-205a9928852d1d6b347cc07f4101dc1499b82557.tar.bz2 |
Identity API: add chrome.identity.getProfileUserInfo
getProfileUserInfo returns the email address and obfuscated gaia id of
the user signed into a profile. If the user is not signed in, empty
strings are returned.
This API is different from identity.getAccounts in two ways. The information returned is available offline, and it only applies to the primary account for the profile (even when multiple login is enabled).
BUG=368343
Review URL: https://codereview.chromium.org/327403003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277724 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser')
-rw-r--r-- | extensions/browser/extension_function_histogram_value.h | 1 |
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 291fd10..388a113 100644 --- a/extensions/browser/extension_function_histogram_value.h +++ b/extensions/browser/extension_function_histogram_value.h @@ -849,6 +849,7 @@ enum HistogramValue { INPUTMETHODPRIVATE_GETCURRENTINPUTMETHOD, INPUTMETHODPRIVATE_SETCURRENTINPUTMETHOD, INPUTMETHODPRIVATE_GETINPUTMETHODS, + IDENTITY_GETPROFILEUSERINFO, // Last entry: Add new entries above and ensure to update // tools/metrics/histograms/histograms/histograms.xml. ENUM_BOUNDARY |