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

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: Fix BUILD.gn 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..173c77ad7add3036ad72491cb21abf5f6a356abf 100644
--- a/chrome/browser/ui/webui/signin/login_ui_service.h
+++ b/chrome/browser/ui/webui/signin/login_ui_service.h
@@ -85,6 +85,10 @@ class LoginUIService : public KeyedService {
// Gets the last login result set through |DisplayLoginResult|.
const base::string16& GetLastLoginResult();
achuithb 2016/09/12 19:19:25 This one too?
anthonyvd 2016/09/13 14:25:58 Done.
+ // Gets the last email used for signing in when a signin error occured; set
+ // through |DisplayLoginResult|.
+ const base::string16& GetLastLoginErrorEmail();
achuithb 2016/09/12 19:19:25 Shouldn't this method be const?
anthonyvd 2016/09/13 14:25:58 Done.
+
private:
// Weak pointers to the recently opened UIs, with the most recent in front.
std::list<LoginUI*> ui_list_;
@@ -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);
};

Powered by Google App Engine
This is Rietveld 408576698