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

Unified Diff: chrome/browser/chromeos/login/login_utils.cc

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/login_utils.cc
diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc
index 2415d557342805de9507d815c7234164b0101393..8330bc4484dacd8b209e82c1bd61d3f2d25bc696 100644
--- a/chrome/browser/chromeos/login/login_utils.cc
+++ b/chrome/browser/chromeos/login/login_utils.cc
@@ -144,10 +144,9 @@ bool CanPerformEarlyRestart() {
struct DoBrowserLaunchOnLocaleLoadedData;
-class LoginUtilsImpl
- : public LoginUtils,
- public base::SupportsWeakPtr<LoginUtilsImpl>,
- public UserSessionManager::Delegate {
+class LoginUtilsImpl : public LoginUtils,
+ public base::SupportsWeakPtr<LoginUtilsImpl>,
+ public UserSessionManagerDelegate {
public:
LoginUtilsImpl()
: delegate_(NULL) {
@@ -337,11 +336,8 @@ void LoginUtilsImpl::PrepareProfile(
// creation and initialization to SessionManager. Later LoginUtils will be
// removed and all LoginUtils clients will just work with SessionManager
// directly.
- UserSessionManager::GetInstance()->StartSession(user_context,
- authenticator_,
- has_auth_cookies,
- has_active_session,
- this);
+ UserSessionManager::GetInstance()->StartSession(
+ user_context, authenticator_, has_auth_cookies, has_active_session, this);
}
void LoginUtilsImpl::DelegateDeleted(LoginUtils::Delegate* delegate) {

Powered by Google App Engine
This is Rietveld 408576698