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

Unified Diff: net/http/http_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_stream_request.cc ('k') | net/http/http_transaction_unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_transaction.h
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h
index 19238519bd029c359862e8248d409cb1ab6d3718..8f919c074cc808b4ca1c855d57c65f70e3e201ac 100644
--- a/net/http/http_transaction.h
+++ b/net/http/http_transaction.h
@@ -12,6 +12,7 @@
namespace net {
+class AuthData;
class BoundNetLog;
struct HttpRequestInfo;
class HttpResponseInfo;
@@ -61,6 +62,11 @@ class HttpTransaction {
virtual int RestartWithCertificate(X509Certificate* client_cert,
CompletionCallback* callback) = 0;
+ // Sets TLS login credentials for the HTTPS transaction.
+ virtual void SetTLSLoginAuthData(AuthData* auth_data) = 0;
+
+ virtual int RestartWithTLSLogin(CompletionCallback* callback) = 0;
+
// Restarts the HTTP transaction with authentication credentials.
virtual int RestartWithAuth(const string16& username,
const string16& password,
« no previous file with comments | « net/http/http_stream_request.cc ('k') | net/http/http_transaction_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698