| Index: chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
|
| diff --git a/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc b/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
|
| index 0ba5513e4ec057d3fb2fede82705fdce2da40e0e..1a15f8e6b17b0031ffb674dfbb05e6361d2b28f5 100644
|
| --- a/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
|
| +++ b/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
|
| @@ -414,7 +414,7 @@ void UserManagerScreenHandler::HandleAuthenticatedLaunchUser(
|
| }
|
|
|
| authenticating_profile_index_ = profile_index;
|
| - if (!chrome::ValidateLocalAuthCredentials(profile_index, password)) {
|
| + if (!LocalAuth::ValidateLocalAuthCredentials(profile_index, password)) {
|
| // Make a second attempt via an on-line authentication call. This handles
|
| // profiles that are missing sign-in credentials and also cases where the
|
| // password has been changed externally.
|
| @@ -525,8 +525,8 @@ void UserManagerScreenHandler::HandleHardlockUserPod(
|
|
|
| void UserManagerScreenHandler::OnClientLoginSuccess(
|
| const ClientLoginResult& result) {
|
| - chrome::SetLocalAuthCredentials(authenticating_profile_index_,
|
| - password_attempt_);
|
| + LocalAuth::SetLocalAuthCredentials(authenticating_profile_index_,
|
| + password_attempt_);
|
| ReportAuthenticationResult(true, ProfileMetrics::AUTH_ONLINE);
|
| }
|
|
|
| @@ -547,8 +547,8 @@ void UserManagerScreenHandler::OnClientLoginFailure(
|
| // profile was locked. Save the password to streamline future unlocks.
|
| if (success) {
|
| DCHECK(!password_attempt_.empty());
|
| - chrome::SetLocalAuthCredentials(authenticating_profile_index_,
|
| - password_attempt_);
|
| + LocalAuth::SetLocalAuthCredentials(authenticating_profile_index_,
|
| + password_attempt_);
|
| }
|
|
|
| bool offline = (state == GoogleServiceAuthError::CONNECTION_FAILED ||
|
|
|