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

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

Issue 2230503003: QUIC - Added histograms to track how cache ie performing when server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: net/quic/chromium/quic_stream_factory.cc
diff --git a/net/quic/chromium/quic_stream_factory.cc b/net/quic/chromium/quic_stream_factory.cc
index a805a87aa8e8cf3f6a1df65339810ee971b77c88..18299f3c4d7a5fc71571646fbec41e55a384864f 100644
--- a/net/quic/chromium/quic_stream_factory.cc
+++ b/net/quic/chromium/quic_stream_factory.cc
@@ -1987,7 +1987,7 @@ void QuicStreamFactory::MaybeInitialize() {
// touches quic_server_info_map.
const QuicServerInfoMap& quic_server_info_map =
http_server_properties_->quic_server_info_map();
- std::vector<QuicServerId> server_list(quic_server_info_map.size());
+ std::vector<QuicServerId> server_list;
for (const auto& key_value : quic_server_info_map)
server_list.push_back(key_value.first);
for (auto it = server_list.rbegin(); it != server_list.rend(); ++it) {
« no previous file with comments | « net/http/disk_cache_based_quic_server_info.h ('k') | net/quic/core/crypto/properties_based_quic_server_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698