Index: net/spdy/spdy_stream.h |
=================================================================== |
--- net/spdy/spdy_stream.h (revision 39786) |
+++ net/spdy/spdy_stream.h (working copy) |
@@ -150,6 +150,10 @@ |
// Call the user callback. |
void DoCallback(int rv); |
+ void ScheduleBufferedReadCallback(); |
+ void DoBufferedReadCallback(); |
+ bool ShouldWaitForMoreBufferedData(); |
+ |
// The implementations of each state of the state machine. |
int DoSendHeaders(); |
int DoSendHeadersComplete(int result); |
@@ -203,6 +207,12 @@ |
int recv_bytes_; |
bool histograms_recorded_; |
+ // Is there a scheduled read callback pending. |
+ bool buffered_read_callback_pending_; |
+ // Has more data been received from the network during the wait for the |
+ // scheduled read callback. |
+ bool more_read_data_pending_; |
+ |
DISALLOW_COPY_AND_ASSIGN(SpdyStream); |
}; |