Index: net/quic/quic_connection.h |
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h |
index 2231157bbcc4f94e0e98770cbaf08802d408ff9d..bdc8be1fbedbc0a87458e53ef82800f9e3760d4a 100644 |
--- a/net/quic/quic_connection.h |
+++ b/net/quic/quic_connection.h |
@@ -341,6 +341,11 @@ class NET_EXPORT_PRIVATE QuicConnection |
// does nothing if there are no pending frames. |
void Flush(); |
+ // Returns true if the underlying UDP socket is writable, there is |
+ // no queued data and the connection is not congestion-control |
+ // blocked. |
+ bool CanWriteStreamData(); |
+ |
// Returns true if the connection has queued packets or frames. |
bool HasQueuedData() const; |