| 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/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/singleton.h" | 15 #include "base/memory/singleton.h" |
| 16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
| 17 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
| 18 #include "base/timer/timer.h" | |
| 19 #include "chrome/browser/task_manager/resource_provider.h" | 18 #include "chrome/browser/task_manager/resource_provider.h" |
| 20 #include "chrome/browser/ui/host_desktop.h" | 19 #include "chrome/browser/ui/host_desktop.h" |
| 21 #include "content/public/common/gpu_memory_stats.h" | 20 #include "content/public/common/gpu_memory_stats.h" |
| 22 #include "third_party/WebKit/public/web/WebCache.h" | 21 #include "third_party/WebKit/public/web/WebCache.h" |
| 23 | 22 |
| 24 class PrefRegistrySimple; | 23 class PrefRegistrySimple; |
| 25 class TaskManagerModel; | 24 class TaskManagerModel; |
| 26 class TaskManagerModelGpuDataManagerObserver; | 25 class TaskManagerModelGpuDataManagerObserver; |
| 27 | 26 |
| 28 namespace base { | 27 namespace base { |
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 // All per-Resource values are stored here. | 540 // All per-Resource values are stored here. |
| 542 mutable PerResourceCache per_resource_cache_; | 541 mutable PerResourceCache per_resource_cache_; |
| 543 | 542 |
| 544 // All per-Process values are stored here. | 543 // All per-Process values are stored here. |
| 545 mutable PerProcessCache per_process_cache_; | 544 mutable PerProcessCache per_process_cache_; |
| 546 | 545 |
| 547 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); | 546 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); |
| 548 }; | 547 }; |
| 549 | 548 |
| 550 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ | 549 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ |
| OLD | NEW |