Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Unified Diff: chrome/browser/extensions/api/identity/identity_api.h

Issue 327403003: Identity API: add chrome.identity.getProfileUserInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add identity.email permission to stubs_app Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/identity/identity_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/identity/identity_api.h
diff --git a/chrome/browser/extensions/api/identity/identity_api.h b/chrome/browser/extensions/api/identity/identity_api.h
index 351aad954126b45c9cbd2d0a5ca4d1ded240a62d..9d3f6b8f185adf1220e25a7a098a1ea8e3f360c3 100644
--- a/chrome/browser/extensions/api/identity/identity_api.h
+++ b/chrome/browser/extensions/api/identity/identity_api.h
@@ -295,6 +295,21 @@ class IdentityGetAuthTokenFunction : public ChromeAsyncExtensionFunction,
scoped_ptr<IdentitySigninFlow> signin_flow_;
};
+class IdentityGetProfileUserInfoFunction
+ : public ChromeUIThreadExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("identity.getProfileUserInfo",
+ IDENTITY_GETPROFILEUSERINFO);
+
+ IdentityGetProfileUserInfoFunction();
+
+ private:
+ virtual ~IdentityGetProfileUserInfoFunction();
+
+ // UIThreadExtensionFunction implementation.
+ virtual ExtensionFunction::ResponseAction Run() OVERRIDE;
+};
+
class IdentityRemoveCachedAuthTokenFunction
: public ChromeSyncExtensionFunction {
public:
« no previous file with comments | « no previous file | chrome/browser/extensions/api/identity/identity_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698