| Index: chrome/browser/chromeos/login/existing_user_controller.h
|
| diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h
|
| index c7953818da793bff55b0476fc870e35ba8939b57..0eb01b89eade16b911f5c5776b7896a3cdd45e4e 100644
|
| --- a/chrome/browser/chromeos/login/existing_user_controller.h
|
| +++ b/chrome/browser/chromeos/login/existing_user_controller.h
|
| @@ -38,6 +38,7 @@ namespace chromeos {
|
| class BootstrapUserContextInitializer;
|
| class CrosSettings;
|
| class LoginDisplayHost;
|
| +class OAuth2TokenInitializer;
|
|
|
| namespace login {
|
| class NetworkStateHelper;
|
| @@ -238,6 +239,9 @@ class ExistingUserController : public LoginDisplay::Delegate,
|
| void OnBootstrapUserContextInitialized(bool success,
|
| const UserContext& user_context);
|
|
|
| + // Callback invoked when |oauth2_token_initializer_| has finished.
|
| + void OnOAuth2TokensFetched(bool success, const UserContext& user_context);
|
| +
|
| // Public session auto-login timer.
|
| scoped_ptr<base::OneShotTimer<ExistingUserController> > auto_login_timer_;
|
|
|
| @@ -325,6 +329,8 @@ class ExistingUserController : public LoginDisplay::Delegate,
|
| scoped_ptr<BootstrapUserContextInitializer>
|
| bootstrap_user_context_initializer_;
|
|
|
| + scoped_ptr<OAuth2TokenInitializer> oauth2_token_initializer_;
|
| +
|
| FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin);
|
|
|
| // Factory of callbacks.
|
|
|