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_; |