summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_transaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_network_transaction.h')
-rw-r--r--net/http/http_network_transaction.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
index b53363e..7ddee29 100644
--- a/net/http/http_network_transaction.h
+++ b/net/http/http_network_transaction.h
@@ -24,7 +24,6 @@
namespace net {
-class ClientSocketHandle;
class HttpAuthController;
class HttpNetworkSession;
class HttpStream;
@@ -169,6 +168,10 @@ class HttpNetworkTransaction : public HttpTransaction,
// Resets the members of the transaction so it can be restarted.
void ResetStateForRestart();
+ // Resets the members of the transaction, except |stream_|, which needs
+ // to be maintained for multi-round auth.
+ void ResetStateForAuthRestart();
+
// Returns true if we should try to add a Proxy-Authorization header
bool ShouldApplyProxyAuth() const;
@@ -211,10 +214,6 @@ class HttpNetworkTransaction : public HttpTransaction,
scoped_refptr<StreamFactory::StreamRequestJob> stream_request_;
scoped_ptr<HttpStream> stream_;
- // Reuse the same connection for each round of a connection-based HTTP
- // authentication scheme.
- scoped_ptr<ClientSocketHandle> auth_connection_;
-
// True if we've validated the headers that the stream parser has returned.
bool headers_valid_;