Chromium Code Reviews| 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 f461799aa41dbea7994e0110f96a3cb2ddf71a97..79a3e4c4dca44183bfadac2eff816bf6e6f34fae 100644 |
| --- a/chrome/browser/chromeos/login/session/user_session_manager.cc |
| +++ b/chrome/browser/chromeos/login/session/user_session_manager.cc |
| @@ -1740,6 +1740,17 @@ void UserSessionManager::DoBrowserLaunchInternal(Profile* profile, |
| if (HatsNotificationController::ShouldShowSurveyToProfile(profile)) |
| hats_notification_controller_ = new HatsNotificationController(profile); |
| + if (QuickUnlockNotificationController::ShouldShowNotificationToProfile( |
|
jdufault
2016/07/08 21:15:41
What about just QuickUnlockNotificationController:
malaykeshav
2016/07/09 00:43:55
Done
|
| + profile)) { |
| + if (qu_feature_notification_handler_.find(profile) == |
| + qu_feature_notification_handler_.end()) { |
| + auto qu_feature_notification_controller = |
|
jdufault
2016/07/08 21:15:42
nit: auto*
malaykeshav
2016/07/09 00:43:55
done
|
| + new QuickUnlockNotificationController(profile); |
| + qu_feature_notification_handler_.insert( |
| + std::make_pair(profile, qu_feature_notification_controller)); |
| + } |
| + } |
| + |
| // Mark login host for deletion after browser starts. This |
| // guarantees that the message loop will be referenced by the |
| // browser before it is dereferenced by the login host. |