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

Unified Diff: chrome/browser/task_manager.h

Issue 18076: request review: fix issue 2821 and 6132 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months 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/bookmarks/bookmark_table_model.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 8587)
+++ chrome/browser/task_manager.h (working copy)
@@ -267,7 +267,7 @@
// 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 @@
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_;
« no previous file with comments | « chrome/browser/bookmarks/bookmark_table_model.cc ('k') | chrome/browser/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698