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

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

Issue 9959101: Exposing the child process unique ID through the task manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « no previous file | chrome/browser/task_manager/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/task_manager.h
diff --git a/chrome/browser/task_manager/task_manager.h b/chrome/browser/task_manager/task_manager.h
index 2f993960b57f7262226f1ec9ec58259c51c0b059..cf4694d1c350a67312a8ad0afb43871bf4d262d2 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,9 @@ class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> {
// Returns process handle for given resource.
base::ProcessHandle GetResourceProcessHandle(int index) const;
+ // Returns the unique child process ID.
Charlie Reis 2012/04/04 17:53:40 This needs more of a description to distinguish it
nasko 2012/04/04 18:13:19 Done.
+ int GetUniqueChildProcessId(int index) const;
+
// Returns the type of the given resource.
TaskManager::Resource::Type GetResourceType(int index) const;
« no previous file with comments | « no previous file | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698