diff options
Diffstat (limited to 'net/quic/quic_write_blocked_list.h')
| -rw-r--r-- | net/quic/quic_write_blocked_list.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/net/quic/quic_write_blocked_list.h b/net/quic/quic_write_blocked_list.h index cddd58f..6727fb4 100644 --- a/net/quic/quic_write_blocked_list.h +++ b/net/quic/quic_write_blocked_list.h @@ -27,10 +27,12 @@ class NET_EXPORT_PRIVATE QuicWriteBlockedList { QuicWriteBlockedList(); ~QuicWriteBlockedList(); - bool HasWriteBlockedStreams() const { - return crypto_stream_blocked_ || - headers_stream_blocked_ || - base_write_blocked_list_.HasWriteBlockedStreams(); + bool HasWriteBlockedDataStreams() const { + return base_write_blocked_list_.HasWriteBlockedStreams(); + } + + bool HasWriteBlockedCryptoOrHeadersStream() const { + return crypto_stream_blocked_ || headers_stream_blocked_; } size_t NumBlockedStreams() const { @@ -89,6 +91,9 @@ class NET_EXPORT_PRIVATE QuicWriteBlockedList { return; } + bool crypto_stream_blocked() const { return crypto_stream_blocked_; } + bool headers_stream_blocked() const { return headers_stream_blocked_; } + private: QuicWriteBlockedListBase base_write_blocked_list_; bool crypto_stream_blocked_; |
