Index: net/quic/chromium/quic_http_stream.cc |
diff --git a/net/quic/chromium/quic_http_stream.cc b/net/quic/chromium/quic_http_stream.cc |
index c72bf9e88ac348001c5f855e9d20c6dfa67cbcf8..1066b57e3038bf5ccee82b396c98d9e639bdd4fb 100644 |
--- a/net/quic/chromium/quic_http_stream.cc |
+++ b/net/quic/chromium/quic_http_stream.cc |
@@ -58,7 +58,6 @@ |
headers_bytes_sent_(0), |
closed_stream_received_bytes_(0), |
closed_stream_sent_bytes_(0), |
- closed_is_first_stream_(false), |
user_buffer_len_(0), |
quic_connection_error_(QUIC_NO_ERROR), |
port_migration_detected_(false), |
@@ -417,15 +416,7 @@ |
} |
bool QuicHttpStream::GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const { |
- bool is_first_stream = closed_is_first_stream_; |
- if (stream_) |
- is_first_stream = stream_->IsFirstStream(); |
- if (is_first_stream) { |
- load_timing_info->socket_reused = false; |
- load_timing_info->connect_timing = connect_timing_; |
- } else { |
- load_timing_info->socket_reused = true; |
- } |
+ // TODO(mmenke): Figure out what to do here. |
return true; |
} |
@@ -804,9 +795,6 @@ |
response_info_->request_time = request_time_; |
response_headers_received_ = true; |
- // Populate |connect_timing_| when response headers are received. This should |
- // take care of 0-RTT where request is sent before handshake is confirmed. |
- connect_timing_ = session_->GetConnectTiming(); |
return OK; |
} |
@@ -836,7 +824,6 @@ |
return; |
closed_stream_received_bytes_ = stream_->stream_bytes_read(); |
closed_stream_sent_bytes_ = stream_->stream_bytes_written(); |
- closed_is_first_stream_ = stream_->IsFirstStream(); |
stream_ = nullptr; |
// If |request_body_stream_| is non-NULL, Reset it, to abort any in progress |