Chromium Code Reviews| 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 2f993960b57f7262226f1ec9ec58259c51c0b059..9ad63457cb981f9ecc7871cb14f1bc409bd8bc38 100644 |
| --- a/chrome/browser/task_manager/task_manager.h |
| +++ b/chrome/browser/task_manager/task_manager.h |
| @@ -68,6 +68,7 @@ class TaskManager { |
| virtual string16 GetProfileName() const = 0; |
| virtual SkBitmap GetIcon() const = 0; |
| virtual base::ProcessHandle GetProcess() const = 0; |
| + virtual int GetUniqueChildProcessId() const = 0; |
| virtual Type GetType() const = 0; |
| virtual int GetRoutingID() const { return 0; } |
| @@ -376,6 +377,11 @@ class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> { |
| // Returns process handle for given resource. |
| base::ProcessHandle GetResourceProcessHandle(int index) const; |
| + // Returns the unique child process ID generated by Chromium, not the OS |
| + // process id. This is used to identifying processes internally and by |
|
Charlie Reis
2012/04/04 19:23:29
nit: identify
nit: for extensions
nasko
2012/04/04 19:31:24
Done.
|
| + // extensions. It is not meant to be displayed to the user. |
| + int GetUniqueChildProcessId(int index) const; |
| + |
| // Returns the type of the given resource. |
| TaskManager::Resource::Type GetResourceType(int index) const; |