Lines Matching defs:User
36 // A class representing information about a previously logged in user.
37 class User {
39 User();
40 ~User();
42 // The email the user used to log in.
46 // Returns the name to display for this user.
49 // Tooltip contains user's display name and his email domain to distinguish
50 // this user from the other one with the same display name.
53 // The image for this user.
66 // Registers user manager preferences.
71 virtual std::vector<User> GetUsers() const;
73 // Indicates that user just started incognito session.
76 // Indicates that a user with the given email has just logged in.
80 // Removes the user from the device. Note, it will verify that the given user
86 // Removes the user from the persistent list only. Also removes the user's
90 // Returns true if given user has logged into the device before.
93 // Returns the logged-in user.
94 virtual const User& logged_in_user() const;
96 // Sets image for logged-in user and sends LOGIN_USER_IMAGE_CHANGED
100 // Tries to load logged-in user image from disk and sets it for the user.
107 // Saves user image path for the user. Can be used to set default images.
111 // Returns the index of user's default image or -1 if the image is not
143 // Returns image filepath for the given user.
147 // Notifies on new user session.
150 // Sets one of the default images to the specified user and saves this
154 // Loads user image from its file.
157 // Cache for user images. Stores image for each username.
161 // The logged-in user.
162 User logged_in_user_;
164 // Cached flag of whether currently logged-in user is owner or not.
169 // Cached flag of whether the currently logged-in user existed before this
173 // Cached flag of whether any user is logged in at the moment.
183 typedef std::vector<UserManager::User> UserVector;