diff options
author | courage@chromium.org <courage@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-18 10:17:03 +0000 |
---|---|---|
committer | courage@chromium.org <courage@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-18 10:17:03 +0000 |
commit | b4d210e66978cf1a0180973abb3318950aa90214 (patch) | |
tree | aa0c4b985e63bbacd96a68c88c08b2417334d6f5 /chrome/common/extensions/api/_api_features.json | |
parent | ea83e92062591a4ade81f5fbc42e5a9292179b98 (diff) | |
download | chromium_src-b4d210e66978cf1a0180973abb3318950aa90214.zip chromium_src-b4d210e66978cf1a0180973abb3318950aa90214.tar.gz chromium_src-b4d210e66978cf1a0180973abb3318950aa90214.tar.bz2 |
Identity API: Add chrome.identity.onSignInChanged routing and IDL
This is the first part of adding the chrome.identity.onSignInChanged
event. This change creates the event in dev channel, and an event
router that can dispatch sign-in events to listening extensions.
A new permission, "identity.email" determines whether or not the app
may be given the email address of the account associated with the
user's profile. Apps without the permission still receive events, but
without the email address.
The code to actually generate the events will come in a future CL.
BUG=305830
Review URL: https://codereview.chromium.org/27283002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229345 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api/_api_features.json')
-rw-r--r-- | chrome/common/extensions/api/_api_features.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/extensions/api/_api_features.json b/chrome/common/extensions/api/_api_features.json index b6e72e7..9026c20 100644 --- a/chrome/common/extensions/api/_api_features.json +++ b/chrome/common/extensions/api/_api_features.json @@ -309,6 +309,11 @@ "dependencies": ["permission:identity"], "contexts": ["blessed_extension"] }, + "identity.onSignInChanged": { + "channel": "dev", + "dependencies": ["permission:identity"], + "contexts": ["blessed_extension"] + }, "identityPrivate": { "dependencies": ["permission:identityPrivate"], "contexts": ["blessed_extension"] |