| 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 a3c77830276a741728c244406052e705a6fbe745..551e9c565162bbd36eff041a0c71f79dfb2b63bf 100644
|
| --- a/chrome/browser/chromeos/login/login_display.h
|
| +++ b/chrome/browser/chromeos/login/login_display.h
|
| @@ -12,21 +12,12 @@
|
| #include "base/string16.h"
|
| #include "chrome/browser/chromeos/login/help_app_launcher.h"
|
| #include "chrome/browser/chromeos/login/user.h"
|
| +#include "chrome/browser/chromeos/login/user_manager.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| namespace chromeos {
|
|
|
| -// Delegate to be used while user removing.
|
| -class RemoveUserDelegate {
|
| - public:
|
| - // Called right before actual user removal process is initiated.
|
| - virtual void OnBeforeUserRemoved(const std::string& username) = 0;
|
| -
|
| - // Called right after user removal process has been initiated.
|
| - virtual void OnUserRemoved(const std::string& username) = 0;
|
| -};
|
| -
|
| // TODO(nkostylev): Extract interface, create a BaseLoginDisplay class.
|
| // An abstract class that defines login UI implementation.
|
| class LoginDisplay : public RemoveUserDelegate {
|
| @@ -42,6 +33,10 @@ class LoginDisplay : public RemoveUserDelegate {
|
| // Users decides to sign in into captive portal.
|
| virtual void FixCaptivePortal() = 0;
|
|
|
| + // Sets the displayed email for the next login attempt. If it succeeds,
|
| + // user's displayed email value will be updated to |email|.
|
| + virtual void SetDisplayEmail(const std::string& email) = 0;
|
| +
|
| // Complete sign process with specified |username| and |password|.
|
| // Used for new users authenticated through an extension.
|
| virtual void CompleteLogin(const std::string& username,
|
|
|