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

Unified Diff: ash/session/session_state_delegate.h

Issue 379803004: Move UserInfo to user_manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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 | « ash/frame/frame_util.cc ('k') | ash/session/user_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/session/session_state_delegate.h
diff --git a/ash/session/session_state_delegate.h b/ash/session/session_state_delegate.h
index 78777a06c42093ec8bbf213d2575230262b7c759..89c1ff8d4f951d2bd76630ebddfaf86f17107b8c 100644
--- a/ash/session/session_state_delegate.h
+++ b/ash/session/session_state_delegate.h
@@ -23,10 +23,13 @@ namespace gfx {
class ImageSkia;
} // namespace gfx
+namespace user_manager {
+class UserInfo;
+} // namespace user_manager
+
namespace ash {
class SessionStateObserver;
-class UserInfo;
// The index for the multi-profile item to use. The list is always LRU sorted
// So that the index #0 is the currently active user.
@@ -113,10 +116,11 @@ class ASH_EXPORT SessionStateDelegate {
// Gets the user info for the user with the given |index|.
// Note that |index| can at maximum be |NumberOfLoggedInUsers() - 1|.
- virtual const UserInfo* GetUserInfo(MultiProfileIndex index) const = 0;
+ virtual const user_manager::UserInfo* GetUserInfo(
+ MultiProfileIndex index) const = 0;
// Gets the avatar image for the user associated with the |context|.
- virtual const UserInfo* GetUserInfo(
+ virtual const user_manager::UserInfo* GetUserInfo(
content::BrowserContext* context) const = 0;
// Whether or not the window's title should show the avatar.
« no previous file with comments | « ash/frame/frame_util.cc ('k') | ash/session/user_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698