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

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: 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') | tools/metrics/histograms/histograms.xml » ('J')
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..884d1ff393fd1b57529ee50eedea4d1bcb49c51f 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("Net.CountOfQuicServerInfos",
Alexei Svitkine (slow) 2017/02/23 18:23:41 Nit: We now recommend to use UMA_HISTOGRAM_COUNTS_
Zhongyi Shi 2017/02/23 20:36:22 Done.
+ 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') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698