| 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/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/process/process_handle.h" | 13 #include "base/process/process_handle.h" |
| 13 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
| 14 #include "chrome/browser/performance_monitor/process_metrics_history.h" | 15 #include "chrome/browser/performance_monitor/process_metrics_history.h" |
| 15 | 16 |
| 16 namespace base { | 17 namespace base { |
| 17 template <typename Type> | 18 template <typename Type> |
| 18 struct DefaultSingletonTraits; | 19 struct DefaultSingletonTraits; |
| 19 } // namespace base | 20 } // namespace base |
| 20 | 21 |
| 21 namespace content { | 22 namespace content { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 70 |
| 70 // The timer to signal PerformanceMonitor to perform its timed collections. | 71 // The timer to signal PerformanceMonitor to perform its timed collections. |
| 71 base::OneShotTimer repeating_timer_; | 72 base::OneShotTimer repeating_timer_; |
| 72 | 73 |
| 73 DISALLOW_COPY_AND_ASSIGN(PerformanceMonitor); | 74 DISALLOW_COPY_AND_ASSIGN(PerformanceMonitor); |
| 74 }; | 75 }; |
| 75 | 76 |
| 76 } // namespace performance_monitor | 77 } // namespace performance_monitor |
| 77 | 78 |
| 78 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_ | 79 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_ |
| OLD | NEW |