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

Side by Side Diff: ash/metrics/task_switch_metrics_recorder.h

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_TASK_SWITCH_METRIC_RECORDER_H_ 5 #ifndef ASH_METRICS_TASK_SWITCH_METRIC_RECORDER_H_
6 #define ASH_METRICS_TASK_SWITCH_METRIC_RECORDER_H_ 6 #define ASH_METRICS_TASK_SWITCH_METRIC_RECORDER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "base/containers/scoped_ptr_hash_map.h" 11 #include "base/containers/scoped_ptr_hash_map.h"
12 #include "base/macros.h"
12 13
13 namespace aura { 14 namespace aura {
14 class Window; 15 class Window;
15 } // namespace aura 16 } // namespace aura
16 17
17 namespace ash { 18 namespace ash {
18 19
19 class TaskSwitchTimeTracker; 20 class TaskSwitchTimeTracker;
20 21
21 // The TaskSwitchMetricsRecorder class records UMA metrics related to task 22 // The TaskSwitchMetricsRecorder class records UMA metrics related to task
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // |histogram_map_| is populated on demand the first time a 87 // |histogram_map_| is populated on demand the first time a
87 // TaskSwitchTimeTracker is needed for a given source. 88 // TaskSwitchTimeTracker is needed for a given source.
88 base::ScopedPtrHashMap<int, scoped_ptr<TaskSwitchTimeTracker>> histogram_map_; 89 base::ScopedPtrHashMap<int, scoped_ptr<TaskSwitchTimeTracker>> histogram_map_;
89 90
90 DISALLOW_COPY_AND_ASSIGN(TaskSwitchMetricsRecorder); 91 DISALLOW_COPY_AND_ASSIGN(TaskSwitchMetricsRecorder);
91 }; 92 };
92 93
93 } // namespace ash 94 } // namespace ash
94 95
95 #endif // ASH_METRICS_TASK_SWITCH_METRIC_RECORDER_H_ 96 #endif // ASH_METRICS_TASK_SWITCH_METRIC_RECORDER_H_
OLDNEW
« no previous file with comments | « ash/magnifier/partial_magnification_controller.h ('k') | ash/metrics/task_switch_time_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698