Index: net/tools/quic/test_tools/quic_test_client.h |
diff --git a/net/tools/quic/test_tools/quic_test_client.h b/net/tools/quic/test_tools/quic_test_client.h |
index 114c520f3fbddd597f006068eac2862847029811..311d0a732dedc696d0ed1d1d9228e314000fa29d 100644 |
--- a/net/tools/quic/test_tools/quic_test_client.h |
+++ b/net/tools/quic/test_tools/quic_test_client.h |
@@ -17,7 +17,7 @@ |
namespace net { |
class ProofVerifier; |
-class QuicSessionKey; |
+class QuicServerId; |
namespace tools { |
@@ -32,14 +32,14 @@ class MockableQuicClient; |
class QuicTestClient : public QuicDataStream::Visitor { |
public: |
QuicTestClient(IPEndPoint server_address, |
- const QuicSessionKey& server_key, |
+ const string& server_hostname, |
const QuicVersionVector& supported_versions); |
QuicTestClient(IPEndPoint server_address, |
- const QuicSessionKey& server_key, |
+ const string& server_hostname, |
bool secure, |
const QuicVersionVector& supported_versions); |
QuicTestClient(IPEndPoint server_address, |
- const QuicSessionKey& server_key, |
+ const string& server_hostname, |
bool secure, |
const QuicConfig& config, |
const QuicVersionVector& supported_versions, |
@@ -121,13 +121,10 @@ class QuicTestClient : public QuicDataStream::Visitor { |
void WaitForWriteToFlush(); |
private: |
- void Initialize(IPEndPoint address, |
- const QuicSessionKey& server_key, |
- bool secure); |
+ void Initialize(IPEndPoint address, const std::string& hostname, bool secure); |
IPEndPoint server_address_; |
IPEndPoint client_address_; |
- QuicSessionKey server_key_; |
scoped_ptr<MockableQuicClient> client_; // The actual client |
QuicSpdyClientStream* stream_; |