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

Unified Diff: net/http/http_server_properties_manager.cc

Issue 2711803003: Add a histogram to track how many server configs has been persisted (Closed)
Patch Set: address Alexei's comments Created 3 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 | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_server_properties_manager.cc
diff --git a/net/http/http_server_properties_manager.cc b/net/http/http_server_properties_manager.cc
index 4130a57a4872d81799c523ba4d5507efce24e102..e467f567370f22e55c1771ec606ed7811fc56d42 100644
--- a/net/http/http_server_properties_manager.cc
+++ b/net/http/http_server_properties_manager.cc
@@ -775,6 +775,9 @@ void HttpServerPropertiesManager::UpdateCacheFromPrefsOnNetworkThread(
http_server_properties_impl_->SetServerNetworkStats(server_network_stats_map);
+ UMA_HISTOGRAM_COUNTS_1000("Net.CountOfQuicServerInfos",
+ quic_server_info_map->size());
+
http_server_properties_impl_->SetQuicServerInfoMap(quic_server_info_map);
// Update the prefs with what we have read (delete all corrupted prefs).
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698