| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_RESOURCE_PROVIDERS_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_PROVIDERS_H_ |
| 6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_PROVIDERS_H_ | 6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_PROVIDERS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/process_util.h" | 14 #include "base/process_util.h" |
| 15 #include "chrome/browser/task_manager/task_manager.h" | 15 #include "chrome/browser/task_manager/task_manager.h" |
| 16 #include "chrome/common/child_process_info.h" | 16 #include "chrome/common/child_process_info.h" |
| 17 #include "chrome/common/notification_observer.h" | 17 #include "content/common/notification_observer.h" |
| 18 #include "chrome/common/notification_registrar.h" | 18 #include "content/common/notification_registrar.h" |
| 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
| 20 | 20 |
| 21 class BackgroundContents; | 21 class BackgroundContents; |
| 22 class BalloonHost; | 22 class BalloonHost; |
| 23 class Extension; | 23 class Extension; |
| 24 class ExtensionHost; | 24 class ExtensionHost; |
| 25 class RenderViewHost; | 25 class RenderViewHost; |
| 26 class TabContents; | 26 class TabContents; |
| 27 | 27 |
| 28 // These file contains the resource providers used in the task manager. | 28 // These file contains the resource providers used in the task manager. |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 | 478 |
| 479 void AddToTaskManager(ChildProcessInfo child_process_info); | 479 void AddToTaskManager(ChildProcessInfo child_process_info); |
| 480 | 480 |
| 481 TaskManager* task_manager_; | 481 TaskManager* task_manager_; |
| 482 TaskManagerBrowserProcessResource resource_; | 482 TaskManagerBrowserProcessResource resource_; |
| 483 | 483 |
| 484 DISALLOW_COPY_AND_ASSIGN(TaskManagerBrowserProcessResourceProvider); | 484 DISALLOW_COPY_AND_ASSIGN(TaskManagerBrowserProcessResourceProvider); |
| 485 }; | 485 }; |
| 486 | 486 |
| 487 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_PROVIDERS_H_ | 487 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_PROVIDERS_H_ |
| OLD | NEW |