Index: net/http/http_transaction.h |
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h |
index ec3fc088a03ef26cd2f1ad2caf430b1f8409303b..d44050080ba4d1cfa9a5c18573211f3adb11c398 100644 |
--- a/net/http/http_transaction.h |
+++ b/net/http/http_transaction.h |
@@ -109,6 +109,9 @@ class NET_EXPORT_PRIVATE HttpTransaction { |
// 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). |
+ // |
+ // DoneReading may also be called before the first Read() to notify that the |
+ // entire response body is to be ignored (e.g., in a redirect). |
virtual void DoneReading() = 0; |
// Returns the response info for this transaction or NULL if the response |