Index: chrome/browser/chromeos/login/easy_unlock/easy_unlock_user_login_flow.cc |
diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_user_login_flow.cc b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_user_login_flow.cc |
index 6dec53e6b718fa58422b6176c277c548d7711652..2ba28ad9ef41969600bb77223a568c123e5e64ba 100644 |
--- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_user_login_flow.cc |
+++ b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_user_login_flow.cc |
@@ -7,9 +7,8 @@ |
#include "chrome/browser/chromeos/profiles/profile_helper.h" |
#include "chrome/browser/signin/easy_unlock_service.h" |
-EasyUnlockUserLoginFlow::EasyUnlockUserLoginFlow(const std::string& user_id) |
- : chromeos::ExtendedUserFlow(user_id) { |
-} |
+EasyUnlockUserLoginFlow::EasyUnlockUserLoginFlow(const AccountId& account_id) |
+ : chromeos::ExtendedUserFlow(account_id) {} |
EasyUnlockUserLoginFlow::~EasyUnlockUserLoginFlow() {} |
@@ -31,8 +30,8 @@ bool EasyUnlockUserLoginFlow::HandleLoginFailure( |
EasyUnlockService* service = EasyUnlockService::Get(profile); |
if (!service) |
return false; |
- service->HandleAuthFailure(user_id()); |
- service->RecordEasySignInOutcome(user_id(), false); |
+ service->HandleAuthFailure(account_id()); |
+ service->RecordEasySignInOutcome(account_id(), false); |
UnregisterFlowSoon(); |
return true; |
} |
@@ -43,7 +42,7 @@ void EasyUnlockUserLoginFlow::HandleLoginSuccess( |
EasyUnlockService* service = EasyUnlockService::Get(profile); |
if (!service) |
return; |
- service->RecordEasySignInOutcome(user_id(), true); |
+ service->RecordEasySignInOutcome(account_id(), true); |
} |
bool EasyUnlockUserLoginFlow::HandlePasswordChangeDetected() { |