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

Unified Diff: ash/wm/lock_state_controller_unittest.cc

Issue 2761373002: Move yet more from WmShell to Shell (Closed)
Patch Set: merge Created 3 years, 9 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/wm/event_client_impl.cc ('k') | ash/wm/panels/panel_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/lock_state_controller_unittest.cc
diff --git a/ash/wm/lock_state_controller_unittest.cc b/ash/wm/lock_state_controller_unittest.cc
index a1484cf1d32da5aaac7ab021e0c617524853ad9e..5c18242aa0338b5701c5c2a61424de4d4105f931 100644
--- a/ash/wm/lock_state_controller_unittest.cc
+++ b/ash/wm/lock_state_controller_unittest.cc
@@ -277,13 +277,13 @@ class LockStateControllerTest : public AshTestBase {
void ExpectUnlockedState() {
SCOPED_TRACE("Failure in ExpectUnlockedState");
EXPECT_EQ(0u, test_animator_->GetAnimationCount());
- EXPECT_FALSE(WmShell::Get()->session_controller()->IsScreenLocked());
+ EXPECT_FALSE(Shell::Get()->session_controller()->IsScreenLocked());
}
void ExpectLockedState() {
SCOPED_TRACE("Failure in ExpectLockedState");
EXPECT_EQ(0u, test_animator_->GetAnimationCount());
- EXPECT_TRUE(WmShell::Get()->session_controller()->IsScreenLocked());
+ EXPECT_TRUE(Shell::Get()->session_controller()->IsScreenLocked());
}
void HideWallpaper() { test_animator_->HideWallpaper(); }
@@ -314,7 +314,7 @@ class LockStateControllerTest : public AshTestBase {
void SystemLocks() {
lock_state_controller_->OnLockStateChanged(true);
- WmShell::Get()->session_controller()->LockScreenAndFlushForTest();
+ Shell::Get()->session_controller()->LockScreenAndFlushForTest();
}
void SuccessfulAuthentication(bool* call_flag) {
« no previous file with comments | « ash/wm/event_client_impl.cc ('k') | ash/wm/panels/panel_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698