summaryrefslogtreecommitdiff
path: root/chromium/ash/system/user/login_status.h
blob: d08a1604a06e94e7ca6851de8c5e676137c40060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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_