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 eb833843a610fb9f0d39255ebecf9169422fe205..9ed5b8aadf02ef0f9f3a08dbc357ae8bac47edba 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h |
+++ b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h |
@@ -23,7 +23,9 @@ class LoginDisplayWebUIHandler { |
public: |
virtual void ClearAndEnablePassword() = 0; |
virtual void OnLoginSuccess(const std::string& username) = 0; |
- virtual void ShowError(const std::string& error_text, |
+ virtual void OnUserRemoved(const std::string& username) = 0; |
+ virtual void ShowError(int login_attempts, |
+ const std::string& error_text, |
const std::string& help_link_text, |
HelpAppLauncher::HelpTopic help_topic_id) = 0; |
}; |
@@ -44,6 +46,9 @@ class SigninScreenHandlerDelegate { |
// Sign in into Guest session. |
virtual void LoginAsGuest() = 0; |
+ // Attempts to remove given user. |
+ virtual void RemoveUser(const std::string& username) = 0; |
+ |
// Shows Enterprise Enrollment screen. |
virtual void ShowEnterpriseEnrollmentScreen() = 0; |
@@ -75,7 +80,9 @@ class SigninScreenHandler : public BaseScreenHandler, |
// BaseLoginUIHandler implementation. |
virtual void ClearAndEnablePassword() OVERRIDE; |
virtual void OnLoginSuccess(const std::string& username) OVERRIDE; |
- virtual void ShowError(const std::string& error_text, |
+ virtual void OnUserRemoved(const std::string& username) OVERRIDE; |
+ virtual void ShowError(int login_attempts, |
+ const std::string& error_text, |
const std::string& help_link_text, |
HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; |
@@ -108,7 +115,7 @@ class SigninScreenHandler : public BaseScreenHandler, |
void HandleLaunchHelpApp(const base::ListValue* args); |
// Sends user list to account picker. |
- void SendUserList(); |
+ void SendUserList(bool animated); |
// A delegate that glues this handler with backend LoginDisplay. |
SigninScreenHandlerDelegate* delegate_; |