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

Unified Diff: chrome/browser/chromeos/login/auth/login_performer.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/auth/login_performer.cc
diff --git a/chrome/browser/chromeos/login/auth/login_performer.cc b/chrome/browser/chromeos/login/auth/login_performer.cc
index b92b93a45a74c5ddc16958de1f0fc3f5854db382..dcf2cde265f2bf34d41425672069f79b0ae2a9bc 100644
--- a/chrome/browser/chromeos/login/auth/login_performer.cc
+++ b/chrome/browser/chromeos/login/auth/login_performer.cc
@@ -236,8 +236,7 @@ void LoginPerformer::LoginAsLocallyManagedUser(
SupervisedUserAuthentication* authentication = UserManager::Get()->
GetSupervisedUserManager()->GetAuthentication();
- UserContext user_context_copy =
- authentication->TransformPasswordInContext(user_context);
+ UserContext user_context_copy = authentication->TransformKey(user_context);
if (authentication->GetPasswordSchema(user_context.GetUserID()) ==
SupervisedUserAuthentication::SCHEMA_SALT_HASHED) {
@@ -253,7 +252,7 @@ void LoginPerformer::LoginAsLocallyManagedUser(
base::Bind(&ExtendedAuthenticator::AuthenticateToMount,
extended_authenticator_.get(),
user_context_copy,
- ExtendedAuthenticator::HashSuccessCallback()));
+ ExtendedAuthenticator::ResultCallback()));
} else {
authenticator_ = LoginUtils::Get()->CreateAuthenticator(this);
« no previous file with comments | « chrome/browser/chromeos/login/auth/key_unittest.cc ('k') | chrome/browser/chromeos/login/auth/mock_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698