diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-27 16:45:20 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-27 16:45:20 +0000 |
commit | b94f92d469791662549f4e8b41851c31402381f9 (patch) | |
tree | f00e383a87ee15d9dcfbadb11b51aed6ce0ba580 /net/http/http_network_transaction.h | |
parent | 8c3e6878dc50e7ab2ee9ba53757d54b73897fd12 (diff) | |
download | chromium_src-b94f92d469791662549f4e8b41851c31402381f9.zip chromium_src-b94f92d469791662549f4e8b41851c31402381f9.tar.gz chromium_src-b94f92d469791662549f4e8b41851c31402381f9.tar.bz2 |
HttpStream::SendRequest
Modify HttpStream::SendRequest to take the HttpRequestHeaders instead of a string so that HttpNetworkTransaction can handle both HTTP and SPDY requests the same way.
BUG=
TEST=
Review URL: http://codereview.chromium.org/4061005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_transaction.h')
-rw-r--r-- | net/http/http_network_transaction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h index ce0c5bd..255fcdf 100644 --- a/net/http/http_network_transaction.h +++ b/net/http/http_network_transaction.h @@ -17,6 +17,7 @@ #include "net/base/request_priority.h" #include "net/base/ssl_config_service.h" #include "net/http/http_auth.h" +#include "net/http/http_request_headers.h" #include "net/http/http_response_info.h" #include "net/http/http_transaction.h" #include "net/http/stream_factory.h" @@ -222,7 +223,7 @@ class HttpNetworkTransaction : public HttpTransaction, SSLConfig ssl_config_; - std::string request_headers_; + HttpRequestHeaders request_headers_; // The size in bytes of the buffer we use to drain the response body that // we want to throw away. The response body is typically a small error |