OLD | NEW |
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 CHROME_BROWSER_TASK_MANAGEMENT_SAMPLING_TASK_GROUP_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_SAMPLING_TASK_GROUP_H_ |
6 #define CHROME_BROWSER_TASK_MANAGEMENT_SAMPLING_TASK_GROUP_H_ | 6 #define CHROME_BROWSER_TASK_MANAGEMENT_SAMPLING_TASK_GROUP_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/process/process_handle.h" | 15 #include "base/process/process_handle.h" |
16 #include "base/process/process_metrics.h" | |
17 #include "build/build_config.h" | 16 #include "build/build_config.h" |
18 #include "chrome/browser/task_management/providers/task.h" | 17 #include "chrome/browser/task_management/providers/task.h" |
19 #include "chrome/browser/task_management/sampling/task_group_sampler.h" | 18 #include "chrome/browser/task_management/sampling/task_group_sampler.h" |
20 #include "chrome/browser/task_management/task_manager_observer.h" | 19 #include "chrome/browser/task_management/task_manager_observer.h" |
21 | 20 |
22 namespace gpu { | 21 namespace gpu { |
23 struct VideoMemoryUsageStats; | 22 struct VideoMemoryUsageStats; |
24 } | 23 } |
25 | 24 |
26 namespace task_management { | 25 namespace task_management { |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 // destroyed. | 163 // destroyed. |
165 base::WeakPtrFactory<TaskGroup> weak_ptr_factory_; | 164 base::WeakPtrFactory<TaskGroup> weak_ptr_factory_; |
166 | 165 |
167 DISALLOW_COPY_AND_ASSIGN(TaskGroup); | 166 DISALLOW_COPY_AND_ASSIGN(TaskGroup); |
168 }; | 167 }; |
169 | 168 |
170 } // namespace task_management | 169 } // namespace task_management |
171 | 170 |
172 | 171 |
173 #endif // CHROME_BROWSER_TASK_MANAGEMENT_SAMPLING_TASK_GROUP_H_ | 172 #endif // CHROME_BROWSER_TASK_MANAGEMENT_SAMPLING_TASK_GROUP_H_ |
OLD | NEW |