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

Unified Diff: ash/common/system/user/tray_user_unittest.cc

Issue 2741273002: chromeos: Promotes more from WmShell to Shell (Closed)
Patch Set: feedback 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/common/shutdown_controller.cc ('k') | ash/common/system/user/user_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/user/tray_user_unittest.cc
diff --git a/ash/common/system/user/tray_user_unittest.cc b/ash/common/system/user/tray_user_unittest.cc
index 70c042366361e7d07c5f998346bf361dd508bc25..f8db5487cf2e178fdaba118d672779b1e30bebcd 100644
--- a/ash/common/system/user/tray_user_unittest.cc
+++ b/ash/common/system/user/tray_user_unittest.cc
@@ -10,7 +10,7 @@
#include "ash/common/system/user/tray_user.h"
#include "ash/common/system/user/user_view.h"
#include "ash/common/test/test_session_state_delegate.h"
-#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
#include "ash/test/ash_test_helper.h"
#include "ash/test/test_shell_delegate.h"
@@ -74,7 +74,7 @@ void TrayUserTest::InitializeParameters(int users_logged_in,
// after everything was created.
delegate_->set_logged_in_users(users_logged_in);
test::TestShellDelegate* shell_delegate =
- static_cast<test::TestShellDelegate*>(WmShell::Get()->delegate());
+ static_cast<test::TestShellDelegate*>(Shell::Get()->shell_delegate());
shell_delegate->set_multi_profiles_enabled(multiprofile);
// Instead of using the existing tray panels we create new ones which makes
« no previous file with comments | « ash/common/shutdown_controller.cc ('k') | ash/common/system/user/user_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698