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

Unified Diff: ash/system/chromeos/enterprise/tray_enterprise.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/chromeos/enterprise/tray_enterprise.cc
diff --git a/ash/system/chromeos/enterprise/tray_enterprise.cc b/ash/system/chromeos/enterprise/tray_enterprise.cc
index 23e954f456663a97eefce9e93128c2303435ddf8..119d586b63c2fa99f99a28601aac686f79a9c0b3 100644
--- a/ash/system/chromeos/enterprise/tray_enterprise.cc
+++ b/ash/system/chromeos/enterprise/tray_enterprise.cc
@@ -34,11 +34,11 @@ void TrayEnterprise::UpdateEnterpriseMessage() {
tray_view_->SetMessage(message);
}
-views::View* TrayEnterprise::CreateDefaultView(user::LoginStatus status) {
+views::View* TrayEnterprise::CreateDefaultView(LoginStatus status) {
CHECK(tray_view_ == NULL);
// For public accounts, enterprise ownership is indicated in the user details
// instead.
- if (status == ash::user::LOGGED_IN_PUBLIC)
+ if (status == LoginStatus::PUBLIC)
return NULL;
tray_view_ = new LabelTrayView(this, IDR_AURA_UBER_TRAY_ENTERPRISE);
UpdateEnterpriseMessage();
« no previous file with comments | « ash/system/chromeos/enterprise/tray_enterprise.h ('k') | ash/system/chromeos/network/network_state_list_detailed_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698