| Index: net/quic/core/quic_crypto_client_stream.cc
|
| diff --git a/net/quic/core/quic_crypto_client_stream.cc b/net/quic/core/quic_crypto_client_stream.cc
|
| index 837ebeb5da7a20324968449d237829753f61e175..5b023f76a46f6fb85f63c830228d905271a6b38c 100644
|
| --- a/net/quic/core/quic_crypto_client_stream.cc
|
| +++ b/net/quic/core/quic_crypto_client_stream.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/metrics/sparse_histogram.h"
|
| +#include "base/trace_event/trace_event.h"
|
| #include "net/quic/core/crypto/crypto_protocol.h"
|
| #include "net/quic/core/crypto/crypto_utils.h"
|
| #include "net/quic/core/crypto/null_encrypter.h"
|
| @@ -117,6 +118,8 @@ QuicCryptoClientStream::~QuicCryptoClientStream() {
|
|
|
| void QuicCryptoClientStream::OnHandshakeMessage(
|
| const CryptoHandshakeMessage& message) {
|
| + TRACE_EVENT1("net", "QuicCryptoClientStream::OnHandshakeMessage", "host",
|
| + server_id_.host());
|
| QuicCryptoClientStreamBase::OnHandshakeMessage(message);
|
|
|
| if (message.tag() == kSCUP) {
|
| @@ -192,6 +195,8 @@ void QuicCryptoClientStream::HandleServerConfigUpdateMessage(
|
| }
|
|
|
| void QuicCryptoClientStream::DoHandshakeLoop(const CryptoHandshakeMessage* in) {
|
| + TRACE_EVENT1("net", "QuicCryptoClientStream::DoHandshakeLoop", "host",
|
| + server_id_.host());
|
| QuicCryptoClientConfig::CachedState* cached =
|
| crypto_config_->LookupOrCreate(server_id_);
|
|
|
| @@ -261,6 +266,8 @@ void QuicCryptoClientStream::DoInitialize(
|
|
|
| void QuicCryptoClientStream::DoSendCHLO(
|
| QuicCryptoClientConfig::CachedState* cached) {
|
| + TRACE_EVENT1("net", "QuicCryptoClientStream::DoSendCHLO", "host",
|
| + server_id_.host());
|
| if (stateless_reject_received_) {
|
| // If we've gotten to this point, we've sent at least one hello
|
| // and received a stateless reject in response. We cannot
|
| @@ -447,6 +454,8 @@ void QuicCryptoClientStream::DoReceiveREJ(
|
|
|
| QuicAsyncStatus QuicCryptoClientStream::DoVerifyProof(
|
| QuicCryptoClientConfig::CachedState* cached) {
|
| + TRACE_EVENT1("net", "QuicCryptoClientStream::DoVerifyProof", "host",
|
| + server_id_.host());
|
| ProofVerifier* verifier = crypto_config_->proof_verifier();
|
| DCHECK(verifier);
|
| next_state_ = STATE_VERIFY_PROOF_COMPLETE;
|
|
|