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

Unified Diff: net/url_request/url_request_test_util.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/url_request/url_request_job.cc ('k') | net/url_request/url_request_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_test_util.h
diff --git a/net/url_request/url_request_test_util.h b/net/url_request/url_request_test_util.h
index ab71db15dba46d77dd5138044e86bdbfabfed14c..4c3e242940829d271e6fddc00133f2831b6ad7e6 100644
--- a/net/url_request/url_request_test_util.h
+++ b/net/url_request/url_request_test_util.h
@@ -121,6 +121,8 @@ class TestDelegate : public net::URLRequest::Delegate {
}
void set_username(const string16& u) { username_ = u; }
void set_password(const string16& p) { password_ = p; }
+ void set_tls_username(const string16& u) { tls_username_ = u; }
+ void set_tls_password(const string16& p) { tls_password_ = p; }
// query state
const std::string& data_received() const { return data_received_; }
@@ -141,6 +143,8 @@ class TestDelegate : public net::URLRequest::Delegate {
bool* defer_redirect);
virtual void OnAuthRequired(net::URLRequest* request,
net::AuthChallengeInfo* auth_info);
+ virtual void OnTLSLoginRequired(net::URLRequest* request,
+ net::AuthChallengeInfo* login_request_info);
virtual void OnSSLCertificateError(net::URLRequest* request,
int cert_error,
net::X509Certificate* cert);
@@ -170,6 +174,8 @@ class TestDelegate : public net::URLRequest::Delegate {
string16 username_;
string16 password_;
+ string16 tls_username_;
+ string16 tls_password_;
// tracks status of callbacks
int response_started_count_;
« no previous file with comments | « net/url_request/url_request_job.cc ('k') | net/url_request/url_request_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698