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

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

Issue 2663883003: Move impl of identity.GetProfileUserInfo() extension API to its own file (Closed)
Patch Set: nit Created 3 years, 11 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 | « chrome/browser/extensions/BUILD.gn ('k') | 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 b39ae4152c2d3a5f969760db26ee0ecb05255f2b..66599fc924ce67065631de2186a9281ee5fdf9a0 100644
--- a/chrome/browser/extensions/api/identity/identity_api.h
+++ b/chrome/browser/extensions/api/identity/identity_api.h
@@ -18,6 +18,7 @@
#include "build/build_config.h"
#include "chrome/browser/extensions/api/identity/extension_token_key.h"
#include "chrome/browser/extensions/api/identity/gaia_web_auth_flow.h"
+#include "chrome/browser/extensions/api/identity/identity_get_profile_user_info_function.h"
#include "chrome/browser/extensions/api/identity/identity_launch_web_auth_flow_function.h"
#include "chrome/browser/extensions/api/identity/identity_mint_queue.h"
#include "chrome/browser/extensions/api/identity/identity_remove_cached_auth_token_function.h"
@@ -291,21 +292,6 @@ class IdentityGetAuthTokenFunction : public ChromeAsyncExtensionFunction,
std::unique_ptr<IdentitySigninFlow> signin_flow_;
};
-class IdentityGetProfileUserInfoFunction
- : public ChromeUIThreadExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("identity.getProfileUserInfo",
- IDENTITY_GETPROFILEUSERINFO);
-
- IdentityGetProfileUserInfoFunction();
-
- private:
- ~IdentityGetProfileUserInfoFunction() override;
-
- // UIThreadExtensionFunction implementation.
- ExtensionFunction::ResponseAction Run() override;
-};
-
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/extensions/api/identity/identity_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698