Index: net/http/http_stream_parser.h |
diff --git a/net/http/http_stream_parser.h b/net/http/http_stream_parser.h |
index 861fbe9402956e1e22b6f0468b0947a6f70b4ea0..559f9e6df926339c1f04ad90c729ec333dbd9f79 100644 |
--- a/net/http/http_stream_parser.h |
+++ b/net/http/http_stream_parser.h |
@@ -20,6 +20,7 @@ namespace net { |
class ClientSocketHandle; |
class DrainableIOBuffer; |
+class SeekableIOBuffer; |
wtc
2012/02/02 20:22:57
Nit: list in alphabetical order.
satorux1
2012/02/02 22:02:27
Done.
|
class GrowableIOBuffer; |
struct HttpRequestInfo; |
class HttpRequestHeaders; |
@@ -223,9 +224,7 @@ class NET_EXPORT_PRIVATE HttpStreamParser : public ChunkCallback { |
// Stores an encoded chunk for chunked uploads. |
// Note: This should perhaps be improved to not create copies of the data. |
- scoped_refptr<IOBufferWithSize> raw_chunk_buf_; |
- // Wraps raw_chunk_buf_ to read the remaining data progressively. |
- scoped_refptr<DrainableIOBuffer> chunk_buf_; |
+ scoped_refptr<SeekableIOBuffer> chunk_buf_; |
size_t chunk_length_without_encoding_; |
bool sent_last_chunk_; |