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 CHROME_BROWSER_PERFORMANCE_MONITOR_PROCESS_METRICS_HISTORY_H_ | 5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_PROCESS_METRICS_HISTORY_H_ |
6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_PROCESS_METRICS_HISTORY_H_ | 6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_PROCESS_METRICS_HISTORY_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/linked_ptr.h" | 9 #include "base/memory/linked_ptr.h" |
9 #include "base/process/process_handle.h" | 10 #include "base/process/process_handle.h" |
10 #include "content/public/browser/background_tracing_manager.h" | 11 #include "content/public/browser/background_tracing_manager.h" |
11 #include "content/public/browser/child_process_data.h" | 12 #include "content/public/browser/child_process_data.h" |
12 #include "content/public/common/process_type.h" | 13 #include "content/public/common/process_type.h" |
13 | 14 |
14 namespace base { | 15 namespace base { |
15 class ProcessMetrics; | 16 class ProcessMetrics; |
16 } | 17 } |
17 | 18 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 double cpu_usage_; | 68 double cpu_usage_; |
68 | 69 |
69 content::BackgroundTracingManager::TriggerHandle trace_trigger_handle_; | 70 content::BackgroundTracingManager::TriggerHandle trace_trigger_handle_; |
70 | 71 |
71 DISALLOW_ASSIGN(ProcessMetricsHistory); | 72 DISALLOW_ASSIGN(ProcessMetricsHistory); |
72 }; | 73 }; |
73 | 74 |
74 } // namespace performance_monitor | 75 } // namespace performance_monitor |
75 | 76 |
76 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PROCESS_METRICS_HISTORY_H_ | 77 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PROCESS_METRICS_HISTORY_H_ |
OLD | NEW |