| Index: net/quic/quic_connection_logger.cc
|
| diff --git a/net/quic/quic_connection_logger.cc b/net/quic/quic_connection_logger.cc
|
| index 2221b501231664389389571aeaafa983b641181f..5195f4391a3087b90446c3755f7f0127a6e7594e 100644
|
| --- a/net/quic/quic_connection_logger.cc
|
| +++ b/net/quic/quic_connection_logger.cc
|
| @@ -12,6 +12,8 @@
|
| #include "net/base/net_log.h"
|
| #include "net/quic/crypto/crypto_handshake.h"
|
|
|
| +using std::string;
|
| +
|
| namespace net {
|
|
|
| namespace {
|
| @@ -416,4 +418,11 @@ void QuicConnectionLogger::OnConnectionClose(QuicErrorCode error,
|
| base::Bind(&NetLogQuicConnectionClosedCallback, error, from_peer));
|
| }
|
|
|
| +void QuicConnectionLogger::OnSuccessfulVersionNegotiation(
|
| + const QuicVersion& version) {
|
| + string quic_version = QuicVersionToString(version);
|
| + net_log_.AddEvent(NetLog::TYPE_QUIC_SESSION_VERSION_NEGOTIATED,
|
| + NetLog::StringCallback("version", &quic_version));
|
| +}
|
| +
|
| } // namespace net
|
|
|