| Index: net/quic/quic_write_blocked_list.h
|
| diff --git a/net/quic/quic_write_blocked_list.h b/net/quic/quic_write_blocked_list.h
|
| index cddd58fb37b4638b1528d16234b8c7b1d57670d8..6727fb4e826e2fae1d5653a153ab3cbcacd1347b 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_;
|
|
|