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

Unified Diff: ash/system/overview/overview_button_tray_unittest.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/overview/overview_button_tray.cc ('k') | ash/system/status_area_widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/overview/overview_button_tray_unittest.cc
diff --git a/ash/system/overview/overview_button_tray_unittest.cc b/ash/system/overview/overview_button_tray_unittest.cc
index 87d1db0988cceb54d9f11fe6ebbb8c7aa4fa8cce..ffda7d33db68b96e0e44ef30d972034d341b8686 100644
--- a/ash/system/overview/overview_button_tray_unittest.cc
+++ b/ash/system/overview/overview_button_tray_unittest.cc
@@ -181,11 +181,12 @@ TEST_F(OverviewButtonTrayTest, VisibilityChangesForLoginStatus) {
Shell::GetInstance()->maximize_mode_controller()->
EnableMaximizeModeWindowManager(true);
SetUserLoggedIn(false);
- Shell::GetInstance()->UpdateAfterLoginStatusChange(user::LOGGED_IN_NONE);
+ Shell::GetInstance()->UpdateAfterLoginStatusChange(
+ LoginStatus::NOT_LOGGED_IN);
EXPECT_FALSE(GetTray()->visible());
SetUserLoggedIn(true);
SetSessionStarted(true);
- Shell::GetInstance()->UpdateAfterLoginStatusChange(user::LOGGED_IN_USER);
+ Shell::GetInstance()->UpdateAfterLoginStatusChange(LoginStatus::USER);
EXPECT_TRUE(GetTray()->visible());
SetUserAddingScreenRunning(true);
NotifySessionStateChanged();
« no previous file with comments | « ash/system/overview/overview_button_tray.cc ('k') | ash/system/status_area_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698