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

Unified Diff: net/url_request/url_request.cc

Issue 11276050: Add upload identifier to URLRequest::Start net log event. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix unit test Created 8 years, 2 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
« no previous file with comments | « net/base/net_log_event_type_list.h ('k') | net/url_request/url_request_netlog_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.cc
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index cc7bfe677c69c50a20be70d62da49be293b3fa08..1380215baf69ae82988b170f70b28cc9c1d18111 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -514,7 +514,8 @@ void URLRequest::StartJob(URLRequestJob* job) {
net_log_.BeginEvent(
NetLog::TYPE_URL_REQUEST_START_JOB,
base::Bind(&NetLogURLRequestStartCallback,
- &url(), &method_, load_flags_, priority_));
+ &url(), &method_, load_flags_, priority_,
+ upload_.get() ? upload_->identifier() : -1));
job_ = job;
job_->SetExtraRequestHeaders(extra_request_headers_);
« no previous file with comments | « net/base/net_log_event_type_list.h ('k') | net/url_request/url_request_netlog_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698