Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Unified Diff: net/http/http_stream_parser.h

Issue 6292013: Add chunked uploads support to SPDY (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_stream_parser.h
diff --git a/net/http/http_stream_parser.h b/net/http/http_stream_parser.h
index 5f7e943ab5073cb98af2d5e087a5d8a0053da652..33f4f8bc7928b378701a8fec9a3678cdf016e9cf 100644
--- a/net/http/http_stream_parser.h
+++ b/net/http/http_stream_parser.h
@@ -189,6 +189,10 @@ class HttpStreamParser : public ChunkCallback {
// Callback to be used when doing IO.
CompletionCallbackImpl<HttpStreamParser> io_callback_;
+ // Stores an encoded chunk for chunked uploads.
+ scoped_refptr<IOBuffer> chunk_buf_;
+ size_t chunk_data_length_;
+
DISALLOW_COPY_AND_ASSIGN(HttpStreamParser);
};

Powered by Google App Engine
This is Rietveld 408576698