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 <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
16 #include "base/process_util.h" | |
17 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
18 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
19 #include "chrome/browser/renderer_host/web_cache_manager.h" | 18 #include "chrome/browser/renderer_host/web_cache_manager.h" |
20 #include "chrome/browser/task_manager/resource_provider.h" | 19 #include "chrome/browser/task_manager/resource_provider.h" |
21 #include "chrome/browser/ui/host_desktop.h" | 20 #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" |
24 | 23 |
25 class PrefRegistrySimple; | 24 class PrefRegistrySimple; |
26 class TaskManagerModel; | 25 class TaskManagerModel; |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 // All per-Resource values are stored here. | 557 // All per-Resource values are stored here. |
559 mutable PerResourceCache per_resource_cache_; | 558 mutable PerResourceCache per_resource_cache_; |
560 | 559 |
561 // All per-Process values are stored here. | 560 // All per-Process values are stored here. |
562 mutable PerProcessCache per_process_cache_; | 561 mutable PerProcessCache per_process_cache_; |
563 | 562 |
564 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); | 563 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); |
565 }; | 564 }; |
566 | 565 |
567 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ | 566 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ |
OLD | NEW |