Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6757)

Unified Diff: chrome/browser/ui/webui/signin/login_ui_service.h

Issue 2315393002: [Signin Error Dialog] (2/3) Added handlers and UI constructors (Closed)
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..6f6ecad91e4e70773e35741c59184f06fcdd0948 100644
--- a/chrome/browser/ui/webui/signin/login_ui_service.h
+++ b/chrome/browser/ui/webui/signin/login_ui_service.h
@@ -83,7 +83,11 @@ class LoginUIService : public KeyedService {
void DisplayLoginResult(Browser* browser, const base::string16& message);
// Gets the last login result set through |DisplayLoginResult|.
- const base::string16& GetLastLoginResult();
+ const base::string16& GetLastLoginResult() const;
+
+ // Gets the last email used for signing in when a signin error occured; set
+ // through |DisplayLoginResult|.
+ const base::string16& GetLastLoginErrorEmail() const;
private:
// Weak pointers to the recently opened UIs, with the most recent in front.
@@ -96,6 +100,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);
};
« no previous file with comments | « chrome/browser/ui/webui/signin/inline_login_handler_impl.cc ('k') | chrome/browser/ui/webui/signin/login_ui_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698