| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_USER_MANAGER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 // Cached flag of whether the currently logged-in user existed before this | 222 // Cached flag of whether the currently logged-in user existed before this |
| 223 // login. | 223 // login. |
| 224 bool is_current_user_new_; | 224 bool is_current_user_new_; |
| 225 | 225 |
| 226 // Cached flag of whether the currently logged-in user is ephemeral. Storage | 226 // Cached flag of whether the currently logged-in user is ephemeral. Storage |
| 227 // of persistent information is avoided for such users by not adding them to | 227 // of persistent information is avoided for such users by not adding them to |
| 228 // the user list in local state, not downloading their custom user images and | 228 // the user list in local state, not downloading their custom user images and |
| 229 // mounting their cryptohomes using tmpfs. | 229 // mounting their cryptohomes using tmpfs. |
| 230 bool is_current_user_ephemeral_; | 230 bool is_current_user_ephemeral_; |
| 231 | 231 |
| 232 // Cache current user selected index in memory. |
| 233 int current_user_wallpaper_index_; |
| 234 |
| 232 // Cached flag indicating whether ephemeral users are enabled. Defaults to | 235 // Cached flag indicating whether ephemeral users are enabled. Defaults to |
| 233 // |false| if the value has not been read from trusted device policy yet. | 236 // |false| if the value has not been read from trusted device policy yet. |
| 234 bool ephemeral_users_enabled_; | 237 bool ephemeral_users_enabled_; |
| 235 | 238 |
| 236 // Cached name of device owner. Defaults to empty string if the value has not | 239 // Cached name of device owner. Defaults to empty string if the value has not |
| 237 // been read from trusted device policy yet. | 240 // been read from trusted device policy yet. |
| 238 std::string owner_email_; | 241 std::string owner_email_; |
| 239 | 242 |
| 240 content::NotificationRegistrar registrar_; | 243 content::NotificationRegistrar registrar_; |
| 241 | 244 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 265 | 268 |
| 266 // Data URL for |downloaded_profile_image_|. | 269 // Data URL for |downloaded_profile_image_|. |
| 267 std::string downloaded_profile_image_data_url_; | 270 std::string downloaded_profile_image_data_url_; |
| 268 | 271 |
| 269 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 272 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
| 270 }; | 273 }; |
| 271 | 274 |
| 272 } // namespace chromeos | 275 } // namespace chromeos |
| 273 | 276 |
| 274 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 277 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| OLD | NEW |