Index: net/http/http_transaction.h |
=================================================================== |
--- net/http/http_transaction.h (revision 95711) |
+++ net/http/http_transaction.h (working copy) |
@@ -96,6 +96,12 @@ |
// 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; |