| 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
|
|
|