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

Unified Diff: net/quic/quic_stream_factory.cc

Issue 393953009: Moving the work currently done in the QuicSession constructor to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: net/quic/quic_stream_factory.cc
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
index 19e3f3e096fe970ce4e460eee2b1616b71615fb8..c4586604e4471d1fca123f6f90b058c90b3534ea 100644
--- a/net/quic/quic_stream_factory.cc
+++ b/net/quic/quic_stream_factory.cc
@@ -854,11 +854,11 @@ int QuicStreamFactory::CreateSession(
}
*session = new QuicClientSession(
- connection, socket.Pass(), writer.Pass(), this,
- quic_crypto_client_stream_factory_, server_info.Pass(), server_id,
- config, &crypto_config_,
- base::MessageLoop::current()->message_loop_proxy().get(),
+ connection, socket.Pass(), writer.Pass(), this, server_info.Pass(),
+ config, base::MessageLoop::current()->message_loop_proxy().get(),
net_log.net_log());
+ (*session)->InitializeSession(server_id, &crypto_config_,
+ quic_crypto_client_stream_factory_);
all_sessions_[*session] = server_id; // owning pointer
return OK;
}

Powered by Google App Engine
This is Rietveld 408576698