Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: components/user_manager/user_type.h

Issue 2421323002: Created new account type for ARC++ kiosk. (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/user_manager/user_manager_base.cc ('k') | components/user_manager/user_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 COMPONENTS_USER_MANAGER_USER_TYPE_H_ 5 #ifndef COMPONENTS_USER_MANAGER_USER_TYPE_H_
6 #define COMPONENTS_USER_MANAGER_USER_TYPE_H_ 6 #define COMPONENTS_USER_MANAGER_USER_TYPE_H_
7 7
8 namespace user_manager { 8 namespace user_manager {
9 9
10 // The user type. Used in a histogram; do not modify existing types. 10 // The user type. Used in a histogram; do not modify existing types.
11 typedef enum { 11 typedef enum {
12 // Regular user, has a user name and password. 12 // Regular user, has a user name and password.
13 USER_TYPE_REGULAR = 0, 13 USER_TYPE_REGULAR = 0,
14 // Guest user, logs in without authentication. 14 // Guest user, logs in without authentication.
15 USER_TYPE_GUEST = 1, 15 USER_TYPE_GUEST = 1,
16 /* USER_TYPE_RETAIL_MODE = 2, // deprecated */ 16 /* USER_TYPE_RETAIL_MODE = 2, // deprecated */
17 // Public account user, logs in without authentication. Available only if 17 // Public account user, logs in without authentication. Available only if
18 // enabled through policy. 18 // enabled through policy.
19 USER_TYPE_PUBLIC_ACCOUNT = 3, 19 USER_TYPE_PUBLIC_ACCOUNT = 3,
20 // Supervised user, logs in only with local authentication. 20 // Supervised user, logs in only with local authentication.
21 USER_TYPE_SUPERVISED = 4, 21 USER_TYPE_SUPERVISED = 4,
22 // Kiosk app robot, logs in without authentication. 22 // Kiosk app robot, logs in without authentication.
23 USER_TYPE_KIOSK_APP = 5, 23 USER_TYPE_KIOSK_APP = 5,
24 // Child user, with supervised options. 24 // Child user, with supervised options.
25 USER_TYPE_CHILD = 6, 25 USER_TYPE_CHILD = 6,
26 // Android app in kiosk mode, logs in without authentication.
27 USER_TYPE_ARC_KIOSK_APP = 7,
26 // Maximum histogram value. 28 // Maximum histogram value.
27 NUM_USER_TYPES = 7 29 NUM_USER_TYPES = 8
28 } UserType; 30 } UserType;
29 31
30 } // namespace user_manager 32 } // namespace user_manager
31 33
32 #endif // COMPONENTS_USER_MANAGER_USER_TYPE_H_ 34 #endif // COMPONENTS_USER_MANAGER_USER_TYPE_H_
OLDNEW
« no previous file with comments | « components/user_manager/user_manager_base.cc ('k') | components/user_manager/user_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698