OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_ | 5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_ |
6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_ | 6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/process/process_handle.h" | 12 #include "base/process/process_handle.h" |
12 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
13 #include "chrome/browser/performance_monitor/process_metrics_history.h" | 14 #include "chrome/browser/performance_monitor/process_metrics_history.h" |
14 | 15 |
15 namespace base { | 16 namespace base { |
16 template <typename Type> | 17 template <typename Type> |
17 struct DefaultSingletonTraits; | 18 struct DefaultSingletonTraits; |
18 } // namespace base | 19 } // namespace base |
19 | 20 |
20 namespace content { | 21 namespace content { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 69 |
69 // The timer to signal PerformanceMonitor to perform its timed collections. | 70 // The timer to signal PerformanceMonitor to perform its timed collections. |
70 base::OneShotTimer repeating_timer_; | 71 base::OneShotTimer repeating_timer_; |
71 | 72 |
72 DISALLOW_COPY_AND_ASSIGN(PerformanceMonitor); | 73 DISALLOW_COPY_AND_ASSIGN(PerformanceMonitor); |
73 }; | 74 }; |
74 | 75 |
75 } // namespace performance_monitor | 76 } // namespace performance_monitor |
76 | 77 |
77 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_ | 78 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_ |
OLD | NEW |