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

Unified Diff: net/http/http_transaction_unittest.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_transaction.h ('k') | net/http/http_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_transaction_unittest.h
diff --git a/net/http/http_transaction_unittest.h b/net/http/http_transaction_unittest.h
index 0a11bb52602092f3cfaaa0a4376ea9713eb3a39b..51136d352dbfbb4ee627a424ceb32af0aae32dfb 100644
--- a/net/http/http_transaction_unittest.h
+++ b/net/http/http_transaction_unittest.h
@@ -24,6 +24,7 @@
#include "net/http/http_response_info.h"
namespace net {
+class AuthData;
class IOBuffer;
}
@@ -63,6 +64,7 @@ struct MockTransaction {
int test_mode;
MockTransactionHandler handler;
int cert_status;
+ string16 tls_username;
};
extern const MockTransaction kSimpleGET_Transaction;
@@ -165,6 +167,10 @@ class MockNetworkTransaction : public net::HttpTransaction {
virtual int RestartWithCertificate(net::X509Certificate* client_cert,
net::CompletionCallback* callback);
+ virtual void SetTLSLoginAuthData(net::AuthData* auth_data);
+
+ virtual int RestartWithTLSLogin(net::CompletionCallback* callback);
+
virtual int RestartWithAuth(const string16& username,
const string16& password,
net::CompletionCallback* callback);
« no previous file with comments | « net/http/http_transaction.h ('k') | net/http/http_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698