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

Unified Diff: chrome/browser/chromeos/login/user_manager_impl.h

Issue 14069017: Move *UserLoggedIn methods from UserManager to UserManagerImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit addressed. Created 7 years, 8 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/chromeos/login/user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_manager_impl.h
diff --git a/chrome/browser/chromeos/login/user_manager_impl.h b/chrome/browser/chromeos/login/user_manager_impl.h
index 1f58592c10279e3f12b0314c328883231ce3b9be..e5b565a56161510d393b0cb04cb675d5ddf20d93 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.h
+++ b/chrome/browser/chromeos/login/user_manager_impl.h
@@ -51,15 +51,6 @@ class UserManagerImpl
const std::string& username_hash,
bool browser_restart) OVERRIDE;
virtual void SwitchActiveUser(const std::string& email) OVERRIDE;
- virtual void RetailModeUserLoggedIn() OVERRIDE;
- virtual void GuestUserLoggedIn() OVERRIDE;
- virtual void KioskAppLoggedIn(const std::string& username) OVERRIDE;
- virtual void LocallyManagedUserLoggedIn(const std::string& username) OVERRIDE;
- virtual void PublicAccountUserLoggedIn(User* user) OVERRIDE;
- virtual void RegularUserLoggedIn(const std::string& email,
- bool browser_restart) OVERRIDE;
- virtual void RegularUserLoggedInAsEphemeral(
- const std::string& email) OVERRIDE;
virtual void SessionStarted() OVERRIDE;
virtual void RemoveUser(const std::string& email,
RemoveUserDelegate* delegate) OVERRIDE;
@@ -173,6 +164,27 @@ class UserManagerImpl
// Same as FindUserInList but returns non-const pointer to User object.
User* FindUserInListAndModify(const std::string& email);
+ // Indicates that a user just logged in as guest.
+ void GuestUserLoggedIn();
+
+ // Indicates that a regular user just logged in.
+ void RegularUserLoggedIn(const std::string& email, bool browser_restart);
+
+ // Indicates that a regular user just logged in as ephemeral.
+ void RegularUserLoggedInAsEphemeral(const std::string& email);
+
+ // Indicates that a locally managed user just logged in.
+ void LocallyManagedUserLoggedIn(const std::string& username);
+
+ // Indicates that a user just logged into a public session.
+ void PublicAccountUserLoggedIn(User* user);
+
+ // Indicates that a kiosk app robot just logged in.
+ void KioskAppLoggedIn(const std::string& app_id);
+
+ // Indicates that a user just logged into a retail mode session.
+ void RetailModeUserLoggedIn();
+
// Notifies that user has logged in.
// Sends NOTIFICATION_LOGIN_USER_CHANGED notification.
void NotifyOnLogin();
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698