diff options
author | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-12 11:14:55 +0000 |
---|---|---|
committer | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-12 11:14:55 +0000 |
commit | 02c84017fed147f772c86c0aa6f6daeadcf27da5 (patch) | |
tree | 1745059533c1c09f39474a26cc2dba349db8e38f /content/browser/renderer_host/software_frame_manager.h | |
parent | c82a88d49ae4a2bd09ef72e0e887005344adb286 (diff) | |
download | chromium_src-02c84017fed147f772c86c0aa6f6daeadcf27da5.zip chromium_src-02c84017fed147f772c86c0aa6f6daeadcf27da5.tar.gz chromium_src-02c84017fed147f772c86c0aa6f6daeadcf27da5.tar.bz2 |
Introduce SessionManager that will contain code to start user session on Chrome OS
Move profile creation / session initialization (prefs/RLZ) as well as some of OAuth session init
related code from LoginUtils to SessionManager. LoginUtils will temporarily implement
SessionManager::Delegate interface till existing test coverage is migrated from LoginUtils interface.
SessionManager will later use concept of UserSession (see design proposal at http://goto/cros-login-c14n).
LoginUtils::OnPrepareProfile() is split into
StartSession()
--PreStartSession() - things like switching logging dest
--CreateUserSession() - will eventually create UserSession instance
--StartCrosSession() - notify cros::SessionManager
--NotifyUserLoggedIn() - UserManager::UserLoggedIn()
--PrepareProfile()
PrepareProfile() - calls PM::CreateProfileAsync()
--OnProfileCreated()
----InitProfilePreferences() - early initialization
----UserProfileInitialized()
------transfer signin profile auth date (cookies/proxy auth/certs)
------RestoreAuthSessionImpl() - OAuth2LoginManager::RestoreSession()
----FinalizePrepareProfile(()
------Own TPM (if it didn't happen for some reason)
------Notify SAML offline signin limiter
------Notify ProfileImpl
------chrome::NOTIFICATION_LOGIN_USER_PROFILE_PREPARED
------InitRLZ (for primary user)
Minor cleanup
* Unify DemoApp profile initialization flow with regular one
* Don't pass display_email to LoginUtils::PrepareProfile
* Move powerwash related prefs registration to ResetScreenHandler
* Cleanup M31 migration code for |prefs::kProfileIsManaged| in LoginUtilsImpl::InitProfilePreferences()
BUG=370175,276163
Review URL: https://codereview.chromium.org/318853004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276626 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/software_frame_manager.h')
0 files changed, 0 insertions, 0 deletions