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

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

Issue 411823002: Land Recent QUIC Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase TOT Created 6 years, 5 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 2ea06bfab88748c16a92cbe4cbe69ab51c5b956f..a4fb6c31bd06343f1c2be696bb12f5275b2a95ff 100644
--- a/net/tools/quic/quic_client.h
+++ b/net/tools/quic/quic_client.h
@@ -214,6 +214,10 @@ class QuicClient : public EpollCallbackInterface,
// Local port to bind to. Initialize to 0.
int local_port_;
+ // Writer used to actually send packets to the wire. Needs to outlive
+ // |session_|.
+ scoped_ptr<QuicPacketWriter> writer_;
+
// Session which manages streams.
scoped_ptr<QuicClientSession> session_;
// Listens for events on the client socket.
@@ -227,9 +231,6 @@ class QuicClient : public EpollCallbackInterface,
// Listens for full responses.
scoped_ptr<ResponseListener> response_listener_;
- // Writer used to actually send packets to the wire.
- scoped_ptr<QuicPacketWriter> writer_;
-
// Tracks if the client is initialized to connect.
bool initialized_;
« 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