Index: chromeos/login/auth/cryptohome_authenticator.cc |
diff --git a/chromeos/login/auth/cryptohome_authenticator.cc b/chromeos/login/auth/cryptohome_authenticator.cc |
index 970f6f1d5a3c7376691d8f4506b64360f9b04ac3..0c3c162f3ed5416b6028303f1e345054f3dac3cc 100644 |
--- a/chromeos/login/auth/cryptohome_authenticator.cc |
+++ b/chromeos/login/auth/cryptohome_authenticator.cc |
@@ -384,9 +384,9 @@ |
} |
void CryptohomeAuthenticator::AuthenticateToLogin( |
- content::BrowserContext* context, |
+ Profile* profile, |
const UserContext& user_context) { |
- authentication_context_ = context; |
+ authentication_profile_ = profile; |
current_state_.reset(new AuthAttemptState(user_context, |
user_manager::USER_TYPE_REGULAR, |
false, // unlock |
@@ -401,9 +401,9 @@ |
false /* create_if_nonexistent */); |
} |
-void CryptohomeAuthenticator::CompleteLogin(content::BrowserContext* context, |
+void CryptohomeAuthenticator::CompleteLogin(Profile* profile, |
const UserContext& user_context) { |
- authentication_context_ = context; |
+ authentication_profile_ = profile; |
current_state_.reset(new AuthAttemptState(user_context, |
user_manager::USER_TYPE_REGULAR, |
true, // unlock |