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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_request_info.h

Issue 7054023: Get rid of url_request_tracking.*. The only other place that used it other than ResourceDispatch... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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: content/browser/renderer_host/resource_dispatcher_host_request_info.h
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host_request_info.h (revision 86090)
+++ content/browser/renderer_host/resource_dispatcher_host_request_info.h (working copy)
@@ -39,6 +39,7 @@
ChildProcessInfo::ProcessType process_type,
int child_id,
int route_id,
+ int origin_pid,
int request_id,
ResourceType::Type resource_type,
uint64 upload_size,
@@ -85,6 +86,10 @@
// or like-thing in the renderer that the request gets routed to).
int route_id() const { return route_id_; }
+ // The pid of the originating process, if the request is sent on behalf of a
+ // another process. Otherwise it is 0.
+ int origin_pid() const { return origin_pid_; }
+
// Unique identifier for this resource request.
int request_id() const { return request_id_; }
@@ -196,6 +201,7 @@
ChildProcessInfo::ProcessType process_type_;
int child_id_;
int route_id_;
+ int origin_pid_;
int request_id_;
int pending_data_count_;
bool is_download_;

Powered by Google App Engine
This is Rietveld 408576698