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

Unified Diff: chrome/browser/task_manager/task_manager.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: Redo patch set for changes to trunk. 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/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 d71106bbd3afd26a262b207dc495cb3b3031e47c..1f606de8f3a4be10e715aeea2c618518403733c0 100644
--- a/chrome/browser/task_manager/task_manager.h
+++ b/chrome/browser/task_manager/task_manager.h
@@ -345,21 +345,20 @@ class TaskManagerModel : public net::URLRequestJobTracker::JobObserver,
// This struct is used to exchange information between the io and ui threads.
struct BytesReadParam {
- BytesReadParam(int origin_child_id,
+ BytesReadParam(int origin_pid,
int render_process_host_child_id,
int routing_id,
int byte_count)
- : origin_child_id(origin_child_id),
+ : origin_pid(origin_pid),
render_process_host_child_id(render_process_host_child_id),
routing_id(routing_id),
byte_count(byte_count) {}
- // This is the child ID of the originator of the request. It will often be
- // the same as the render_process_host_child_id, but will be different when
- // another sub-process like a plugin is routing requests through a renderer.
- int origin_child_id;
+ // The process ID that triggered the request. For plugin requests this
+ // will differ from the renderer process ID.
+ int origin_pid;
- // The child ID of the RenderProcessHist this request was routed through.
+ // The child ID of the RenderProcessHost this request was routed through.
int render_process_host_child_id;
int routing_id;
« no previous file with comments | « chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc ('k') | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698