OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_METRICS_USER_METRICS_RECORDER_H_ | 5 #ifndef ASH_METRICS_USER_METRICS_RECORDER_H_ |
6 #define ASH_METRICS_USER_METRICS_RECORDER_H_ | 6 #define ASH_METRICS_USER_METRICS_RECORDER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/metrics/task_switch_metrics_recorder.h" | 9 #include "ash/metrics/task_switch_metrics_recorder.h" |
10 #include "base/memory/scoped_ptr.h" | |
tdanderson
2015/05/15 19:23:09
needed?
bruthig
2015/05/15 19:36:21
Done.
| |
10 #include "base/timer/timer.h" | 11 #include "base/timer/timer.h" |
11 | 12 |
12 namespace ash { | 13 namespace ash { |
13 | 14 |
15 class ShellDelegate; | |
Alexei Svitkine (slow)
2015/05/15 19:19:56
Do you still need changes to this file?
tdanderson
2015/05/15 19:23:09
needed?
bruthig
2015/05/15 19:36:21
Done.
bruthig
2015/05/15 19:36:21
Nope, done.
| |
16 | |
14 namespace test { | 17 namespace test { |
15 class UserMetricsRecorderTestAPI; | 18 class UserMetricsRecorderTestAPI; |
16 } | 19 } |
17 | 20 |
18 enum UserMetricsAction { | 21 enum UserMetricsAction { |
19 UMA_ACCEL_EXIT_FIRST_Q, | 22 UMA_ACCEL_EXIT_FIRST_Q, |
20 UMA_ACCEL_EXIT_SECOND_Q, | 23 UMA_ACCEL_EXIT_SECOND_Q, |
21 UMA_ACCEL_KEYBOARD_BRIGHTNESS_DOWN_F6, | 24 UMA_ACCEL_KEYBOARD_BRIGHTNESS_DOWN_F6, |
22 UMA_ACCEL_KEYBOARD_BRIGHTNESS_UP_F7, | 25 UMA_ACCEL_KEYBOARD_BRIGHTNESS_UP_F7, |
23 UMA_ACCEL_LOCK_SCREEN_LOCK_BUTTON, | 26 UMA_ACCEL_LOCK_SCREEN_LOCK_BUTTON, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
178 base::RepeatingTimer<UserMetricsRecorder> timer_; | 181 base::RepeatingTimer<UserMetricsRecorder> timer_; |
179 | 182 |
180 TaskSwitchMetricsRecorder task_switch_metrics_recorder_; | 183 TaskSwitchMetricsRecorder task_switch_metrics_recorder_; |
181 | 184 |
182 DISALLOW_COPY_AND_ASSIGN(UserMetricsRecorder); | 185 DISALLOW_COPY_AND_ASSIGN(UserMetricsRecorder); |
183 }; | 186 }; |
184 | 187 |
185 } // namespace ash | 188 } // namespace ash |
186 | 189 |
187 #endif // ASH_METRICS_USER_METRICS_RECORDER_H_ | 190 #endif // ASH_METRICS_USER_METRICS_RECORDER_H_ |
OLD | NEW |