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

Unified Diff: ash/wm/toplevel_window_event_handler_unittest.cc

Issue 15974008: Rename SessionStateController -> LockStateController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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/wm/toplevel_window_event_handler_unittest.cc
diff --git a/ash/wm/toplevel_window_event_handler_unittest.cc b/ash/wm/toplevel_window_event_handler_unittest.cc
index 527c9b3c3d20aea249f77c660a19d53598198121..59dcb4259965b430ad9abf96aa36d47ae68b9497 100644
--- a/ash/wm/toplevel_window_event_handler_unittest.cc
+++ b/ash/wm/toplevel_window_event_handler_unittest.cc
@@ -9,7 +9,7 @@
#include "ash/shell_window_ids.h"
#include "ash/test/ash_test_base.h"
#include "ash/wm/property_util.h"
-#include "ash/wm/session_state_controller_impl.h"
+#include "ash/wm/session_lock_state_controller_impl2.h"
#include "ash/wm/window_util.h"
#include "ash/wm/workspace/snap_sizer.h"
#include "ash/wm/workspace_controller.h"
@@ -472,9 +472,9 @@ TEST_F(ToplevelWindowEventHandlerTest, GestureDrag) {
// Tests that a gesture cannot minimize a window in login/lock screen.
TEST_F(ToplevelWindowEventHandlerTest, GestureDragMinimizeLoginScreen) {
- SessionStateControllerImpl* state_controller =
- static_cast<SessionStateControllerImpl*>
- (Shell::GetInstance()->session_state_controller());
+ SessionLockStateControllerImpl2* state_controller =
+ static_cast<SessionLockStateControllerImpl2*>
Nikita (slow) 2013/05/30 13:16:10 I fixed static_cast which seems to be incorrect as
+ (Shell::GetInstance()->session_lock_state_controller());
state_controller->OnLoginStateChanged(user::LOGGED_IN_NONE);
state_controller->OnLockStateChanged(false);
SetUserLoggedIn(false);

Powered by Google App Engine
This is Rietveld 408576698