Fix build.
[chromium-blink-merge.git] / components / user_manager / user_type.h
blob2143f1b0f26d7c7630c6ee8a476234b87e3ae188
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_USER_MANAGER_USER_TYPE_H_
6 #define COMPONENTS_USER_MANAGER_USER_TYPE_H_
8 namespace user_manager {
10 // The user type. Used in a histogram; do not modify existing types.
11 typedef enum {
12 // Regular user, has a user name and password.
13 USER_TYPE_REGULAR = 0,
14 // Guest user, logs in without authentication.
15 USER_TYPE_GUEST = 1,
16 // Retail mode user, logs in without authentication. This is a special user
17 // type used in retail mode only.
18 USER_TYPE_RETAIL_MODE = 2,
19 // Public account user, logs in without authentication. Available only if
20 // enabled through policy.
21 USER_TYPE_PUBLIC_ACCOUNT = 3,
22 // Supervised user, logs in only with local authentication.
23 USER_TYPE_SUPERVISED = 4,
24 // Kiosk app robot, logs in without authentication.
25 USER_TYPE_KIOSK_APP = 5,
26 // Regular user, with supervised options.
27 USER_TYPE_REGULAR_SUPERVISED = 6,
28 // Maximum histogram value.
29 NUM_USER_TYPES = 7
30 } UserType;
32 } // namespace user_manager
34 #endif // COMPONENTS_USER_MANAGER_USER_TYPE_H_