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

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

Issue 296773002: Add a Key class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 7 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 edd00d1d4da93a99721cad921e0c10db64c9a5ae..dee9d001486ac0fb4b31705aa369ffaec3f052c9 100644
--- a/chrome/browser/chromeos/login/lock/screen_locker.cc
+++ b/chrome/browser/chromeos/login/lock/screen_locker.cc
@@ -252,11 +252,10 @@ void ScreenLocker::Authenticate(const UserContext& user_context) {
// Special case: supervised users. Use special authenticator.
if (const User* user = FindUnlockUser(user_context.GetUserID())) {
if (user->GetType() == User::USER_TYPE_LOCALLY_MANAGED) {
- UserContext updated_context =
- UserManager::Get()
- ->GetSupervisedUserManager()
- ->GetAuthentication()
- ->TransformPasswordInContext(user_context);
+ UserContext updated_context = UserManager::Get()
+ ->GetSupervisedUserManager()
+ ->GetAuthentication()
+ ->TransformKey(user_context);
// TODO(antrim) : replace empty closure with explicit method.
// http://crbug.com/351268
BrowserThread::PostTask(
« no previous file with comments | « chrome/browser/chromeos/login/fake_login_utils.cc ('k') | chrome/browser/chromeos/login/lock/screen_locker_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698