Index: net/quic/crypto/quic_crypto_client_config.cc |
diff --git a/net/quic/crypto/quic_crypto_client_config.cc b/net/quic/crypto/quic_crypto_client_config.cc |
index 9f7f0da7b23aaaa7ecd9f18bd7450b754d35af72..1e12424b111065ed5fdca7a144d5b542c5d79196 100644 |
--- a/net/quic/crypto/quic_crypto_client_config.cc |
+++ b/net/quic/crypto/quic_crypto_client_config.cc |
@@ -6,6 +6,7 @@ |
#include "base/metrics/histogram.h" |
#include "base/metrics/sparse_histogram.h" |
+#include "base/profiler/scoped_tracker.h" |
#include "base/stl_util.h" |
#include "base/strings/string_util.h" |
#include "net/quic/crypto/cert_compressor.h" |
@@ -344,6 +345,11 @@ void QuicCryptoClientConfig::FillInchoateClientHello( |
const CachedState* cached, |
QuicCryptoNegotiatedParameters* out_params, |
CryptoHandshakeMessage* out) const { |
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/422516 is fixed. |
+ tracked_objects::ScopedTracker tracking_profile( |
+ FROM_HERE_WITH_EXPLICIT_FUNCTION( |
+ "422516 QuicCryptoClientConfig::FillInchoateClientHello")); |
+ |
out->set_tag(kCHLO); |
out->set_minimum_size(kClientHelloMinimumSize); |
@@ -402,6 +408,11 @@ QuicErrorCode QuicCryptoClientConfig::FillClientHello( |
QuicCryptoNegotiatedParameters* out_params, |
CryptoHandshakeMessage* out, |
string* error_details) const { |
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/422516 is fixed. |
+ tracked_objects::ScopedTracker tracking_profile( |
+ FROM_HERE_WITH_EXPLICIT_FUNCTION( |
+ "422516 QuicCryptoClientConfig::FillClientHello")); |
+ |
DCHECK(error_details != nullptr); |
FillInchoateClientHello(server_id, preferred_version, cached, |