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

Unified Diff: ash/metrics/user_metrics_recorder.h

Issue 1165003010: Revert r333104: "Added UMA statistics for changing the active window via click or touch events." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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') | ash/metrics/user_metrics_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/metrics/user_metrics_recorder.h
diff --git a/ash/metrics/user_metrics_recorder.h b/ash/metrics/user_metrics_recorder.h
index 0d22355f62317069da19f55080ee57567cccbd8c..7bb6f9d52d992bd59518523a4cd44733c4f2bb23 100644
--- a/ash/metrics/user_metrics_recorder.h
+++ b/ash/metrics/user_metrics_recorder.h
@@ -7,13 +7,10 @@
#include "ash/ash_export.h"
#include "ash/metrics/task_switch_metrics_recorder.h"
-#include "base/memory/scoped_ptr.h"
#include "base/timer/timer.h"
namespace ash {
-class DesktopTaskSwitchMetricRecorder;
-
namespace test {
class UserMetricsRecorderTestAPI;
}
@@ -30,7 +27,6 @@ enum UserMetricsAction {
UMA_ACCEL_RESTART_POWER_BUTTON,
UMA_ACCEL_SHUT_DOWN_POWER_BUTTON,
UMA_CLOSE_THROUGH_CONTEXT_MENU,
- UMA_DESKTOP_SWITCH_TASK,
UMA_DRAG_MAXIMIZE_LEFT,
UMA_DRAG_MAXIMIZE_RIGHT,
UMA_GESTURE_OVERVIEW,
@@ -157,12 +153,6 @@ class ASH_EXPORT UserMetricsRecorder {
return task_switch_metrics_recorder_;
}
- // Informs |this| that the Shell has been initialized.
- void OnShellInitialized();
-
- // Informs |this| that the Shell is going to be shut down.
- void OnShellShuttingDown();
-
private:
friend class test::UserMetricsRecorderTestAPI;
@@ -189,11 +179,6 @@ class ASH_EXPORT UserMetricsRecorder {
TaskSwitchMetricsRecorder task_switch_metrics_recorder_;
- // Metric recorder to track how often task windows are activated by mouse
- // clicks or touchscreen taps.
- scoped_ptr<DesktopTaskSwitchMetricRecorder>
- desktop_task_switch_metric_recorder_;
-
DISALLOW_COPY_AND_ASSIGN(UserMetricsRecorder);
};
« no previous file with comments | « ash/metrics/task_switch_metrics_recorder_unittest.cc ('k') | ash/metrics/user_metrics_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698