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

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: 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/render_messages_params.h
diff --git a/chrome/common/render_messages_params.h b/chrome/common/render_messages_params.h
index ce4b18c89796991e12c1ece8a14896e04070c28d..f44091c0ccc80f5c03e8e2cbce2fe00a07bb997a 100644
--- a/chrome/common/render_messages_params.h
+++ b/chrome/common/render_messages_params.h
@@ -456,10 +456,9 @@ 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 from which this request originated, or zero if it originated
+ // in the renderer itself.
+ 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