Index: net/tools/quic/test_tools/quic_test_client.cc |
diff --git a/net/tools/quic/test_tools/quic_test_client.cc b/net/tools/quic/test_tools/quic_test_client.cc |
index 843af2f2482b0849512fb5b947ea26cf0cc58f21..c6c921e80c1d709b20bfc0c99693bd5200ae9886 100644 |
--- a/net/tools/quic/test_tools/quic_test_client.cc |
+++ b/net/tools/quic/test_tools/quic_test_client.cc |
@@ -45,6 +45,19 @@ QuicTestClient::QuicTestClient(IPEndPoint address, const string& hostname) |
never_connected_(true) { |
} |
+QuicTestClient::QuicTestClient(IPEndPoint address, |
+ const string& hostname, |
+ const QuicConfig& config) |
+ : server_address_(address), |
+ client_(address, hostname, config), |
+ stream_(NULL), |
+ stream_error_(QUIC_STREAM_NO_ERROR), |
+ connection_error_(QUIC_NO_ERROR), |
+ bytes_read_(0), |
+ bytes_written_(0), |
+ never_connected_(true) { |
+} |
+ |
QuicTestClient::~QuicTestClient() { |
if (stream_) { |
stream_->set_visitor(NULL); |