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

Unified Diff: chrome/common/render_messages_params.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: Fix the way Task Manager accounts for network usage by plug-ins. 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/render_messages_params.h
diff --git a/chrome/common/render_messages_params.h b/chrome/common/render_messages_params.h
index 1bd451646ca816300ab315d13c18060f406d44f0..98d40ceb08963aa83414d1d199bb07245fc9773f 100644
--- a/chrome/common/render_messages_params.h
+++ b/chrome/common/render_messages_params.h
@@ -456,10 +456,11 @@ struct ViewHostMsg_Resource_Request {
// net::URLRequest load flags (0 by default).
int load_flags;
- // Unique ID of process that originated this request. For normal renderer
- // requests, this will be the ID of the renderer. For plugin requests routed
- // through the renderer, this will be the plugin's ID.
- int origin_child_id;
+ // Process ID of the originator of this request. For normal renderer requests
+ // this will be the render host process ID. For plugin requests, it will be
+ // the plugin process ID. The ResourceDispatcherHost will map the origin PID
+ // to the corresponding child ID upon receipt of this message.
+ int origin_pid;
// What this resource load is for (main frame, sub-frame, sub-resource,
// object).

Powered by Google App Engine
This is Rietveld 408576698