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_TASK_MANAGER_TASK_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ |
6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ | 6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/memory/singleton.h" | 17 #include "base/memory/singleton.h" |
18 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
19 #include "base/strings/string16.h" | 19 #include "base/strings/string16.h" |
20 #include "chrome/browser/task_manager/resource_provider.h" | 20 #include "chrome/browser/task_manager/resource_provider.h" |
21 #include "chrome/browser/ui/host_desktop.h" | |
22 #include "content/public/common/gpu_memory_stats.h" | 21 #include "content/public/common/gpu_memory_stats.h" |
23 #include "third_party/WebKit/public/web/WebCache.h" | 22 #include "third_party/WebKit/public/web/WebCache.h" |
| 23 #include "ui/gfx/host_desktop_type.h" |
24 | 24 |
25 class PrefRegistrySimple; | 25 class PrefRegistrySimple; |
26 class PrivateWorkingSetSnapshot; | 26 class PrivateWorkingSetSnapshot; |
27 class TaskManagerModel; | 27 class TaskManagerModel; |
28 class TaskManagerModelGpuDataManagerObserver; | 28 class TaskManagerModelGpuDataManagerObserver; |
29 | 29 |
30 namespace base { | 30 namespace base { |
31 class ProcessMetrics; | 31 class ProcessMetrics; |
32 } | 32 } |
33 | 33 |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 // All per-Resource values are stored here. | 547 // All per-Resource values are stored here. |
548 mutable PerResourceCache per_resource_cache_; | 548 mutable PerResourceCache per_resource_cache_; |
549 | 549 |
550 // All per-Process values are stored here. | 550 // All per-Process values are stored here. |
551 mutable PerProcessCache per_process_cache_; | 551 mutable PerProcessCache per_process_cache_; |
552 | 552 |
553 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); | 553 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); |
554 }; | 554 }; |
555 | 555 |
556 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ | 556 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ |
OLD | NEW |