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

Unified Diff: net/http/http_cache_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/data/ssl/certificates/ok.srpv.attr ('k') | net/http/http_cache_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « net/data/ssl/certificates/ok.srpv.attr ('k') | net/http/http_cache_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698