summaryrefslogtreecommitdiffstats
path: root/net/http/http_transaction.h
diff options
context:
space:
mode:
authorttuttle@chromium.org <ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-10 22:02:40 +0000
committerttuttle@chromium.org <ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-10 22:02:40 +0000
commit1e110eae63af401b7bdf5d123c619a53fd2c993f (patch)
tree2406fe3ddfbf914888adaf9ac1968d6e1b3b1d88 /net/http/http_transaction.h
parent190fc1da6e1a3b79cf0e29d072f84669d3b9ad76 (diff)
downloadchromium_src-1e110eae63af401b7bdf5d123c619a53fd2c993f.zip
chromium_src-1e110eae63af401b7bdf5d123c619a53fd2c993f.tar.gz
chromium_src-1e110eae63af401b7bdf5d123c619a53fd2c993f.tar.bz2
Revert 199535 "Add GetFullRequestHeaders, from URLRequestJob to ..."
> 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 TBR=ttuttle@chromium.org Review URL: https://codereview.chromium.org/15054003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199553 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_transaction.h')
-rw-r--r--net/http/http_transaction.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h
index 38d3bd7..c162b01 100644
--- a/net/http/http_transaction.h
+++ b/net/http/http_transaction.h
@@ -15,7 +15,6 @@ namespace net {
class AuthCredentials;
class BoundNetLog;
-class HttpRequestHeaders;
struct HttpRequestInfo;
class HttpResponseInfo;
class IOBuffer;
@@ -97,14 +96,6 @@ class NET_EXPORT_PRIVATE HttpTransaction {
// Stops further caching of this request by the HTTP cache, if there is any.
virtual void StopCaching() = 0;
- // Gets the full request headers sent to the server. This is guaranteed to
- // work only if Start returns success and the underlying transaction supports
- // it. (Right now, this is only network transactions, not cache ones.)
- //
- // Returns true and overwrites headers if it can get the request headers;
- // otherwise, returns false and does not modify headers.
- virtual bool GetFullRequestHeaders(HttpRequestHeaders* headers) const = 0;
-
// Called to tell the transaction that we have successfully reached the end
// of the stream. This is equivalent to performing an extra Read() at the end
// that should return 0 bytes. This method should not be called if the