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

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

Issue 2842883002: Change QuicStreamFactory::active_jobs_ to a Map from QuicServerId to Job (Closed)
Patch Set: Created 3 years, 8 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/chromium/quic_stream_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/chromium/quic_stream_factory_peer.cc
diff --git a/net/quic/chromium/quic_stream_factory_peer.cc b/net/quic/chromium/quic_stream_factory_peer.cc
index f801fada43aea1d7a54eec57ca60473b3700def7..40fcd9bbf52313bf2033701cd3b6cd020c8c2c21 100644
--- a/net/quic/chromium/quic_stream_factory_peer.cc
+++ b/net/quic/chromium/quic_stream_factory_peer.cc
@@ -104,15 +104,6 @@ void QuicStreamFactoryPeer::SetYieldAfterDuration(
factory->yield_after_duration_ = yield_after_duration;
}
-size_t QuicStreamFactoryPeer::GetNumberOfActiveJobs(
- QuicStreamFactory* factory,
- const QuicServerId& server_id) {
- auto it = factory->active_jobs_.find(server_id);
- if (it == factory->active_jobs_.end())
- return 0;
- return it->second.size();
-}
-
bool QuicStreamFactoryPeer::CryptoConfigCacheIsEmpty(
QuicStreamFactory* factory,
const QuicServerId& quic_server_id) {
« no previous file with comments | « net/quic/chromium/quic_stream_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698