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

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

Issue 393343002: Rename "managed (mode|user)" to "supervised user" (part 7) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more alphabetize (and rebase again) Created 6 years, 5 months 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/login/user_names.cc ('k') | no next file » | 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 #include "components/user_manager/user_manager_export.h" 8 #include "components/user_manager/user_manager_export.h"
9 9
10 namespace user_manager { 10 namespace user_manager {
11 11
12 // The user type. Used in a histogram; do not modify existing types. 12 // The user type. Used in a histogram; do not modify existing types.
13 USER_MANAGER_EXPORT typedef enum { 13 USER_MANAGER_EXPORT typedef enum {
14 // Regular user, has a user name and password. 14 // Regular user, has a user name and password.
15 USER_TYPE_REGULAR = 0, 15 USER_TYPE_REGULAR = 0,
16 // Guest user, logs in without authentication. 16 // Guest user, logs in without authentication.
17 USER_TYPE_GUEST = 1, 17 USER_TYPE_GUEST = 1,
18 // Retail mode user, logs in without authentication. This is a special user 18 // Retail mode user, logs in without authentication. This is a special user
19 // type used in retail mode only. 19 // type used in retail mode only.
20 USER_TYPE_RETAIL_MODE = 2, 20 USER_TYPE_RETAIL_MODE = 2,
21 // Public account user, logs in without authentication. Available only if 21 // Public account user, logs in without authentication. Available only if
22 // enabled through policy. 22 // enabled through policy.
23 USER_TYPE_PUBLIC_ACCOUNT = 3, 23 USER_TYPE_PUBLIC_ACCOUNT = 3,
24 // Supervised (aka locally managed) user, logs in only with local 24 // Supervised user, logs in only with local authentication.
25 // authentication. 25 USER_TYPE_SUPERVISED = 4,
26 USER_TYPE_LOCALLY_MANAGED = 4,
27 // Kiosk app robot, logs in without authentication. 26 // Kiosk app robot, logs in without authentication.
28 USER_TYPE_KIOSK_APP = 5, 27 USER_TYPE_KIOSK_APP = 5,
29 // Maximum histogram value. 28 // Maximum histogram value.
30 NUM_USER_TYPES = 6 29 NUM_USER_TYPES = 6
31 } UserType; 30 } UserType;
32 31
33 } // namespace user_manager 32 } // namespace user_manager
34 33
35 #endif // COMPONENTS_USER_MANAGER_USER_TYPE_H_ 34 #endif // COMPONENTS_USER_MANAGER_USER_TYPE_H_
OLDNEW
« no previous file with comments | « chromeos/login/user_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698