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

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

Issue 2753753007: Introduce Identity Service and its initial usage (Closed)
Patch Set: Response to reviews Created 3 years, 9 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
Index: chrome/browser/extensions/api/identity/identity_get_profile_user_info_function.h
diff --git a/chrome/browser/extensions/api/identity/identity_get_profile_user_info_function.h b/chrome/browser/extensions/api/identity/identity_get_profile_user_info_function.h
index 2d3b434705d3c499888efb75a8a70af0318bdae3..c2a1ce9137aef82877d2f2973a4cc62b1e1f74d8 100644
--- a/chrome/browser/extensions/api/identity/identity_get_profile_user_info_function.h
+++ b/chrome/browser/extensions/api/identity/identity_get_profile_user_info_function.h
@@ -6,7 +6,9 @@
#define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_GET_PROFILE_USER_INFO_FUNCTION_H_
#include "chrome/browser/extensions/chrome_extension_function.h"
+#include "components/signin/core/account_id/account_id.h"
#include "extensions/browser/extension_function_histogram_value.h"
+#include "services/identity/public/interfaces/identity_manager.mojom.h"
namespace extensions {
@@ -20,9 +22,12 @@ class IdentityGetProfileUserInfoFunction
private:
~IdentityGetProfileUserInfoFunction() override;
+ void OnReceivedPrimaryAccountId(const base::Optional<AccountId>& account_id);
// UIThreadExtensionFunction implementation.
ExtensionFunction::ResponseAction Run() override;
+
+ identity::mojom::IdentityManagerPtr identity_manager_;
};
} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/extensions/api/identity/identity_get_profile_user_info_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698