| OLD | NEW | 
|---|
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_RESOURCE_PROVIDERS_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGER_RESOURCE_PROVIDERS_H_ | 
| 6 #define CHROME_BROWSER_TASK_MANAGER_RESOURCE_PROVIDERS_H_ | 6 #define CHROME_BROWSER_TASK_MANAGER_RESOURCE_PROVIDERS_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/process_util.h" | 12 #include "base/process_util.h" | 
| 13 #include "chrome/browser/task_manager.h" | 13 #include "chrome/browser/task_manager.h" | 
| 14 #include "chrome/common/child_process_info.h" | 14 #include "chrome/common/child_process_info.h" | 
| 15 #include "chrome/common/notification_observer.h" | 15 #include "chrome/common/notification_observer.h" | 
| 16 #include "webkit/api/public/WebCache.h" | 16 #include "third_party/WebKit/WebKit/chromium/public/WebCache.h" | 
| 17 | 17 | 
| 18 class Extension; | 18 class Extension; | 
| 19 class ExtensionHost; | 19 class ExtensionHost; | 
| 20 class TabContents; | 20 class TabContents; | 
| 21 | 21 | 
| 22 // These file contains the resource providers used in the task manager. | 22 // These file contains the resource providers used in the task manager. | 
| 23 | 23 | 
| 24 class TaskManagerTabContentsResource : public TaskManager::Resource { | 24 class TaskManagerTabContentsResource : public TaskManager::Resource { | 
| 25  public: | 25  public: | 
| 26   explicit TaskManagerTabContentsResource(TabContents* tab_contents); | 26   explicit TaskManagerTabContentsResource(TabContents* tab_contents); | 
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 310 | 310 | 
| 311   void AddToTaskManager(ChildProcessInfo child_process_info); | 311   void AddToTaskManager(ChildProcessInfo child_process_info); | 
| 312 | 312 | 
| 313   TaskManager* task_manager_; | 313   TaskManager* task_manager_; | 
| 314   TaskManagerBrowserProcessResource resource_; | 314   TaskManagerBrowserProcessResource resource_; | 
| 315 | 315 | 
| 316   DISALLOW_COPY_AND_ASSIGN(TaskManagerBrowserProcessResourceProvider); | 316   DISALLOW_COPY_AND_ASSIGN(TaskManagerBrowserProcessResourceProvider); | 
| 317 }; | 317 }; | 
| 318 | 318 | 
| 319 #endif  // CHROME_BROWSER_TASK_MANAGER_RESOURCE_PROVIDERS_H_ | 319 #endif  // CHROME_BROWSER_TASK_MANAGER_RESOURCE_PROVIDERS_H_ | 
| OLD | NEW | 
|---|