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

Unified Diff: ash/system/status_area_widget.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/status_area_widget.h ('k') | ash/system/tray/default_system_tray_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/status_area_widget.cc
diff --git a/ash/system/status_area_widget.cc b/ash/system/status_area_widget.cc
index f1294c4d7c3ce40661c36a46676f19d8ef73b9f3..c97195d3f4bb2df1011cfdebc9c572134168d692 100644
--- a/ash/system/status_area_widget.cc
+++ b/ash/system/status_area_widget.cc
@@ -36,7 +36,7 @@ StatusAreaWidget::StatusAreaWidget(WmWindow* status_container,
logout_button_tray_(NULL),
virtual_keyboard_tray_(NULL),
#endif
- login_status_(user::LOGGED_IN_NONE),
+ login_status_(LoginStatus::NOT_LOGGED_IN),
shelf_widget_(shelf_widget) {
views::Widget::InitParams params(
views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
@@ -196,8 +196,7 @@ void StatusAreaWidget::SetHideSystemNotifications(bool hide) {
system_tray_->SetHideNotifications(hide);
}
-void StatusAreaWidget::UpdateAfterLoginStatusChange(
- user::LoginStatus login_status) {
+void StatusAreaWidget::UpdateAfterLoginStatusChange(LoginStatus login_status) {
if (login_status_ == login_status)
return;
login_status_ = login_status;
« no previous file with comments | « ash/system/status_area_widget.h ('k') | ash/system/tray/default_system_tray_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698