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

Unified Diff: chrome/browser/chromeos/login/lock/screen_locker.cc

Issue 2128053002: Implements the feature notification for Quick Unlock (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/lock/screen_locker.cc
diff --git a/chrome/browser/chromeos/login/lock/screen_locker.cc b/chrome/browser/chromeos/login/lock/screen_locker.cc
index 10ccad0376827f2a9c630ed2c9c6008ec94fb390..3d1db24acc193fcdce5e27cbc4130cf33d7d2a35 100644
--- a/chrome/browser/chromeos/login/lock/screen_locker.cc
+++ b/chrome/browser/chromeos/login/lock/screen_locker.cc
@@ -255,6 +255,12 @@ void ScreenLocker::OnPasswordAuthSuccess(const UserContext& user_context) {
PinStorageFactory::GetForAccountId(user_context.GetAccountId());
if (pin_storage)
pin_storage->MarkStrongAuth();
+ if (quickunlock::FeatureNotificationController::
+ ShouldShowNotificationForAccountId(user_context.GetAccountId())) {
+ qu_feature_notification_controller_ =
+ new quickunlock::FeatureNotificationController(
+ user_context.GetAccountId());
+ }
}
void ScreenLocker::UnlockOnLoginSuccess() {

Powered by Google App Engine
This is Rietveld 408576698