Index: net/quic/quic_http_stream.cc |
diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc |
index 3c77fdc79bf400c2c89bc3106459257cb29f1ec3..ca5cb8986a6e27bb466d6289857e44031f49e9da 100644 |
--- a/net/quic/quic_http_stream.cc |
+++ b/net/quic/quic_http_stream.cc |
@@ -637,12 +637,6 @@ int QuicHttpStream::DoSendHeaders() { |
NetLog::TYPE_HTTP_TRANSACTION_QUIC_SEND_REQUEST_HEADERS, |
base::Bind(&QuicRequestNetLogCallback, stream_->id(), &request_headers_, |
priority_)); |
- // Also log to the QuicSession's net log. |
- stream_->net_log().AddEvent( |
- NetLog::TYPE_QUIC_HTTP_STREAM_SEND_REQUEST_HEADERS, |
- base::Bind(&QuicRequestNetLogCallback, stream_->id(), &request_headers_, |
- priority_)); |
- |
bool has_upload_data = request_body_stream_ != nullptr; |
next_state_ = STATE_SEND_HEADERS_COMPLETE; |
@@ -733,12 +727,6 @@ int QuicHttpStream::DoSendBodyComplete(int rv) { |
} |
int QuicHttpStream::ProcessResponseHeaders(const SpdyHeaderBlock& headers) { |
- // The URLRequest logs these headers, so only log to the QuicSession's |
- // net log. |
- stream_->net_log().AddEvent( |
- NetLog::TYPE_QUIC_HTTP_STREAM_READ_RESPONSE_HEADERS, |
- base::Bind(&SpdyHeaderBlockNetLogCallback, &headers)); |
- |
if (!SpdyHeadersToHttpResponse(headers, HTTP2, response_info_)) { |
DLOG(WARNING) << "Invalid headers"; |
return ERR_QUIC_PROTOCOL_ERROR; |