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

Unified Diff: ash/accelerators/accelerator_controller_unittest.cc

Issue 2734933004: ash: Use SessionController instead of SessionStateDelegate (Closed)
Patch Set: rebase 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
Index: ash/accelerators/accelerator_controller_unittest.cc
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc
index fa81be1c474d04ccb1af931cf06cf4ddddd629fe..4a8473df5fdc8f52d6485f8d468396606b4116a9 100644
--- a/ash/accelerators/accelerator_controller_unittest.cc
+++ b/ash/accelerators/accelerator_controller_unittest.cc
@@ -9,7 +9,7 @@
#include "ash/common/accessibility_types.h"
#include "ash/common/ash_switches.h"
#include "ash/common/ime_control_delegate.h"
-#include "ash/common/session/session_state_delegate.h"
+#include "ash/common/session/session_controller.h"
#include "ash/common/system/brightness_control_delegate.h"
#include "ash/common/system/keyboard_brightness_control_delegate.h"
#include "ash/common/system/tray/system_tray_delegate.h"
@@ -1490,8 +1490,8 @@ class DeprecatedAcceleratorTester : public AcceleratorControllerTest {
}
void ResetStateIfNeeded() {
- if (WmShell::Get()->GetSessionStateDelegate()->IsScreenLocked() ||
- WmShell::Get()->GetSessionStateDelegate()->IsUserSessionBlocked()) {
+ if (WmShell::Get()->session_controller()->IsScreenLocked() ||
+ WmShell::Get()->session_controller()->IsUserSessionBlocked()) {
UnblockUserSession();
}
}

Powered by Google App Engine
This is Rietveld 408576698