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

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: 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
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index a1411e21c294d239476023f646f99aa1d79976eb..004e21579277378c81ec443d0f3a010d5684330a 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -349,7 +349,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;
@@ -426,7 +426,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_;

Powered by Google App Engine
This is Rietveld 408576698