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

Unified Diff: net/tools/quic/quic_client.h

Issue 14816006: Land Recent QUIC changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing NET_PRIVATE_EXPORT to QuicWallTime Created 7 years, 7 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/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.h
diff --git a/net/tools/quic/quic_client.h b/net/tools/quic/quic_client.h
index 2d19e6c7d485857b4d8fd61d2a9e13c6be4f01bc..9cfaa3e005c6ae7f206923462f73fda74827355b 100644
--- a/net/tools/quic/quic_client.h
+++ b/net/tools/quic/quic_client.h
@@ -27,6 +27,10 @@ namespace tools {
class QuicClient : public EpollCallbackInterface {
public:
QuicClient(IPEndPoint server_address, const std::string& server_hostname);
+ QuicClient(IPEndPoint server_address,
+ const std::string& server_hostname,
+ const QuicConfig& config);
+
virtual ~QuicClient();
// Initializes the client to create a connection. Should be called exactly
@@ -116,6 +120,11 @@ class QuicClient : public EpollCallbackInterface {
// Hostname of the server. This may be a DNS name or an IP address literal.
const std::string server_hostname_;
+ // config_ and crypto_config_ contain configuration and cached state about
+ // servers.
+ QuicConfig config_;
+ QuicCryptoClientConfig crypto_config_;
+
// Address of the client if the client is connected to the server.
IPEndPoint client_address_;
@@ -143,11 +152,6 @@ class QuicClient : public EpollCallbackInterface {
// because the socket would otherwise overflow.
bool overflow_supported_;
- // config_ and crypto_config_ contain configuration and cached state about
- // servers.
- QuicConfig config_;
- QuicCryptoClientConfig crypto_config_;
-
DISALLOW_COPY_AND_ASSIGN(QuicClient);
};
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698