Index: net/http/http_stream_parser.h |
diff --git a/net/http/http_stream_parser.h b/net/http/http_stream_parser.h |
index bbd551f1cda64b6e80adb1e5a36caa720646ce59..5f7e943ab5073cb98af2d5e087a5d8a0053da652 100644 |
--- a/net/http/http_stream_parser.h |
+++ b/net/http/http_stream_parser.h |
@@ -26,7 +26,7 @@ class IOBuffer; |
class SSLCertRequestInfo; |
class SSLInfo; |
-class HttpStreamParser { |
+class HttpStreamParser : public ChunkCallback { |
public: |
// Any data in |read_buffer| will be used before reading from the socket |
// and any data left over after parsing the stream will be put into |
@@ -71,6 +71,9 @@ class HttpStreamParser { |
void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info); |
+ // ChunkCallback methods. |
+ virtual void OnChunkAvailable(); |
+ |
private: |
// FOO_COMPLETE states implement the second half of potentially asynchronous |
// operations and don't necessarily mean that FOO is complete. |