Index: net/http/http_stream.h |
diff --git a/net/http/http_stream.h b/net/http/http_stream.h |
index b161a8702f29299757207233b7c2fe431a34e909..3def66ee9a2dfc2d8d9fd14a4a100d85c8b09f6e 100644 |
--- a/net/http/http_stream.h |
+++ b/net/http/http_stream.h |
@@ -47,7 +47,9 @@ class NET_EXPORT_PRIVATE HttpStream { |
virtual ~HttpStream() {} |
// Initialize stream. Must be called before calling SendRequest(). |
- // |request_info| must outlive the HttpStream. |
+ // The consumer should ensure that request_info points to a valid value till |
+ // final response headers are received; after that point, the HttpStream |
+ // will not access |*request_info| and it may be deleted. |
// Returns a net error code, possibly ERR_IO_PENDING. |
virtual int InitializeStream(const HttpRequestInfo* request_info, |
RequestPriority priority, |