Chromium Code Reviews| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 22 kProcessSubtypeUnknown, | 22 kProcessSubtypeUnknown, |
| 23 kProcessSubtypePPAPIFlash, | 23 kProcessSubtypePPAPIFlash, |
| 24 kProcessSubtypeExtensionPersistent, | 24 kProcessSubtypeExtensionPersistent, |
| 25 kProcessSubtypeExtensionEvent | 25 kProcessSubtypeExtensionEvent |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 struct ProcessMetricsMetadata { | 28 struct ProcessMetricsMetadata { |
| 29 base::ProcessHandle handle; | 29 base::ProcessHandle handle; |
| 30 int process_type; | 30 int process_type; |
| 31 ProcessSubtypes process_subtype; | 31 ProcessSubtypes process_subtype; |
| 32 bool contains_oopif = false; | |
|
jochen (gone - plz use gerrit)
2017/02/17 15:32:46
same here
| |
| 32 | 33 |
| 33 ProcessMetricsMetadata() | 34 ProcessMetricsMetadata() |
| 34 : handle(base::kNullProcessHandle), | 35 : handle(base::kNullProcessHandle), |
| 35 process_type(content::PROCESS_TYPE_UNKNOWN), | 36 process_type(content::PROCESS_TYPE_UNKNOWN), |
| 36 process_subtype(kProcessSubtypeUnknown) {} | 37 process_subtype(kProcessSubtypeUnknown) {} |
| 37 }; | 38 }; |
| 38 | 39 |
| 39 class ProcessMetricsHistory { | 40 class ProcessMetricsHistory { |
| 40 public: | 41 public: |
| 41 ProcessMetricsHistory(); | 42 ProcessMetricsHistory(); |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 70 double cpu_usage_; | 71 double cpu_usage_; |
| 71 | 72 |
| 72 content::BackgroundTracingManager::TriggerHandle trace_trigger_handle_; | 73 content::BackgroundTracingManager::TriggerHandle trace_trigger_handle_; |
| 73 | 74 |
| 74 DISALLOW_ASSIGN(ProcessMetricsHistory); | 75 DISALLOW_ASSIGN(ProcessMetricsHistory); |
| 75 }; | 76 }; |
| 76 | 77 |
| 77 } // namespace performance_monitor | 78 } // namespace performance_monitor |
| 78 | 79 |
| 79 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PROCESS_METRICS_HISTORY_H_ | 80 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PROCESS_METRICS_HISTORY_H_ |
| OLD | NEW |