Index: net/quic/chromium/quic_http_stream.h |
diff --git a/net/quic/chromium/quic_http_stream.h b/net/quic/chromium/quic_http_stream.h |
index d57b37976efdc9480610298bda0bdfb9e83abe2c..a57d41d93b9b299da68cb34c6975380c718b4820 100644 |
--- a/net/quic/chromium/quic_http_stream.h |
+++ b/net/quic/chromium/quic_http_stream.h |
@@ -15,6 +15,7 @@ |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
#include "net/base/io_buffer.h" |
+#include "net/base/load_timing_info.h" |
#include "net/http/http_stream.h" |
#include "net/quic/chromium/quic_chromium_client_session.h" |
#include "net/quic/chromium/quic_chromium_client_stream.h" |
@@ -181,6 +182,10 @@ class NET_EXPORT_PRIVATE QuicHttpStream |
int64_t closed_stream_received_bytes_; |
// Number of bytes sent when the stream was closed. |
int64_t closed_stream_sent_bytes_; |
+ // True if the stream is the first stream negotiated on the session. Set when |
+ // the stream was closed. If |stream_| is failed to be created, this takes on |
+ // the default value of false. |
+ bool closed_is_first_stream_; |
// The caller's callback to be used for asynchronous operations. |
CompletionCallback callback_; |
@@ -214,6 +219,9 @@ class NET_EXPORT_PRIVATE QuicHttpStream |
// Set to true when DoLoop() is being executed, false otherwise. |
bool in_loop_; |
+ // Session connect timing info. |
+ LoadTimingInfo::ConnectTiming connect_timing_; |
+ |
base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |