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

Unified Diff: ash/metrics/user_metrics_recorder.cc

Issue 1132293004: Record time between switching the active window from Ash overview mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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/task_switch_metrics_recorder_unittest.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/metrics/user_metrics_recorder.cc
diff --git a/ash/metrics/user_metrics_recorder.cc b/ash/metrics/user_metrics_recorder.cc
index e9929402dd3295ab22e4c73ba238ec256777235c..cfc4d8ee16d4a79a28fe463ce86ff38e8f60b497 100644
--- a/ash/metrics/user_metrics_recorder.cc
+++ b/ash/metrics/user_metrics_recorder.cc
@@ -584,6 +584,8 @@ void UserMetricsRecorder::RecordUserMetricsAction(UserMetricsAction action) {
case ash::UMA_WINDOW_OVERVIEW_ACTIVE_WINDOW_CHANGED:
base::RecordAction(
base::UserMetricsAction("WindowSelector_ActiveWindowChanged"));
+ task_switch_metrics_recorder_.OnTaskSwitch(
+ TaskSwitchMetricsRecorder::kOverviewMode);
break;
case ash::UMA_WINDOW_OVERVIEW_ENTER_KEY:
base::RecordAction(
« no previous file with comments | « ash/metrics/task_switch_metrics_recorder_unittest.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698