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

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

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 years, 6 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
« no previous file with comments | « ash/system/tray_update.cc ('k') | ash/system/user/login_status.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 (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 "ash/common/login_status.h"
8 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
9 10
10 namespace ash { 11 namespace ash {
11 namespace user { 12 namespace user {
12 13
13 enum LoginStatus {
14 LOGGED_IN_NONE, // Not logged in
15 LOGGED_IN_LOCKED, // A user has locked the screen
16 LOGGED_IN_USER, // A regular user is logged in
17 LOGGED_IN_OWNER, // The owner of the device is logged in
18 LOGGED_IN_GUEST, // A guest is logged in (i.e. incognito)
19 LOGGED_IN_PUBLIC, // A public account is logged in
20 LOGGED_IN_SUPERVISED, // A supervised user is logged in
21 LOGGED_IN_KIOSK_APP // Is in kiosk app mode
22 };
23
24 base::string16 GetLocalizedSignOutStringForStatus(LoginStatus status, 14 base::string16 GetLocalizedSignOutStringForStatus(LoginStatus status,
25 bool multiline); 15 bool multiline);
26 16
27 } // namespace user 17 } // namespace user
28 } // namespace ash 18 } // namespace ash
29 19
30 #endif // ASH_SYSTEM_USER_LOGIN_STATUS_H_ 20 #endif // ASH_SYSTEM_USER_LOGIN_STATUS_H_
OLDNEW
« no previous file with comments | « ash/system/tray_update.cc ('k') | ash/system/user/login_status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698