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

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: Merge 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
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f3d543ee44563fd1de02038e77d3d3128d9329e6 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 display_email_;
+
FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, NewUserLogin);
DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698