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

Side by Side Diff: chrome/browser/chromeos/login/webui_login_display.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void CreateAccount() OVERRIDE; 48 virtual void CreateAccount() OVERRIDE;
49 virtual void RemoveUser(const std::string& username) OVERRIDE; 49 virtual void RemoveUser(const std::string& username) OVERRIDE;
50 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; 50 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE;
51 virtual void SetWebUIHandler( 51 virtual void SetWebUIHandler(
52 LoginDisplayWebUIHandler* webui_handler) OVERRIDE; 52 LoginDisplayWebUIHandler* webui_handler) OVERRIDE;
53 virtual void ShowSigninScreenForCreds(const std::string& username, 53 virtual void ShowSigninScreenForCreds(const std::string& username,
54 const std::string& password); 54 const std::string& password);
55 virtual const UserList& GetUsers() const OVERRIDE; 55 virtual const UserList& GetUsers() const OVERRIDE;
56 virtual bool IsShowGuest() const OVERRIDE; 56 virtual bool IsShowGuest() const OVERRIDE;
57 virtual bool IsShowNewUser() const OVERRIDE; 57 virtual bool IsShowNewUser() const OVERRIDE;
58 virtual void SetDisplayEmail(const std::string& email) OVERRIDE;
58 59
59 private: 60 private:
60 // Set of Users that are visible. 61 // Set of Users that are visible.
61 UserList users_; 62 UserList users_;
62 63
63 // Whether to show guest login. 64 // Whether to show guest login.
64 bool show_guest_; 65 bool show_guest_;
65 66
66 // Whether to show add new user. 67 // Whether to show add new user.
67 bool show_new_user_; 68 bool show_new_user_;
68 69
69 // Reference to the WebUI handling layer for the login screen 70 // Reference to the WebUI handling layer for the login screen
70 LoginDisplayWebUIHandler* webui_handler_; 71 LoginDisplayWebUIHandler* webui_handler_;
71 72
72 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); 73 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay);
73 }; 74 };
74 75
75 } // namespace chromeos 76 } // namespace chromeos
76 77
77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ 78 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.cc ('k') | chrome/browser/chromeos/login/webui_login_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698