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

Unified Diff: ash/system/chromeos/supervised/tray_supervised_user_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/chromeos/supervised/tray_supervised_user.cc ('k') | ash/system/chromeos/tray_caps_lock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/supervised/tray_supervised_user_unittest.cc
diff --git a/ash/system/chromeos/supervised/tray_supervised_user_unittest.cc b/ash/system/chromeos/supervised/tray_supervised_user_unittest.cc
index 1e2353865d90a98dbae8a4f6961a828aa8c85257..5ff429555d82fda993242eb0a31b3a74ba7fda89 100644
--- a/ash/system/chromeos/supervised/tray_supervised_user_unittest.cc
+++ b/ash/system/chromeos/supervised/tray_supervised_user_unittest.cc
@@ -53,8 +53,7 @@ class TraySupervisedUserInitialTest : public TraySupervisedUserTest {
};
void TraySupervisedUserInitialTest::SetUp() {
- test::TestSystemTrayDelegate::SetInitialLoginStatus(
- user::LOGGED_IN_SUPERVISED);
+ test::TestSystemTrayDelegate::SetInitialLoginStatus(LoginStatus::SUPERVISED);
test::AshTestBase::SetUp();
}
@@ -67,7 +66,7 @@ TEST_F(TraySupervisedUserTest, SupervisedUserHasNotification) {
test::TestSystemTrayDelegate* delegate =
static_cast<test::TestSystemTrayDelegate*>(
ash::Shell::GetInstance()->system_tray_delegate());
- delegate->SetLoginStatus(user::LOGGED_IN_SUPERVISED);
+ delegate->SetLoginStatus(LoginStatus::SUPERVISED);
message_center::Notification* notification = GetPopup();
ASSERT_NE(static_cast<message_center::Notification*>(NULL), notification);
« no previous file with comments | « ash/system/chromeos/supervised/tray_supervised_user.cc ('k') | ash/system/chromeos/tray_caps_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698