Index: net/http/http_stream_parser.h |
diff --git a/net/http/http_stream_parser.h b/net/http/http_stream_parser.h |
index 8af8c9ae3734e8b294857f3fbe3e56c8744a56ae..796a4d00373d95b3b42a129e4c5083f39890b199 100644 |
--- a/net/http/http_stream_parser.h |
+++ b/net/http/http_stream_parser.h |
@@ -58,6 +58,8 @@ class NET_EXPORT_PRIVATE HttpStreamParser : public ChunkCallback { |
void Close(bool not_reusable); |
+ // Returns the progress of uploading. When data is chunked, size is set to |
+ // zero, but position will not be. |
UploadProgress GetUploadProgress() const; |
HttpResponseInfo* GetResponseInfo(); |