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

Unified Diff: ash/system/user/login_status.h

Issue 9580024: ash uber tray: Allow customizing each item depending on whether the user is logged in or not. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing file Created 8 years, 10 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/system/tray_user.cc ('k') | ash/system/user/tray_user.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/login_status.h
diff --git a/ash/system/user/login_status.h b/ash/system/user/login_status.h
new file mode 100644
index 0000000000000000000000000000000000000000..df3e39d574e3dfae4b8b56e36218d88e52d24564
--- /dev/null
+++ b/ash/system/user/login_status.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 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_SYSTEM_USER_LOGIN_STATUS_H_
+#define ASH_SYSTEM_USER_LOGIN_STATUS_H_
+
+namespace ash {
+namespace user {
+
+enum LoginStatus {
+ LOGGED_IN_USER, // A normal user is logged in.
+ LOGGED_IN_OWNER, // The owner of the device is logged in.
+ LOGGED_IN_GUEST, // A guest is logged in (i.e. incognito)
+ LOGGED_IN_NONE, // Not logged in.
+};
+
+} // namespace user
+} // namespace ash
+
+#endif // ASH_SYSTEM_USER_LOGIN_STATUS_H_
« no previous file with comments | « ash/system/tray_user.cc ('k') | ash/system/user/tray_user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698