diff options
Diffstat (limited to 'net/http/http_transaction.h')
-rw-r--r-- | net/http/http_transaction.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h index 400c91f..3e702ea 100644 --- a/net/http/http_transaction.h +++ b/net/http/http_transaction.h @@ -96,6 +96,12 @@ class NET_EXPORT_PRIVATE HttpTransaction { // Stops further caching of this request by the HTTP cache, if there is any. virtual void StopCaching() = 0; + // Called to tell the transaction that we have successfully reached the end + // of the stream. This is equivalent to performing an extra Read() at the end + // that should return 0 bytes. This method should not be called if the + // transaction is busy processing a previous operation (like a pending Read). + virtual void DoneReading() = 0; + // Returns the response info for this transaction or NULL if the response // info is not available. virtual const HttpResponseInfo* GetResponseInfo() const = 0; |