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

Unified Diff: ash/metrics/user_metrics_recorder_unittest.cc

Issue 2169533002: mash: Migrate shelf app list button to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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/metrics/user_metrics_recorder.cc ('k') | ash/shelf/app_list_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/metrics/user_metrics_recorder_unittest.cc
diff --git a/ash/metrics/user_metrics_recorder_unittest.cc b/ash/metrics/user_metrics_recorder_unittest.cc
index 8605295d39c4f5c16e74e60b8f915ed4845c91f9..e44dcdc106e6869acda231ecfe65e327f8b7ec0b 100644
--- a/ash/metrics/user_metrics_recorder_unittest.cc
+++ b/ash/metrics/user_metrics_recorder_unittest.cc
@@ -8,8 +8,8 @@
#include "ash/common/login_status.h"
#include "ash/common/shelf/shelf_model.h"
+#include "ash/common/wm_shell.h"
#include "ash/shelf/shelf_util.h"
-#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
#include "ash/test/test_shelf_delegate.h"
#include "ash/test/test_system_tray_delegate.h"
@@ -192,7 +192,7 @@ TEST_F(UserMetricsRecorderTest, ValuesRecordedByRecordShelfItemCounts) {
SetUserInActiveDesktopEnvironment(true);
// Make sure the shelf contains the app list launcher button.
- const ShelfItems& shelf_items = Shell::GetInstance()->shelf_model()->items();
+ const ShelfItems& shelf_items = WmShell::Get()->shelf_model()->items();
ASSERT_EQ(1u, shelf_items.size());
ASSERT_EQ(TYPE_APP_LIST, shelf_items[0].type);
« no previous file with comments | « ash/metrics/user_metrics_recorder.cc ('k') | ash/shelf/app_list_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698