| 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 ASH_SYSTEM_USER_LOGIN_STATUS_H_ | 5 #ifndef ASH_SYSTEM_USER_LOGIN_STATUS_H_ |
| 6 #define ASH_SYSTEM_USER_LOGIN_STATUS_H_ | 6 #define ASH_SYSTEM_USER_LOGIN_STATUS_H_ |
| 7 | 7 |
| 8 #include "base/string16.h" | 8 #include "base/string16.h" |
| 9 | 9 |
| 10 namespace ash { | 10 namespace ash { |
| 11 namespace user { | 11 namespace user { |
| 12 | 12 |
| 13 enum LoginStatus { | 13 enum LoginStatus { |
| 14 LOGGED_IN_LOCKED, // A user has locked the screen. | 14 LOGGED_IN_NONE, // Not logged in |
| 15 LOGGED_IN_USER, // A normal user is logged in. | 15 LOGGED_IN_LOCKED, // A user has locked the screen |
| 16 LOGGED_IN_OWNER, // The owner of the device is logged in. | 16 LOGGED_IN_USER, // A regular user is logged in |
| 17 LOGGED_IN_OWNER, // The owner of the device is logged in |
| 17 LOGGED_IN_GUEST, // A guest is logged in (i.e. incognito) | 18 LOGGED_IN_GUEST, // A guest is logged in (i.e. incognito) |
| 18 LOGGED_IN_RETAIL_MODE, // Is in retail mode. | 19 LOGGED_IN_RETAIL_MODE, // Is in retail mode |
| 19 LOGGED_IN_PUBLIC, // A public account is logged in. | 20 LOGGED_IN_PUBLIC, // A public account is logged in |
| 20 LOGGED_IN_LOCALLY_MANAGED, // A locally managed user is logged in. | 21 LOGGED_IN_LOCALLY_MANAGED, // A locally managed user is logged in |
| 21 LOGGED_IN_KIOSK_APP, // Is in kiosk app mode. | 22 LOGGED_IN_KIOSK_APP // Is in kiosk app mode |
| 22 LOGGED_IN_NONE, // Not logged in. | |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 string16 GetLocalizedSignOutStringForStatus(LoginStatus status, bool multiline); | 25 string16 GetLocalizedSignOutStringForStatus(LoginStatus status, bool multiline); |
| 26 | 26 |
| 27 } // namespace user | 27 } // namespace user |
| 28 } // namespace ash | 28 } // namespace ash |
| 29 | 29 |
| 30 #endif // ASH_SYSTEM_USER_LOGIN_STATUS_H_ | 30 #endif // ASH_SYSTEM_USER_LOGIN_STATUS_H_ |
| OLD | NEW |