summaryrefslogtreecommitdiff
path: root/chromium/ash/system/user/login_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ash/system/user/login_status.h')
-rw-r--r--chromium/ash/system/user/login_status.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/chromium/ash/system/user/login_status.h b/chromium/ash/system/user/login_status.h
new file mode 100644
index 00000000000..d08a1604a06
--- /dev/null
+++ b/chromium/ash/system/user/login_status.h
@@ -0,0 +1,31 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_SYSTEM_USER_LOGIN_STATUS_H_
+#define ASH_SYSTEM_USER_LOGIN_STATUS_H_
+
+#include "base/strings/string16.h"
+
+namespace ash {
+namespace user {
+
+enum LoginStatus {
+ LOGGED_IN_NONE, // Not logged in
+ LOGGED_IN_LOCKED, // A user has locked the screen
+ LOGGED_IN_USER, // A regular user is logged in
+ LOGGED_IN_OWNER, // The owner of the device is logged in
+ LOGGED_IN_GUEST, // A guest is logged in (i.e. incognito)
+ LOGGED_IN_RETAIL_MODE, // Is in retail mode
+ LOGGED_IN_PUBLIC, // A public account is logged in
+ LOGGED_IN_LOCALLY_MANAGED, // A locally managed user is logged in
+ LOGGED_IN_KIOSK_APP // Is in kiosk app mode
+};
+
+base::string16 GetLocalizedSignOutStringForStatus(LoginStatus status,
+ bool multiline);
+
+} // namespace user
+} // namespace ash
+
+#endif // ASH_SYSTEM_USER_LOGIN_STATUS_H_