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

Unified Diff: chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.cc

Issue 737043002: Register CRLSet for the guest user (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/session/restore_after_crash_session_manager_delegate.cc
diff --git a/chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.cc b/chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.cc
index 1b43698569a27302cfb54af40278faf8312ba631..bbcea80a04d0690ac16b36fc8b80284288cdab88 100644
--- a/chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.cc
+++ b/chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.cc
@@ -37,8 +37,10 @@ void RestoreAfterCrashSessionManagerDelegate::Start() {
if (command_line->HasSwitch(chromeos::switches::kLoginUser)) {
// This is done in SessionManager::OnProfileCreated during normal login.
UserSessionManager* user_session_mgr = UserSessionManager::GetInstance();
+ user_manager::UserManager* user_manager = user_manager::UserManager::Get();
user_session_mgr->InitRlz(profile());
user_session_mgr->InitializeCerts(profile());
+ user_session_mgr->InitializeCRLSetFetcher(user_manager->GetActiveUser());
// Send the PROFILE_PREPARED notification and call SessionStarted()
// so that the Launcher and other Profile dependent classes are created.
@@ -48,7 +50,7 @@ void RestoreAfterCrashSessionManagerDelegate::Start() {
content::Details<Profile>(profile()));
// This call will set session state to SESSION_STATE_ACTIVE (same one).
- user_manager::UserManager::Get()->SessionStarted();
+ user_manager->SessionStarted();
// Now is the good time to retrieve other logged in users for this session.
// First user has been already marked as logged in and active in

Powered by Google App Engine
This is Rietveld 408576698