| Index: chrome/browser/ui/webui/signin/login_ui_service.h
|
| diff --git a/chrome/browser/ui/webui/signin/login_ui_service.h b/chrome/browser/ui/webui/signin/login_ui_service.h
|
| index b6d070c53378b4f748eae7069f1b51277058a8f9..68f3d6e207f523282ecb040090a1383679ba297e 100644
|
| --- a/chrome/browser/ui/webui/signin/login_ui_service.h
|
| +++ b/chrome/browser/ui/webui/signin/login_ui_service.h
|
| @@ -79,12 +79,19 @@ class LoginUIService : public KeyedService {
|
| // chrome://signin to ask the user to sign in to chrome.
|
| void ShowLoginPopup();
|
|
|
| + // Sets the last email used for signing in when a signin error occured.
|
| + void SetLastLoginErrorEmail(const base::string16& email);
|
| +
|
| // Displays login results.
|
| void DisplayLoginResult(Browser* browser, const base::string16& message);
|
|
|
| // Gets the last login result set through |DisplayLoginResult|.
|
| const base::string16& GetLastLoginResult();
|
|
|
| + // Gets the last email used for signing in when a signin error occured; set
|
| + // through |SetLastLoginEmail|.
|
| + const base::string16& GetLastLoginErrorEmail();
|
| +
|
| private:
|
| // Weak pointers to the recently opened UIs, with the most recent in front.
|
| std::list<LoginUI*> ui_list_;
|
| @@ -96,6 +103,7 @@ class LoginUIService : public KeyedService {
|
| base::ObserverList<Observer> observer_list_;
|
|
|
| base::string16 last_login_result_;
|
| + base::string16 last_login_error_email_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(LoginUIService);
|
| };
|
|
|