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

Side by Side Diff: ash/system/user/login_status.h

Issue 13495003: Add LoginState class to src/chromeos/login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback round 1 Created 7 years, 8 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 | « no previous file | ash/system/user/tray_user.cc » ('j') | ash/system/user/tray_user.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_SYSTEM_USER_LOGIN_STATUS_H_ 5 #ifndef ASH_SYSTEM_USER_LOGIN_STATUS_H_
6 #define ASH_SYSTEM_USER_LOGIN_STATUS_H_ 6 #define ASH_SYSTEM_USER_LOGIN_STATUS_H_
7 7
8 #include "base/string16.h" 8 #include "base/string16.h"
9 9
10 namespace ash { 10 namespace ash {
11 namespace user { 11 namespace user {
12 12
13 enum LoginStatus { 13 enum LoginStatus {
14 LOGGED_IN_LOCKED, // A user has locked the screen. 14 LOGGED_IN_LOCKED, // A user has locked the screen.
15 LOGGED_IN_USER, // A normal user is logged in. 15 LOGGED_IN_USER, // A normal user is logged in.
16 LOGGED_IN_OWNER, // The owner of the device is logged in. 16 LOGGED_IN_OWNER, // The owner of the device is logged in.
17 LOGGED_IN_GUEST, // A guest is logged in (i.e. incognito) 17 LOGGED_IN_GUEST, // A guest is logged in (i.e. incognito)
18 LOGGED_IN_RETAIL_MODE, // Is in retail mode. 18 LOGGED_IN_RETAIL_MODE, // Is in retail mode.
19 LOGGED_IN_PUBLIC, // A public account is logged in. 19 LOGGED_IN_PUBLIC, // A public account is logged in.
20 LOGGED_IN_LOCALLY_MANAGED, // A locally managed user is logged in.
Nikita (slow) 2013/04/05 04:08:53 Please leave LOGGED_IN_LOCALLY_MANAGED status as w
stevenjb 2013/04/05 18:17:15 Ugh, another place where we were setting this in P
21 LOGGED_IN_KIOSK_APP, // Is in kiosk app mode.
bartfab (slow) 2013/04/05 13:16:33 1/ Please leave the LOGGED_IN_KIOSK_APP status. Th
stevenjb 2013/04/05 18:17:15 I'm going to restore this to how it was, with any
22 LOGGED_IN_NONE, // Not logged in. 20 LOGGED_IN_NONE, // Not logged in.
23 }; 21 };
24 22
25 string16 GetLocalizedSignOutStringForStatus(LoginStatus status, bool multiline); 23 string16 GetLocalizedSignOutStringForStatus(LoginStatus status, bool multiline);
26 24
27 } // namespace user 25 } // namespace user
28 } // namespace ash 26 } // namespace ash
29 27
30 #endif // ASH_SYSTEM_USER_LOGIN_STATUS_H_ 28 #endif // ASH_SYSTEM_USER_LOGIN_STATUS_H_
OLDNEW
« no previous file with comments | « no previous file | ash/system/user/tray_user.cc » ('j') | ash/system/user/tray_user.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698