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

Unified Diff: net/quic/quic_connection_logger.cc

Issue 940133002: Instrumenting QUIC code to find jank in GetConnectionDescriptionString (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « net/base/net_util_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_logger.cc
diff --git a/net/quic/quic_connection_logger.cc b/net/quic/quic_connection_logger.cc
index 8a9c3a711181be7109d1f7232168fd43a2cf0713..d804bbbc80ec779ecc201a7d97b214fa00fc62ab 100644
--- a/net/quic/quic_connection_logger.cc
+++ b/net/quic/quic_connection_logger.cc
@@ -284,6 +284,12 @@ const char* GetConnectionDescriptionString() {
// This function only seems usefully defined on Windows currently.
if (type == NetworkChangeNotifier::CONNECTION_UNKNOWN ||
type == NetworkChangeNotifier::CONNECTION_WIFI) {
+ // TODO(rtenneti): Remove ScopedTracker below once crbug.com/422516 is
+ // fixed.
+ tracked_objects::ScopedTracker tracking_profile1(
+ FROM_HERE_WITH_EXPLICIT_FUNCTION(
+ "422516 QuicConnectionLogger GetConnectionDescriptionString1"));
+
WifiPHYLayerProtocol wifi_type = GetWifiPHYLayerProtocol();
switch (wifi_type) {
case WIFI_PHY_LAYER_PROTOCOL_NONE:
« no previous file with comments | « net/base/net_util_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698