summaryrefslogtreecommitdiffstats
path: root/chrome/browser/task_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/task_manager.h')
-rw-r--r--chrome/browser/task_manager.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/task_manager.h b/chrome/browser/task_manager.h
index 90111fc..7c6602b 100644
--- a/chrome/browser/task_manager.h
+++ b/chrome/browser/task_manager.h
@@ -267,7 +267,7 @@ class TaskManagerTableModel : public views::GroupTableModel,
// Returns the stat value at the column |col_id| that should be displayed from
// the passed |process_metrics|.
int GetStatsValue(TaskManager::Resource* resource, int col_id);
-
+
// Retrieves the ProcessMetrics for the resources at the specified rows.
// Returns true if there was a ProcessMetrics available for both rows.
bool GetProcessMetricsForRows(int row1,
@@ -275,6 +275,10 @@ class TaskManagerTableModel : public views::GroupTableModel,
base::ProcessMetrics** proc_metrics1,
base::ProcessMetrics** proc_metrics2);
+ // Given a string containing a number, this function returns the formatted
+ // string that should be displayed in the task manager's memory cell.
+ std::wstring GetMemCellText(std::wstring* number) const;
+
// The list of providers to the task manager. They are ref counted.
ResourceProviderList providers_;