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

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: 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/system/user/tray_user_separator.h ('k') | ash/system/user/tray_user_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 156c9f8b9b8a946f4664596cc2762f40b422c960..6473f031469f6acbc5ad827fa5c9cb7a3272db47 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;
}
« no previous file with comments | « ash/system/user/tray_user_separator.h ('k') | ash/system/user/tray_user_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698