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

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

Issue 608693006: [Easy Unlock] When hardlocking, show a different icon on user (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 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 f56dd63d3c5aeba39cb3b7b4a656a82bbfdb4693..e09d9c906b0ef6ebdea1a809f6b0ff31a7cbf2c0 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
@@ -813,6 +813,10 @@ void UserSessionManager::FinalizePrepareProfile(Profile* profile) {
InitializeCRLSetFetcher(user);
}
+ if (user && user->GetType() == user_manager::USER_TYPE_REGULAR &&
+ EasyUnlockService::Get(profile))
+ EasyUnlockService::Get(profile)->SetHardlocked(false);
+
UpdateEasyUnlockKeys(profile);
user_context_.ClearSecrets();
« no previous file with comments | « chrome/browser/chromeos/login/lock/screen_locker.cc ('k') | chrome/browser/signin/easy_unlock_screenlock_state_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698