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

Unified Diff: trunk/src/net/quic/quic_stream_factory.cc

Issue 485943004: Revert 290320 "Refactor pooling logic into a helper method" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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 | « trunk/src/net/quic/quic_stream_factory.h ('k') | trunk/src/net/quic/quic_stream_factory_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/quic/quic_stream_factory.cc
===================================================================
--- trunk/src/net/quic/quic_stream_factory.cc (revision 290385)
+++ trunk/src/net/quic/quic_stream_factory.cc (working copy)
@@ -466,7 +466,6 @@
host_resolver_(host_resolver),
client_socket_factory_(client_socket_factory),
http_server_properties_(http_server_properties),
- transport_security_state_(transport_security_state),
quic_server_info_factory_(NULL),
quic_crypto_client_stream_factory_(quic_crypto_client_stream_factory),
random_generator_(random_generator),
@@ -478,7 +477,6 @@
enable_port_selection_(enable_port_selection),
port_seed_(random_generator_->RandUint64()),
weak_factory_(this) {
- DCHECK(transport_security_state_);
crypto_config_.SetDefaults();
crypto_config_.set_user_agent_id(user_agent_id);
crypto_config_.AddCanonicalSuffix(".c.youtube.com");
@@ -859,8 +857,8 @@
*session = new QuicClientSession(
connection, socket.Pass(), writer.Pass(), this,
- quic_crypto_client_stream_factory_, transport_security_state_,
- server_info.Pass(), server_id, config, &crypto_config_,
+ quic_crypto_client_stream_factory_, server_info.Pass(), server_id,
+ config, &crypto_config_,
base::MessageLoop::current()->message_loop_proxy().get(),
net_log.net_log());
(*session)->InitializeSession();
« no previous file with comments | « trunk/src/net/quic/quic_stream_factory.h ('k') | trunk/src/net/quic/quic_stream_factory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698