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

Unified Diff: ash/test/ash_test_base.h

Issue 2734933004: ash: Use SessionController instead of SessionStateDelegate (Closed)
Patch Set: rebase to get WorkspaceLayoutManagerSoloTest change 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/test/ash_interactive_ui_test_base.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_base.h
diff --git a/ash/test/ash_test_base.h b/ash/test/ash_test_base.h
index 41b0e0b1e3129dee8b11c23747a9a35a1b813d16..21eeea617cfa595d5f9b619d0cd136339f2269ce 100644
--- a/ash/test/ash_test_base.h
+++ b/ash/test/ash_test_base.h
@@ -57,6 +57,7 @@ namespace test {
class AshTestEnvironment;
class AshTestHelper;
class TestScreenshotDelegate;
+class TestSessionControllerClient;
class TestSystemTrayDelegate;
class AshTestBase : public testing::Test {
@@ -146,16 +147,15 @@ class AshTestBase : public testing::Test {
TestScreenshotDelegate* GetScreenshotDelegate();
+ TestSessionControllerClient* GetSessionControllerClient();
+
TestSystemTrayDelegate* GetSystemTrayDelegate();
// Utility methods to emulate user logged in or not, session started or not
// and user able to lock screen or not cases.
void SetSessionStarted(bool session_started);
- // Sets the SessionState to active, marking the begining of transitioning to
- // a user session. The session is considered blocked until SetSessionStarted
- // is called.
- void SetSessionStarting();
void SetUserLoggedIn(bool user_logged_in);
+ void SetCanLockScreen(bool can_lock);
void SetShouldLockScreenAutomatically(bool should_lock);
void SetUserAddingScreenRunning(bool user_adding_screen_running);
« no previous file with comments | « ash/test/ash_interactive_ui_test_base.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698