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

Unified Diff: net/quic/quic_stream_factory.cc

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_stream_factory.cc
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
index 9f9d96a2816e8b141ee1de3a90f71e65cbab8067..af0aa0f92c0deef468e71b069ec4c02cd0a7a700 100644
--- a/net/quic/quic_stream_factory.cc
+++ b/net/quic/quic_stream_factory.cc
@@ -374,8 +374,8 @@ QuicClientSession* QuicStreamFactory::CreateSession(
clock_.get(), random_generator_, socket);
QuicConnection* connection = new QuicConnection(guid, addr, helper);
- QuicClientSession* session = new QuicClientSession(connection, helper, this,
- host, net_log.net_log());
+ QuicClientSession* session =
+ new QuicClientSession(connection, socket, this, host, net_log.net_log());
all_sessions_.insert(session); // owning pointer
return session;
}

Powered by Google App Engine
This is Rietveld 408576698