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

Unified Diff: ash/metrics/desktop_task_switch_metric_recorder.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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/desktop_task_switch_metric_recorder.cc
diff --git a/ash/metrics/desktop_task_switch_metric_recorder.cc b/ash/metrics/desktop_task_switch_metric_recorder.cc
index e002ed3345469741bb4a46f00a33f82e5ff0f84e..b9678687ef90df5780b894085f409142b2dde3e8 100644
--- a/ash/metrics/desktop_task_switch_metric_recorder.cc
+++ b/ash/metrics/desktop_task_switch_metric_recorder.cc
@@ -5,8 +5,8 @@
#include "ash/metrics/desktop_task_switch_metric_recorder.h"
#include "ash/shell.h"
+#include "ash/shell_port.h"
#include "ash/wm/window_util.h"
-#include "ash/wm_shell.h"
#include "ui/wm/public/activation_client.h"
namespace ash {
@@ -28,7 +28,7 @@ void DesktopTaskSwitchMetricRecorder::OnWindowActivated(
if (last_active_task_window_ != gained_active &&
reason == aura::client::ActivationChangeObserver::ActivationReason::
INPUT_EVENT) {
- WmShell::Get()->RecordUserMetricsAction(UMA_DESKTOP_SWITCH_TASK);
+ ShellPort::Get()->RecordUserMetricsAction(UMA_DESKTOP_SWITCH_TASK);
}
last_active_task_window_ = gained_active;
}

Powered by Google App Engine
This is Rietveld 408576698