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

Unified Diff: net/quic/quic_stream_factory.cc

Issue 1979133002: QUIC - Collect histogram data to see how may users have TSVIPCli.dll (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: deleted BooleanDLLLoaded used Boolean Created 4 years, 7 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/quic/quic_stream_factory.cc
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
index 1620ae2259f964fc378255912c0abe45db20eb17..0e40756d6438569e1ed2f4f6e77764107c758bd3 100644
--- a/net/quic/quic_stream_factory.cc
+++ b/net/quic/quic_stream_factory.cc
@@ -1476,6 +1476,13 @@ int QuicStreamFactory::ConfigureSocket(DatagramClientSocket* socket,
#endif
}
+#if defined(OS_WIN)
+ // TODO(rtenneti): Delete the check for TSVIPCli.dll loaded and the histogram.
+ bool tsvipcli_loaded = ::GetModuleHandle(L"TSVIPCli.dll") != NULL;
+ UMA_HISTOGRAM_BOOLEAN("Net.QuicStreamFactory.TSVIPCliIsLoaded",
+ tsvipcli_loaded);
+#endif
+
int rv;
if (migrate_sessions_on_network_change_) {
// If caller leaves network unspecified, use current default network.
« 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