Index: net/quic/quic_packet_writer.h |
diff --git a/net/quic/quic_packet_writer.h b/net/quic/quic_packet_writer.h |
index 5df30c8fa148c0ac4f3f5b38933c4d7202b37bb2..fbea660cf6f1c03d86fc61930dd6bb7dab416877 100644 |
--- a/net/quic/quic_packet_writer.h |
+++ b/net/quic/quic_packet_writer.h |
@@ -34,6 +34,13 @@ class NET_EXPORT_PRIVATE QuicPacketWriter { |
// when an attempt to write results in the underlying socket becoming |
// write blocked. |
virtual bool IsWriteBlockedDataBuffered() const = 0; |
+ |
+ // Returns true if the network socket is not writable. |
+ virtual bool IsWriteBlocked() const = 0; |
+ |
+ // Records that the socket has become writable, for example when an EPOLLOUT |
+ // is received or an asynchronous write completes. |
+ virtual void SetWritable() = 0; |
}; |
} // namespace net |