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

Side by Side Diff: net/quic/quic_stream_factory_test.cc

Issue 1305293004: Notfiy NQE of QUIC RTT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed a test Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « net/quic/quic_stream_factory.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/quic_stream_factory.h" 5 #include "net/quic/quic_stream_factory.h"
6 6
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/thread_task_runner_handle.h" 9 #include "base/thread_task_runner_handle.h"
10 #include "net/base/test_data_directory.h" 10 #include "net/base/test_data_directory.h"
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 channel_id_service_( 237 channel_id_service_(
238 new ChannelIDService(new DefaultChannelIDStore(nullptr), 238 new ChannelIDService(new DefaultChannelIDStore(nullptr),
239 base::ThreadTaskRunnerHandle::Get())), 239 base::ThreadTaskRunnerHandle::Get())),
240 factory_(&host_resolver_, 240 factory_(&host_resolver_,
241 &socket_factory_, 241 &socket_factory_,
242 base::WeakPtr<HttpServerProperties>(), 242 base::WeakPtr<HttpServerProperties>(),
243 cert_verifier_.get(), 243 cert_verifier_.get(),
244 nullptr, 244 nullptr,
245 channel_id_service_.get(), 245 channel_id_service_.get(),
246 &transport_security_state_, 246 &transport_security_state_,
247 /*SocketPerformanceWatcherFactory*/ nullptr,
247 &crypto_client_stream_factory_, 248 &crypto_client_stream_factory_,
248 &random_generator_, 249 &random_generator_,
249 clock_, 250 clock_,
250 kDefaultMaxPacketSize, 251 kDefaultMaxPacketSize,
251 std::string(), 252 std::string(),
252 SupportedVersions(GetParam().version), 253 SupportedVersions(GetParam().version),
253 /*enable_port_selection=*/true, 254 /*enable_port_selection=*/true,
254 /*always_require_handshake_confirmation=*/false, 255 /*always_require_handshake_confirmation=*/false,
255 /*disable_connection_pooling=*/false, 256 /*disable_connection_pooling=*/false,
256 /*load_server_info_timeout_srtt_multiplier=*/0.0f, 257 /*load_server_info_timeout_srtt_multiplier=*/0.0f,
(...skipping 2329 matching lines...) Expand 10 before | Expand all | Expand 10 after
2586 2587
2587 scoped_ptr<QuicHttpStream> stream = request.ReleaseStream(); 2588 scoped_ptr<QuicHttpStream> stream = request.ReleaseStream();
2588 EXPECT_TRUE(stream.get()); 2589 EXPECT_TRUE(stream.get());
2589 EXPECT_TRUE(socket_data.AllReadDataConsumed()); 2590 EXPECT_TRUE(socket_data.AllReadDataConsumed());
2590 EXPECT_TRUE(socket_data.AllWriteDataConsumed()); 2591 EXPECT_TRUE(socket_data.AllWriteDataConsumed());
2591 QuicStreamFactoryPeer::SetDelayTcpRace(&factory_, delay_tcp_race); 2592 QuicStreamFactoryPeer::SetDelayTcpRace(&factory_, delay_tcp_race);
2592 } 2593 }
2593 2594
2594 } // namespace test 2595 } // namespace test
2595 } // namespace net 2596 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_stream_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698