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

Unified Diff: chrome/common/child_process_info.h

Issue 6328010: Fix Task Manager to correctly display network usage of plug-in processes. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Set origin PID consistently, and only set it for plugin requests. Created 9 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/common/child_process_info.h
diff --git a/chrome/common/child_process_info.h b/chrome/common/child_process_info.h
index 4d5b721f670a568cfc23c6d93b41d1fd61a6b936..4654e4a91ded9bda7376558b2cc6e51bc5028ced 100644
--- a/chrome/common/child_process_info.h
+++ b/chrome/common/child_process_info.h
@@ -68,6 +68,9 @@ class ChildProcessInfo {
// Getter to the process handle.
base::ProcessHandle handle() const { return process_.handle(); }
+ // Getter to the process ID.
+ int process_id() const { return process_.pid(); }
jam 2011/02/03 22:58:07 nit: should be pid
+
// The unique identifier for this child process. This identifier is NOT a
// process ID, and will be unique for all types of child process for
// one run of the browser.

Powered by Google App Engine
This is Rietveld 408576698