summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_session.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/quic_session.h')
-rw-r--r--net/quic/quic_session.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/quic/quic_session.h b/net/quic/quic_session.h
index 76fb274..ca2189a3 100644
--- a/net/quic/quic_session.h
+++ b/net/quic/quic_session.h
@@ -73,6 +73,7 @@ class NET_EXPORT_PRIVATE QuicSession : public QuicConnectionVisitorInterface {
virtual void OnCanWrite() OVERRIDE;
virtual bool HasPendingWrites() const OVERRIDE;
virtual bool HasPendingHandshake() const OVERRIDE;
+ virtual bool HasOpenDataStreams() const OVERRIDE;
// Called by the headers stream when headers have been received for a stream.
virtual void OnStreamHeaders(QuicStreamId stream_id,
@@ -175,7 +176,8 @@ class NET_EXPORT_PRIVATE QuicSession : public QuicConnectionVisitorInterface {
QuicPacketCreator::Options* options() { return connection()->options(); }
// Returns the number of currently open streams, including those which have
- // been implicitly created.
+ // been implicitly created, but excluding the reserved headers and crypto
+ // streams.
virtual size_t GetNumOpenStreams() const;
void MarkWriteBlocked(QuicStreamId id, QuicPriority priority);