| Index: chrome/browser/chromeos/login/login_display.h
|
| diff --git a/chrome/browser/chromeos/login/login_display.h b/chrome/browser/chromeos/login/login_display.h
|
| index 60122aa774887be3ecd77fa7dec926b7d608da57..576e690cbdb6b29b46a871131c1734ae0f9cfa5f 100644
|
| --- a/chrome/browser/chromeos/login/login_display.h
|
| +++ b/chrome/browser/chromeos/login/login_display.h
|
| @@ -24,6 +24,21 @@ namespace chromeos {
|
| // An abstract class that defines login UI implementation.
|
| class LoginDisplay : public RemoveUserDelegate {
|
| public:
|
| + // Supported authentication types for login.
|
| + enum AuthType {
|
| + // Authenticates using the user's regular password.
|
| + OFFLINE_PASSWORD,
|
| +
|
| + // Authenticates by forced online GAIA sign in.
|
| + ONLINE_SIGN_IN,
|
| +
|
| + // Authenticates with a 4 digit numeric pin.
|
| + NUMERIC_PIN,
|
| +
|
| + // Authenticates by clicking pod when it is focused.
|
| + USER_CLICK,
|
| + };
|
| +
|
| // Sign in error IDs that require detailed error screen and not just
|
| // a simple error bubble.
|
| enum SigninError {
|
| @@ -154,6 +169,17 @@ class LoginDisplay : public RemoveUserDelegate {
|
| const std::string& iconURL,
|
| const base::Closure& click_callback) = 0;
|
|
|
| + // Hides the user pod button for a user.
|
| + virtual void HideUserPodButton(const std::string& username) = 0;
|
| +
|
| + // Set the authentication type to be used on the lock screen.
|
| + virtual void SetAuthType(const std::string& username,
|
| + AuthType auth_type,
|
| + const std::string& initial_value) = 0;
|
| +
|
| + // Returns the authentication type used for |username|.
|
| + virtual AuthType GetAuthType(const std::string& username) const = 0;
|
| +
|
| // Displays simple error bubble with |error_msg_id| specified.
|
| // |login_attempts| shows number of login attempts made by current user.
|
| // |help_topic_id| is additional help topic that is presented as link.
|
|
|