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 45a76d59ee12cf429443e31b6cb9cf9f6c9797f1..2909460c0dd3eb9db4b60a97d651d5fee3f6e995 100644 |
--- a/chrome/browser/task_manager/task_manager.h |
+++ b/chrome/browser/task_manager/task_manager.h |
@@ -159,10 +159,6 @@ class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> { |
int GetIdleWakeupsPerSecond(int index) const; |
base::ProcessId GetProcessId(int index) const; |
base::ProcessHandle GetProcess(int index) const; |
- int GetResourceUniqueId(int index) const; |
- // Returns the index of resource that has the given |unique_id|. Returns -1 if |
- // no resouce has the |unique_id|. |
- int GetResourceIndexByUniqueId(const int unique_id) const; |
// Catchall method that calls off to the appropriate GetResourceXXX method |
// based on |col_id|. |col_id| is an IDS_ value used to identify the column. |
@@ -254,10 +250,6 @@ class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> { |
bool IsResourceFirstInGroup(int index) const; |
bool IsResourceLastInGroup(int index) const; |
- // Returns true if the resource runs in the background (not visible to the |
- // user, e.g. extension background pages and BackgroundContents). |
- bool IsBackgroundResource(int index) const; |
- |
// Returns icon to be used for resource (for example a favicon). |
gfx::ImageSkia GetResourceIcon(int index) const; |
@@ -287,9 +279,6 @@ class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> { |
// Returns WebContents of given resource or NULL if not applicable. |
content::WebContents* GetResourceWebContents(int index) const; |
- // Returns Extension of given resource or NULL if not applicable. |
- const extensions::Extension* GetResourceExtension(int index) const; |
- |
void AddResource(task_manager::Resource* resource); |
void RemoveResource(task_manager::Resource* resource); |
@@ -566,9 +555,6 @@ class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> { |
// A salt lick for the goats. |
uint64 goat_salt_; |
- // Resource identifier that is unique within single session. |
- int last_unique_id_; |
- |
// Buffer for coalescing BytesReadParam so we don't have to post a task on |
// each NotifyBytesRead() call. |
std::vector<BytesReadParam> bytes_read_buffer_; |