Index: net/http/http_cache_transaction.h |
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h |
index 81160d59304fe68e4c81746c3fe10bf6418ef03e..686a45c88960a11488c2970807b4654bb996742e 100644 |
--- a/net/http/http_cache_transaction.h |
+++ b/net/http/http_cache_transaction.h |
@@ -20,6 +20,7 @@ |
namespace net { |
+class AuthData; |
class HttpResponseHeaders; |
class PartialData; |
struct HttpRequestInfo; |
@@ -102,6 +103,8 @@ class HttpCache::Transaction : public HttpTransaction { |
virtual int RestartIgnoringLastError(CompletionCallback* callback); |
virtual int RestartWithCertificate(X509Certificate* client_cert, |
CompletionCallback* callback); |
+ virtual void SetTLSLoginAuthData(AuthData* auth_data); |
+ virtual int RestartWithTLSLogin(CompletionCallback *callback); |
virtual int RestartWithAuth(const string16& username, |
const string16& password, |
CompletionCallback* callback); |
@@ -254,6 +257,8 @@ class HttpCache::Transaction : public HttpTransaction { |
// Returns network error code. |
int RestartNetworkRequestWithCertificate(X509Certificate* client_cert); |
+ int RestartNetworkRequestWithTLSLogin(); |
+ |
// Called to restart a network transaction with authentication credentials. |
// Returns network error code. |
int RestartNetworkRequestWithAuth(const string16& username, |
@@ -332,6 +337,7 @@ class HttpCache::Transaction : public HttpTransaction { |
CompletionCallback* callback_; // Consumer's callback. |
HttpResponseInfo response_; |
HttpResponseInfo auth_response_; |
+ AuthData* tls_login_auth_data_; |
const HttpResponseInfo* new_response_; |
std::string cache_key_; |
Mode mode_; |