| Index: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
|
| diff --git a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
|
| index 51f708a97fd4d673def97338804c7662424ed96a..fc2f296c7db8d6c8ea719a50c0ffa40c6e727539 100644
|
| --- a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
|
| +++ b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
|
| @@ -8,7 +8,9 @@
|
| #include <set>
|
| #include <string>
|
|
|
| +#include "base/basictypes.h"
|
| #include "base/callback.h"
|
| +#include "base/compiler_specific.h"
|
| #include "base/containers/hash_tables.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -236,6 +238,8 @@ class SigninScreenHandler
|
| virtual void OnWallpaperAnimationFinished(const std::string& email) OVERRIDE;
|
|
|
| private:
|
| + class AuthenticatedUserEmailRetriever;
|
| +
|
| enum UIState {
|
| UI_STATE_UNKNOWN = 0,
|
| UI_STATE_GAIA_SIGNIN,
|
| @@ -363,6 +367,7 @@ class SigninScreenHandler
|
| void HandleFocusPod(const std::string& user_id);
|
| void HandleLaunchKioskApp(const std::string& app_id);
|
| void HandleCustomButtonClicked(const std::string& username);
|
| + void HandleRetrieveAuthenticatedUserEmail(double attempt_token);
|
|
|
| // Fills |user_dict| with information about |user|.
|
| static void FillUserDictionary(User* user,
|
| @@ -519,6 +524,9 @@ class SigninScreenHandler
|
| // TODO (ygorshenin@): remove this dependency.
|
| GaiaScreenHandler* gaia_screen_handler_;
|
|
|
| + // Helper that retrieves the authenticated user's e-mail address.
|
| + scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
|
| };
|
|
|
|
|