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

Unified Diff: ash/common/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/ash.gyp ('k') | ash/metrics/user_metrics_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/login_status.h
diff --git a/ash/common/login_status.h b/ash/common/login_status.h
new file mode 100644
index 0000000000000000000000000000000000000000..5b835d3f2612025b23a5bc648b664ce645564157
--- /dev/null
+++ b/ash/common/login_status.h
@@ -0,0 +1,23 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_COMMON_LOGIN_STATUS_H_
+#define ASH_COMMON_LOGIN_STATUS_H_
+
+namespace ash {
+
+enum class LoginStatus {
+ NOT_LOGGED_IN, // Not logged in
+ LOCKED, // A user has locked the screen
+ USER, // A regular user is logged in
+ OWNER, // The owner of the device is logged in
+ GUEST, // A guest is logged in (i.e. incognito)
+ PUBLIC, // A public account is logged in
+ SUPERVISED, // A supervised user is logged in
+ KIOSK_APP // Is in kiosk app mode
+};
+
+} // namespace ash
+
+#endif // ASH_COMMON_LOGIN_STATUS_H_
« no previous file with comments | « ash/ash.gyp ('k') | ash/metrics/user_metrics_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698