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

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

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/authenticator.cc ('k') | chromeos/login/auth/cryptohome_authenticator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/auth/cryptohome_authenticator.h
diff --git a/chromeos/login/auth/cryptohome_authenticator.h b/chromeos/login/auth/cryptohome_authenticator.h
index fac0d0687b30e82e44b254eefc0182bc778e28a7..980dc0f3baa069fca627f27df6e0885a31eead16 100644
--- a/chromeos/login/auth/cryptohome_authenticator.h
+++ b/chromeos/login/auth/cryptohome_authenticator.h
@@ -21,10 +21,7 @@
#include "google_apis/gaia/gaia_auth_consumer.h"
class AuthFailure;
-
-namespace content {
-class BrowserContext;
-}
+class Profile;
namespace chromeos {
@@ -96,7 +93,7 @@
AuthStatusConsumer* consumer);
// Authenticator overrides.
- virtual void CompleteLogin(content::BrowserContext* context,
+ virtual void CompleteLogin(Profile* profile,
const UserContext& user_context) override;
// Given |user_context|, this method attempts to authenticate to your
@@ -106,8 +103,8 @@
// Upon failure to login consumer_->OnAuthFailure() is called
// with an error message.
//
- // Uses |context| when doing URL fetches.
- virtual void AuthenticateToLogin(content::BrowserContext* context,
+ // Uses |profile| when doing URL fetches.
+ virtual void AuthenticateToLogin(Profile* profile,
const UserContext& user_context) override;
// Given |user_context|, this method attempts to authenticate to the cached
« no previous file with comments | « chromeos/login/auth/authenticator.cc ('k') | chromeos/login/auth/cryptohome_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698