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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 8773046: [cros] Display emails of users are stored in a separate dictionary in Local State. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 9 years 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/chromeos/login/existing_user_controller.h
diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h
index ce56ac966fe541e9a349a233f5836e19993d00c7..186303040cbe4230701c9baca5dc14e40ab9b422 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.h
+++ b/chrome/browser/chromeos/login/existing_user_controller.h
@@ -66,6 +66,7 @@ class ExistingUserController : public LoginDisplay::Delegate,
virtual void CreateAccount() OVERRIDE;
virtual string16 GetConnectedNetworkName() OVERRIDE;
virtual void FixCaptivePortal() OVERRIDE;
+ virtual void SetDisplayEmail(const std::string& email) OVERRIDE;
virtual void CompleteLogin(const std::string& username,
const std::string& password) OVERRIDE;
virtual void Login(const std::string& username,
@@ -202,6 +203,9 @@ class ExistingUserController : public LoginDisplay::Delegate,
// Whether it's first login to the device and this user will be owner.
bool is_owner_login_;
+ // The displayed email for the next login attempt set by |SetDisplayEmail|.
+ std::string next_login_display_email_;
Nikita (slow) 2011/12/05 13:13:04 nit: rename to display_email_ or login_user_displa
Nikita (slow) 2011/12/05 13:14:15 * In this context
Ivan Korotkov 2011/12/05 14:12:48 Done. 'next' means the call to CompleteLogin() tha
Nikita (slow) 2011/12/05 17:55:35 Since it's get called from the sign in process alr
+
FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, NewUserLogin);
DISALLOW_COPY_AND_ASSIGN(ExistingUserController);

Powered by Google App Engine
This is Rietveld 408576698