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

Unified Diff: ash/system/user/tray_user_separator.cc

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks 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
Index: ash/system/user/tray_user_separator.cc
diff --git a/ash/system/user/tray_user_separator.cc b/ash/system/user/tray_user_separator.cc
index d152a3b33aecf79ba3e51427c074ee434de644d4..bfc4f02ae9968b623caffbf4d6d2d26b346b60a0 100644
--- a/ash/system/user/tray_user_separator.cc
+++ b/ash/system/user/tray_user_separator.cc
@@ -15,12 +15,12 @@ TrayUserSeparator::TrayUserSeparator(SystemTray* system_tray)
separator_shown_(false) {
}
-views::View* TrayUserSeparator::CreateTrayView(user::LoginStatus status) {
+views::View* TrayUserSeparator::CreateTrayView(LoginStatus status) {
return NULL;
}
-views::View* TrayUserSeparator::CreateDefaultView(user::LoginStatus status) {
- if (status == user::LOGGED_IN_NONE)
+views::View* TrayUserSeparator::CreateDefaultView(LoginStatus status) {
+ if (status == LoginStatus::NOT_LOGGED_IN)
return NULL;
const SessionStateDelegate* session_state_delegate =
@@ -37,7 +37,7 @@ views::View* TrayUserSeparator::CreateDefaultView(user::LoginStatus status) {
return new views::View();
}
-views::View* TrayUserSeparator::CreateDetailedView(user::LoginStatus status) {
+views::View* TrayUserSeparator::CreateDetailedView(LoginStatus status) {
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698