diff options
Diffstat (limited to 'net/spdy/spdy_write_queue.h')
-rw-r--r-- | net/spdy/spdy_write_queue.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/spdy/spdy_write_queue.h b/net/spdy/spdy_write_queue.h index fa194ef..3bceb29 100644 --- a/net/spdy/spdy_write_queue.h +++ b/net/spdy/spdy_write_queue.h @@ -27,6 +27,10 @@ class NET_EXPORT_PRIVATE SpdyWriteQueue { SpdyWriteQueue(); ~SpdyWriteQueue(); + // Returns whether there is anything in the write queue, + // i.e. whether the next call to Dequeue will return true. + bool IsEmpty() const; + // Enqueues the given frame producer of the given type at the given // priority associated with the given stream, which may be NULL if // the frame producer is not associated with a stream. If |stream| |