diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-14 21:52:36 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-14 21:52:36 +0000 |
commit | 26128342336043f70169489df27729ea97301972 (patch) | |
tree | 3c5cf414de217bbf8d6eac0f4e1ea1a45499663c /net/url_request/url_request.cc | |
parent | 44603d54d54c8065abab89285404541f7288890e (diff) | |
download | chromium_src-26128342336043f70169489df27729ea97301972.zip chromium_src-26128342336043f70169489df27729ea97301972.tar.gz chromium_src-26128342336043f70169489df27729ea97301972.tar.bz2 |
Add the URLRequest's method and load flags to the NetLog.
BUG=37421
Review URL: http://codereview.chromium.org/2108003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47321 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request.cc')
-rw-r--r-- | net/url_request/url_request.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc index 701466e9a..81144af 100644 --- a/net/url_request/url_request.cc +++ b/net/url_request/url_request.cc @@ -18,6 +18,7 @@ #include "net/url_request/url_request_context.h" #include "net/url_request/url_request_job.h" #include "net/url_request/url_request_job_manager.h" +#include "net/url_request/url_request_netlog_params.h" using base::Time; using net::UploadData; @@ -267,8 +268,7 @@ void URLRequest::StartJob(URLRequestJob* job) { net_log_.BeginEvent( net::NetLog::TYPE_URL_REQUEST_START, - new net::NetLogStringParameter( - "url", original_url().possibly_invalid_spec())); + new URLRequestStartEventParameters(url_, method_, load_flags_)); job_ = job; job_->SetExtraRequestHeaders(extra_request_headers_); |