Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2815)

Unified Diff: chrome/browser/task_manager.h

Issue 10895: Add Terminate() to the Process object, have RenderProcessHost use this to avo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resource_message_filter.cc ('k') | chrome/browser/task_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/task_manager.h
===================================================================
--- chrome/browser/task_manager.h (revision 5371)
+++ chrome/browser/task_manager.h (working copy)
@@ -36,7 +36,7 @@
class Window;
}
-namespace process_util {
+namespace base {
class ProcessMetrics;
}
@@ -220,7 +220,7 @@
};
typedef std::map<HANDLE, std::vector<TaskManager::Resource*>*> GroupMap;
- typedef std::map<HANDLE, process_util::ProcessMetrics*> MetricsMap;
+ typedef std::map<HANDLE, base::ProcessMetrics*> MetricsMap;
typedef std::map<HANDLE, int> CPUUsageMap;
typedef std::map<TaskManager::Resource*, int64> ResourceValueMap;
typedef std::vector<TaskManager::Resource*> ResourceList;
@@ -259,15 +259,15 @@
// Retrieves the private memory (in KB) that should be displayed from the
// passed |process_metrics|.
- size_t GetPrivateMemory(process_util::ProcessMetrics* process_metrics);
+ size_t GetPrivateMemory(base::ProcessMetrics* process_metrics);
// Returns the shared memory (in KB) that should be displayed from the passed
// |process_metrics|.
- size_t GetSharedMemory(process_util::ProcessMetrics* process_metrics);
+ size_t GetSharedMemory(base::ProcessMetrics* process_metrics);
// Returns the pysical memory (in KB) that should be displayed from the passed
// |process_metrics|.
- size_t GetPhysicalMemory(process_util::ProcessMetrics* process_metrics);
+ size_t GetPhysicalMemory(base::ProcessMetrics* process_metrics);
// Returns the stat value at the column |col_id| that should be displayed from
// the passed |process_metrics|.
@@ -277,8 +277,8 @@
// Returns true if there was a ProcessMetrics available for both rows.
bool GetProcessMetricsForRows(int row1,
int row2,
- process_util::ProcessMetrics** proc_metrics1,
- process_util::ProcessMetrics** proc_metrics2);
+ base::ProcessMetrics** proc_metrics1,
+ base::ProcessMetrics** proc_metrics2);
// The list of providers to the task manager. They are ref counted.
ResourceProviderList providers_;
« no previous file with comments | « chrome/browser/resource_message_filter.cc ('k') | chrome/browser/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698