Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: net/http/http_network_transaction.h

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove "httpsv" scheme, minor NSS/OpenSSL changes Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.h
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
index 66b6b29edf4558235e4d139c24927a45235b550c..00fabbb136d516e684a708478d20b76e56e7c8b7 100644
--- a/net/http/http_network_transaction.h
+++ b/net/http/http_network_transaction.h
@@ -13,6 +13,7 @@
#include "base/ref_counted.h"
#include "base/scoped_ptr.h"
#include "base/time.h"
+#include "net/base/auth.h"
#include "net/base/net_log.h"
#include "net/base/request_priority.h"
#include "net/base/ssl_config_service.h"
@@ -46,6 +47,8 @@ class HttpNetworkTransaction : 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);
@@ -65,6 +68,7 @@ class HttpNetworkTransaction : public HttpTransaction,
const HttpResponseInfo& response_info,
HttpAuthController* auth_controller);
virtual void OnNeedsClientAuth(SSLCertRequestInfo* cert_info);
+ virtual void OnNeedsTLSLogin(AuthChallengeInfo* login_info);
virtual void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info,
HttpStream* stream);
@@ -229,6 +233,7 @@ class HttpNetworkTransaction : public HttpTransaction,
bool logged_response_time_;
SSLConfig ssl_config_;
+ scoped_refptr<AuthData> tls_auth_data_;
HttpRequestHeaders request_headers_;
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698