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

Unified Diff: ash/system/tray/tray_empty.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/tray/tray_empty.h ('k') | ash/system/tray/tray_image_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_empty.cc
diff --git a/ash/system/tray/tray_empty.cc b/ash/system/tray/tray_empty.cc
index ceb2209707700732c1c71f654688141402957e0d..a85372ebd51cfd0389d1aceb552a7bce07c9cc75 100644
--- a/ash/system/tray/tray_empty.cc
+++ b/ash/system/tray/tray_empty.cc
@@ -32,12 +32,12 @@ TrayEmpty::TrayEmpty(SystemTray* system_tray)
TrayEmpty::~TrayEmpty() {}
-views::View* TrayEmpty::CreateTrayView(user::LoginStatus status) {
+views::View* TrayEmpty::CreateTrayView(LoginStatus status) {
return NULL;
}
-views::View* TrayEmpty::CreateDefaultView(user::LoginStatus status) {
- if (status == user::LOGGED_IN_NONE)
+views::View* TrayEmpty::CreateDefaultView(LoginStatus status) {
+ if (status == LoginStatus::NOT_LOGGED_IN)
return NULL;
views::View* view = new views::View;
@@ -50,7 +50,7 @@ views::View* TrayEmpty::CreateDefaultView(user::LoginStatus status) {
return view;
}
-views::View* TrayEmpty::CreateDetailedView(user::LoginStatus status) {
+views::View* TrayEmpty::CreateDetailedView(LoginStatus status) {
return NULL;
}
@@ -60,6 +60,6 @@ void TrayEmpty::DestroyDefaultView() {}
void TrayEmpty::DestroyDetailedView() {}
-void TrayEmpty::UpdateAfterLoginStatusChange(user::LoginStatus status) {}
+void TrayEmpty::UpdateAfterLoginStatusChange(LoginStatus status) {}
} // namespace ash
« no previous file with comments | « ash/system/tray/tray_empty.h ('k') | ash/system/tray/tray_image_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698