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

Unified Diff: ash/system/tray/default_system_tray_delegate.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
Index: ash/system/tray/default_system_tray_delegate.cc
diff --git a/ash/system/tray/default_system_tray_delegate.cc b/ash/system/tray/default_system_tray_delegate.cc
index fd315d6b3a4e877f11d00ea31bbf93afda4d6188..75513a746f38ed6bb3affb1483401f598f26ff3b 100644
--- a/ash/system/tray/default_system_tray_delegate.cc
+++ b/ash/system/tray/default_system_tray_delegate.cc
@@ -26,8 +26,8 @@ bool DefaultSystemTrayDelegate::GetTrayVisibilityOnStartup() {
return true;
}
-user::LoginStatus DefaultSystemTrayDelegate::GetUserLoginStatus() const {
- return user::LOGGED_IN_USER;
+LoginStatus DefaultSystemTrayDelegate::GetUserLoginStatus() const {
+ return LoginStatus::USER;
}
std::string DefaultSystemTrayDelegate::GetSupervisedUserManager() const {
@@ -37,7 +37,7 @@ std::string DefaultSystemTrayDelegate::GetSupervisedUserManager() const {
}
bool DefaultSystemTrayDelegate::IsUserSupervised() const {
- return GetUserLoginStatus() == ash::user::LOGGED_IN_SUPERVISED;
+ return GetUserLoginStatus() == LoginStatus::SUPERVISED;
}
void DefaultSystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const {
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.h ('k') | ash/system/tray/media_security/multi_profile_media_tray_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698