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

Unified Diff: ash/common/shelf/shelf_window_watcher_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/common/shelf/shelf_window_watcher_unittest.cc
diff --git a/ash/common/shelf/shelf_window_watcher_unittest.cc b/ash/common/shelf/shelf_window_watcher_unittest.cc
index d43accaef4401247df91be9ea8ce9812cf7de811..9d4b74ede78361d109f3aa666b2f584ab2cc9bf9 100644
--- a/ash/common/shelf/shelf_window_watcher_unittest.cc
+++ b/ash/common/shelf/shelf_window_watcher_unittest.cc
@@ -4,7 +4,7 @@
#include "ash/common/shelf/shelf_window_watcher.h"
-#include "ash/common/session/session_state_delegate.h"
+#include "ash/common/session/session_controller.h"
#include "ash/common/shelf/shelf_item_types.h"
#include "ash/common/shelf/shelf_model.h"
#include "ash/common/wm/window_resizer.h"
@@ -377,7 +377,7 @@ using ShelfWindowWatcherSessionStartTest = test::NoSessionAshTestBase;
TEST_F(ShelfWindowWatcherSessionStartTest, PreExistingWindow) {
ShelfModel* model = WmShell::Get()->shelf_model();
ASSERT_FALSE(
- WmShell::Get()->GetSessionStateDelegate()->IsActiveUserSessionStarted());
+ WmShell::Get()->session_controller()->IsActiveUserSessionStarted());
// ShelfModel only has an APP_LIST item.
EXPECT_EQ(1, model->item_count());

Powered by Google App Engine
This is Rietveld 408576698