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

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

Issue 2081873002: Incorporate comments in Dbus code and add Eol icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add new vector icons and add a dismiss button. Created 4 years, 6 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/session/user_session_manager.cc
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc
index 59abe8a59442caf1588ad87cf0f40144d5410200..2ce1df9656a4df03bd8bd8f9316e154de0d9ac45 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
@@ -1210,12 +1210,6 @@ void UserSessionManager::FinalizePrepareProfile(Profile* profile) {
// resolved.
if (delegate_)
delegate_->OnProfilePrepared(profile, browser_launched);
-
- // Check to see if this profile should show EndOfLife Notification and show
- // the message accordingly.
- if (!ShouldShowEolNotification(profile))
- return;
- CheckEolStatus(profile);
}
void UserSessionManager::ActivateWizard(const std::string& screen_name) {
@@ -1751,6 +1745,12 @@ void UserSessionManager::DoBrowserLaunchInternal(Profile* profile,
user_manager::UserManager::Get()->SessionStarted();
chromeos::BootTimesRecorder::Get()->LoginDone(
user_manager::UserManager::Get()->IsCurrentUserNew());
+
+ // Check to see if this profile should show EndOfLife Notification and show
+ // the message accordingly.
+ if (!ShouldShowEolNotification(profile))
+ return;
+ CheckEolStatus(profile);
}
void UserSessionManager::RespectLocalePreferenceWrapper(

Powered by Google App Engine
This is Rietveld 408576698