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

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

Issue 2600183002: Clean up quic_simple_client_bin.cc to sync with quic_client_bin.cc (Closed)
Patch Set: Rebase Created 4 years 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/quic_client_bin.cc ('k') | net/tools/quic/quic_simple_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_client.h
diff --git a/net/tools/quic/quic_simple_client.h b/net/tools/quic/quic_simple_client.h
index ce5c403cff86ffc416da37749515ff023398cae4..f0bc052bc6d639f91e2b0e0ce50786447f83449c 100644
--- a/net/tools/quic/quic_simple_client.h
+++ b/net/tools/quic/quic_simple_client.h
@@ -40,17 +40,11 @@ class QuicClientPeer;
class QuicSimpleClient : public QuicClientBase,
public QuicChromiumPacketReader::Visitor {
public:
- // Create a quic client, which will have events managed by an externally owned
- // EpollServer.
- QuicSimpleClient(IPEndPoint server_address,
+ // Create a quic client, which will have events managed by the message loop.
+ QuicSimpleClient(QuicSocketAddress server_address,
const QuicServerId& server_id,
const QuicVersionVector& supported_versions,
std::unique_ptr<ProofVerifier> proof_verifier);
- QuicSimpleClient(IPEndPoint server_address,
- const QuicServerId& server_id,
- const QuicVersionVector& supported_versions,
- const QuicConfig& config,
- std::unique_ptr<ProofVerifier> proof_verifier);
~QuicSimpleClient() override;
@@ -87,7 +81,7 @@ class QuicSimpleClient : public QuicClientBase,
QuicChromiumClock clock_;
// Address of the client if the client is connected to the server.
- IPEndPoint client_address_;
+ QuicSocketAddress client_address_;
// UDP socket connected to the server.
std::unique_ptr<UDPClientSocket> socket_;
« no previous file with comments | « net/tools/quic/quic_client_bin.cc ('k') | net/tools/quic/quic_simple_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698