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_MANAGER_SAMPLING_TASK_MANAGER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_MANAGER_IMPL_H_ |
6 #define CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_MANAGER_IMPL_H_ | 6 #define CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_MANAGER_IMPL_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 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/lazy_instance.h" | 16 #include "base/lazy_instance.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/memory/scoped_vector.h" | |
19 #include "base/sequenced_task_runner.h" | 18 #include "base/sequenced_task_runner.h" |
20 #include "base/time/time.h" | 19 #include "base/time/time.h" |
21 #include "chrome/browser/task_manager/providers/task_provider.h" | 20 #include "chrome/browser/task_manager/providers/task_provider.h" |
22 #include "chrome/browser/task_manager/providers/task_provider_observer.h" | 21 #include "chrome/browser/task_manager/providers/task_provider_observer.h" |
23 #include "chrome/browser/task_manager/sampling/task_group.h" | 22 #include "chrome/browser/task_manager/sampling/task_group.h" |
24 #include "chrome/browser/task_manager/sampling/task_manager_io_thread_helper.h" | 23 #include "chrome/browser/task_manager/sampling/task_manager_io_thread_helper.h" |
25 #include "chrome/browser/task_manager/task_manager_interface.h" | 24 #include "chrome/browser/task_manager/task_manager_interface.h" |
26 #include "content/public/browser/gpu_data_manager_observer.h" | 25 #include "content/public/browser/gpu_data_manager_observer.h" |
27 #include "gpu/ipc/common/memory_stats.h" | 26 #include "gpu/ipc/common/memory_stats.h" |
28 | 27 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 // This will be set to true while there are observers and the task manager is | 168 // This will be set to true while there are observers and the task manager is |
170 // running. | 169 // running. |
171 bool is_running_; | 170 bool is_running_; |
172 | 171 |
173 DISALLOW_COPY_AND_ASSIGN(TaskManagerImpl); | 172 DISALLOW_COPY_AND_ASSIGN(TaskManagerImpl); |
174 }; | 173 }; |
175 | 174 |
176 } // namespace task_manager | 175 } // namespace task_manager |
177 | 176 |
178 #endif // CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_MANAGER_IMPL_H_ | 177 #endif // CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_MANAGER_IMPL_H_ |
OLD | NEW |