Index: net/quic/reliable_quic_stream.h |
diff --git a/net/quic/reliable_quic_stream.h b/net/quic/reliable_quic_stream.h |
index 7016d81960fa31a9e6178a3762c94b097072fd47..68ff6ddaeba171cd38778adbce67d5352b40d1f9 100644 |
--- a/net/quic/reliable_quic_stream.h |
+++ b/net/quic/reliable_quic_stream.h |
@@ -98,11 +98,9 @@ class NET_EXPORT_PRIVATE ReliableQuicStream { |
QuicFlowController* flow_controller() { return &flow_controller_; } |
- // Called by the stream sequencer as bytes are added to the buffer. |
- void AddBytesBuffered(uint64 bytes); |
- // Called by the stream sequencer as bytes are removed from the buffer. |
- void RemoveBytesBuffered(uint64 bytes); |
- // Called when bytes are sent to the peer. |
+ // Called when we see a frame which could increase the highest offset. |
+ void MaybeIncreaseHighestReceivedOffset(uint64 new_offset); |
+ // Called when bytese are sent to the peer. |
void AddBytesSent(uint64 bytes); |
// Called by the stream sequencer as bytes are consumed from the buffer. |
// If our receive window has dropped below the threshold, then send a |
@@ -168,12 +166,6 @@ class NET_EXPORT_PRIVATE ReliableQuicStream { |
scoped_refptr<ProxyAckNotifierDelegate> delegate; |
}; |
- // Calculates and returns available flow control send window. |
- uint64 SendWindowSize() const; |
- |
- // Calculates and returns total number of bytes this stream has received. |
- uint64 TotalReceivedBytes() const; |
- |
// Calls MaybeSendBlocked on our flow controller, and connection level flow |
// controller. If we are flow control blocked, marks this stream as write |
// blocked. |