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

Unified Diff: chrome/browser/chromeos/login/users/user_manager.h

Issue 385633002: UserManager refactoring: move active user session restoration to UserSessionManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/chromeos/login/users/user_manager.h
diff --git a/chrome/browser/chromeos/login/users/user_manager.h b/chrome/browser/chromeos/login/users/user_manager.h
index 7fa359a78c8a5a11d03c797733675cce0e32c8cd..aec52bab42397e7eb4a8c29fc256f7a80685db37 100644
--- a/chrome/browser/chromeos/login/users/user_manager.h
+++ b/chrome/browser/chromeos/login/users/user_manager.h
@@ -49,9 +49,6 @@ class UserManager {
// on user_id hash would be accessing up-to-date value.
virtual void ActiveUserHashChanged(const std::string& hash);
- // Called when UserManager finishes restoring user sessions after crash.
- virtual void PendingUserSessionsRestoreFinished();
-
protected:
virtual ~UserSessionStateObserver();
};
@@ -160,13 +157,6 @@ class UserManager {
// Fires NOTIFICATION_SESSION_STARTED.
virtual void SessionStarted() = 0;
- // Usually is called when Chrome is restarted after a crash and there's an
- // active session. First user (one that is passed with --login-user) Chrome
- // session has been already restored at this point. This method asks session
- // manager for all active user sessions, marks them as logged in
- // and notifies observers.
- virtual void RestoreActiveSessions() = 0;
-
// Removes the user from the device. Note, it will verify that the given user
// isn't the owner, so calling this method for the owner will take no effect.
// Note, |delegate| can be NULL.
@@ -286,10 +276,6 @@ class UserManager {
// or restart after crash.
virtual bool IsSessionStarted() const = 0;
- // Returns true iff browser has been restarted after crash and UserManager
- // finished restoring user sessions.
- virtual bool UserSessionsRestored() const = 0;
-
// Returns true if data stored or cached for the user with the given user id
// address outside that user's cryptohome (wallpaper, avatar, OAuth token
// status, display name, display email) is to be treated as ephemeral.
« no previous file with comments | « chrome/browser/chromeos/login/users/mock_user_manager.h ('k') | chrome/browser/chromeos/login/users/user_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698