diff options
author | ttuttle@chromium.org <ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-10 21:08:50 +0000 |
---|---|---|
committer | ttuttle@chromium.org <ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-10 21:08:50 +0000 |
commit | 396361315d2d4170c89bb9adb398807d220ace3e (patch) | |
tree | 8feefea7d93acad79b8a9a810dfdad5173bb7ee4 /net/url_request/url_request_http_job.h | |
parent | e8f3f9981fe331526bc5db64cda1e4fce73d35f3 (diff) | |
download | chromium_src-396361315d2d4170c89bb9adb398807d220ace3e.zip chromium_src-396361315d2d4170c89bb9adb398807d220ace3e.tar.gz chromium_src-396361315d2d4170c89bb9adb398807d220ace3e.tar.bz2 |
Add GetFullRequestHeaders, from URLRequestJob to HttpNetworkTransaction.
Dev Tools displays the raw request and response headers. Right now, it gets
them by snarfing them out of the NetLog, which is bad, as the NetLog is for
huamn consumption only. I'm trying to refactor the DevToolsNetLogObserver
away; providing an alternate, supported path to get the request headers is the
first step.
BUG=196304
TEST=added to URLRequest, HttpTransaction, and HttpNetworkTransaction unittests
Review URL: https://chromiumcodereview.appspot.com/12621011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_http_job.h')
-rw-r--r-- | net/url_request/url_request_http_job.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/url_request/url_request_http_job.h b/net/url_request/url_request_http_job.h index 73d216f..5589538 100644 --- a/net/url_request/url_request_http_job.h +++ b/net/url_request/url_request_http_job.h @@ -116,6 +116,8 @@ class NET_EXPORT_PRIVATE URLRequestHttpJob : public URLRequestJob { virtual bool ReadRawData(IOBuffer* buf, int buf_size, int* bytes_read) OVERRIDE; virtual void StopCaching() OVERRIDE; + virtual bool GetFullRequestHeaders( + HttpRequestHeaders* headers) const OVERRIDE; virtual void DoneReading() OVERRIDE; virtual HostPortPair GetSocketAddress() const OVERRIDE; virtual void NotifyURLRequestDestroyed() OVERRIDE; |