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

Unified Diff: chrome/browser/task_manager/task_manager.h

Issue 11885005: Consolidates lookup of task manager values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: chrome/browser/task_manager/task_manager.h
diff --git a/chrome/browser/task_manager/task_manager.h b/chrome/browser/task_manager/task_manager.h
index c1d3106361010565be0503b8054a8037a182348f..8ffa709f858206c0ca3f16d7379424d80d0d81c5 100644
--- a/chrome/browser/task_manager/task_manager.h
+++ b/chrome/browser/task_manager/task_manager.h
@@ -305,6 +305,10 @@ class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> {
// no resouce has the |unique_id|.
int GetResourceIndexByUniqueId(const int unique_id) const;
+ // Catch all method that calls off to the appropriate GetResourceXXX method
Evan Stade 2013/01/11 22:07:45 nit: Garden path sentence. "Catchall" or "Catch-al
+ // based on |col_id|. |col_id| is an IDS_ value used to identify the column.
+ string16 GetResourceById(int index, int col_id) const;
+
// Methods to return formatted resource information.
string16 GetResourceTitle(int index) const;
string16 GetResourceProfileName(int index) const;
« no previous file with comments | « no previous file | chrome/browser/task_manager/task_manager.cc » ('j') | chrome/browser/ui/gtk/task_manager_gtk.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698