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

Unified Diff: ash/metrics/user_metrics_recorder_unittest.cc

Issue 2629643002: chromeos: Renames WmWindowAura to WmWindow (Closed)
Patch Set: feedback Created 3 years, 11 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/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 ad120a2060974daf45499056a5aaddc15d4d16e2..c805d75174a3062f45030e147d6712494e612f19 100644
--- a/ash/metrics/user_metrics_recorder_unittest.cc
+++ b/ash/metrics/user_metrics_recorder_unittest.cc
@@ -6,12 +6,12 @@
#include <memory>
-#include "ash/aura/wm_window_aura.h"
#include "ash/common/login_status.h"
#include "ash/common/shelf/shelf_model.h"
#include "ash/common/test/test_shelf_delegate.h"
#include "ash/common/test/test_system_tray_delegate.h"
#include "ash/common/wm_shell.h"
+#include "ash/common/wm_window.h"
#include "ash/test/ash_test_base.h"
#include "ash/test/user_metrics_recorder_test_api.h"
#include "base/test/histogram_tester.h"
@@ -197,24 +197,24 @@ TEST_F(UserMetricsRecorderTest, ValuesRecordedByRecordShelfItemCounts) {
ASSERT_EQ(TYPE_APP_LIST, shelf_items[0].type);
aura::Window* pinned_window_with_app_id_1 = CreateTestWindow();
- test_shelf_delegate->AddShelfItem(
- WmWindowAura::Get(pinned_window_with_app_id_1), "app_id_1");
+ test_shelf_delegate->AddShelfItem(WmWindow::Get(pinned_window_with_app_id_1),
+ "app_id_1");
test_shelf_delegate->PinAppWithID("app_id_1");
aura::Window* pinned_window_with_app_id_2 = CreateTestWindow();
- test_shelf_delegate->AddShelfItem(
- WmWindowAura::Get(pinned_window_with_app_id_2), "app_id_2");
+ test_shelf_delegate->AddShelfItem(WmWindow::Get(pinned_window_with_app_id_2),
+ "app_id_2");
test_shelf_delegate->PinAppWithID("app_id_2");
aura::Window* unpinned_window_with_app_id_3 = CreateTestWindow();
test_shelf_delegate->AddShelfItem(
- WmWindowAura::Get(unpinned_window_with_app_id_3), "app_id_3");
+ WmWindow::Get(unpinned_window_with_app_id_3), "app_id_3");
aura::Window* unpinned_window_4 = CreateTestWindow();
- test_shelf_delegate->AddShelfItem(WmWindowAura::Get(unpinned_window_4));
+ test_shelf_delegate->AddShelfItem(WmWindow::Get(unpinned_window_4));
aura::Window* unpinned_window_5 = CreateTestWindow();
- test_shelf_delegate->AddShelfItem(WmWindowAura::Get(unpinned_window_5));
+ test_shelf_delegate->AddShelfItem(WmWindow::Get(unpinned_window_5));
user_metrics_recorder_test_api()->RecordPeriodicMetrics();
histograms().ExpectBucketCount(kAsh_Shelf_NumberOfItems, 5, 1);
« no previous file with comments | « ash/high_contrast/high_contrast_controller.cc ('k') | ash/mus/accelerators/accelerator_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698