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

Unified Diff: net/quic/quic_connection.h

Issue 12545035: Refactor QuicClientSession so that it owns the underlying socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test leak Created 7 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
« no previous file with comments | « net/quic/quic_client_session.cc ('k') | net/quic/quic_connection_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 17f0a11815db9eecefc0a997f297936d9f9e6588..6bde1207ba980359b7750aba000838c2bb24edf2 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -371,7 +371,7 @@ class NET_EXPORT_PRIVATE QuicConnection
// Updates internal state based in incoming_ack.sent_info
void UpdatePacketInformationSentByPeer(const QuicAckFrame& incoming_ack);
- QuicConnectionHelperInterface* helper() { return helper_; }
+ QuicConnectionHelperInterface* helper() { return helper_.get(); }
private:
friend class test::QuicConnectionPeer;
@@ -461,7 +461,7 @@ class NET_EXPORT_PRIVATE QuicConnection
// Closes any FEC groups protecting packets before |sequence_number|.
void CloseFecGroupsBefore(QuicPacketSequenceNumber sequence_number);
- QuicConnectionHelperInterface* helper_;
+ scoped_ptr<QuicConnectionHelperInterface> helper_;
QuicFramer framer_;
const QuicClock* clock_;
QuicRandom* random_generator_;
« no previous file with comments | « net/quic/quic_client_session.cc ('k') | net/quic/quic_connection_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698