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

Unified Diff: net/quic/test_tools/quic_stream_factory_peer.cc

Issue 2318053004: Remove obsolete QUIC disabling code. (Closed)
Patch Set: Rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/test_tools/quic_stream_factory_peer.h ('k') | net/url_request/url_request_context_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_stream_factory_peer.cc
diff --git a/net/quic/test_tools/quic_stream_factory_peer.cc b/net/quic/test_tools/quic_stream_factory_peer.cc
index 07a63ec890a87cf595a797514bdc9c6a900c3f7d..fd92db5f4a5ffa0e3344da7d752b46768141cbd8 100644
--- a/net/quic/test_tools/quic_stream_factory_peer.cc
+++ b/net/quic/test_tools/quic_stream_factory_peer.cc
@@ -71,20 +71,13 @@ void QuicStreamFactoryPeer::SetTaskRunner(QuicStreamFactory* factory,
factory->task_runner_ = task_runner;
}
-int QuicStreamFactoryPeer::GetNumberOfLossyConnections(
- QuicStreamFactory* factory,
- uint16_t port) {
- return factory->number_of_lossy_connections_[port];
-}
-
QuicTime::Delta QuicStreamFactoryPeer::GetPingTimeout(
QuicStreamFactory* factory) {
return factory->ping_timeout_;
}
-bool QuicStreamFactoryPeer::IsQuicDisabled(QuicStreamFactory* factory,
- uint16_t port) {
- return factory->IsQuicDisabled(port);
+bool QuicStreamFactoryPeer::IsQuicDisabled(QuicStreamFactory* factory) {
+ return factory->IsQuicDisabled();
}
bool QuicStreamFactoryPeer::GetDelayTcpRace(QuicStreamFactory* factory) {
@@ -132,16 +125,6 @@ size_t QuicStreamFactoryPeer::GetNumberOfActiveJobs(
return (factory->active_jobs_[server_id]).size();
}
-int QuicStreamFactoryPeer::GetNumTimeoutsWithOpenStreams(
- QuicStreamFactory* factory) {
- return factory->num_timeouts_with_open_streams_;
-}
-
-int QuicStreamFactoryPeer::GetNumPublicResetsPostHandshake(
- QuicStreamFactory* factory) {
- return factory->num_public_resets_post_handshake_;
-}
-
void QuicStreamFactoryPeer::MaybeInitialize(QuicStreamFactory* factory) {
factory->MaybeInitialize();
}
« no previous file with comments | « net/quic/test_tools/quic_stream_factory_peer.h ('k') | net/url_request/url_request_context_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698