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

Unified Diff: net/quic/quic_http_stream_test.cc

Issue 944883003: QUIC - Cache the connection type and connection description. Make the (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments to Patch Set 5 Created 5 years, 10 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_connection_logger_unittest.cc ('k') | net/quic/quic_stream_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_http_stream_test.cc
diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc
index 5b69e469bf04ebb897149a9178d8f5a210483f27..161003db7730178a71fd93ed02faf2d8efee1ab9 100644
--- a/net/quic/quic_http_stream_test.cc
+++ b/net/quic/quic_http_stream_test.cc
@@ -206,16 +206,11 @@ class QuicHttpStreamTest : public ::testing::TestWithParam<QuicVersion> {
helper_.get(), writer_factory);
connection_->set_visitor(&visitor_);
connection_->SetSendAlgorithm(send_algorithm_);
- session_.reset(
- new QuicClientSession(connection_,
- scoped_ptr<DatagramClientSocket>(socket),
- nullptr,
- &transport_security_state_,
- make_scoped_ptr((QuicServerInfo*)nullptr),
- DefaultQuicConfig(),
- base::MessageLoop::current()->
- message_loop_proxy().get(),
- nullptr));
+ session_.reset(new QuicClientSession(
+ connection_, scoped_ptr<DatagramClientSocket>(socket), nullptr,
+ &transport_security_state_, make_scoped_ptr((QuicServerInfo*)nullptr),
+ DefaultQuicConfig(), "CONNECTION_UNKNOWN",
+ base::MessageLoop::current()->message_loop_proxy().get(), nullptr));
session_->InitializeSession(QuicServerId(kServerHostname, kServerPort,
/*is_secure=*/false,
PRIVACY_MODE_DISABLED),
« no previous file with comments | « net/quic/quic_connection_logger_unittest.cc ('k') | net/quic/quic_stream_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698