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

Unified Diff: chromeos/login/auth/cryptohome_authenticator.cc

Issue 681593003: Revert of Extract LoginPerformer to chromeos/auth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « chromeos/login/auth/cryptohome_authenticator.h ('k') | chromeos/login/auth/login_performer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chromeos/login/auth/cryptohome_authenticator.h ('k') | chromeos/login/auth/login_performer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698