Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(428)

Unified Diff: net/quic/chromium/bidirectional_stream_quic_impl.h

Issue 2354653003: Implements BidirectionalStreamQuicImpl::GetLoadTimingInfo (Closed)
Patch Set: Rebased Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/quic/chromium/bidirectional_stream_quic_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/chromium/bidirectional_stream_quic_impl.h
diff --git a/net/quic/chromium/bidirectional_stream_quic_impl.h b/net/quic/chromium/bidirectional_stream_quic_impl.h
index d0d2923707929d8aea313f5d80c8f4d5d692269d..44e91a9300b16cf65f84480fa91d4c66da6fea2c 100644
--- a/net/quic/chromium/bidirectional_stream_quic_impl.h
+++ b/net/quic/chromium/bidirectional_stream_quic_impl.h
@@ -95,6 +95,10 @@ class NET_EXPORT_PRIVATE BidirectionalStreamQuicImpl
// The protocol that is negotiated.
NextProto negotiated_protocol_;
+ // Connect timing information for this stream. Populated when headers are
+ // received.
+ LoadTimingInfo::ConnectTiming connect_timing_;
+
// User provided read buffer for ReadData() response.
scoped_refptr<IOBuffer> read_buffer_;
int read_buffer_len_;
@@ -109,6 +113,10 @@ class NET_EXPORT_PRIVATE BidirectionalStreamQuicImpl
// After |stream_| has been closed, this keeps track of the total number of
// bytes sent over the network for |stream_| while it was open.
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_;
// Indicates whether initial headers have been sent.
bool has_sent_headers_;
// Indicates whether initial headers have been received.
« no previous file with comments | « no previous file | net/quic/chromium/bidirectional_stream_quic_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698