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

Unified Diff: net/tools/quic/test_tools/quic_test_client.h

Issue 218923002: Merge internal change: 63891842 - QuicServerId changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
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_;

Powered by Google App Engine
This is Rietveld 408576698