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

Unified Diff: net/base/upload_data_stream.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/base/upload_data_stream.h
diff --git a/net/base/upload_data_stream.h b/net/base/upload_data_stream.h
index f291140348b7d2acea7b940eee783771fa36e018..7b16720044c1c842c58bc03c7e8f7903fc76027b 100644
--- a/net/base/upload_data_stream.h
+++ b/net/base/upload_data_stream.h
@@ -26,6 +26,7 @@ class UploadDataStream {
// Returns the stream's buffer and buffer length.
IOBuffer* buf() const { return buf_; }
size_t buf_len() const { return buf_len_; }
+ size_t GetMaxBufferSize() const { return kBufSize; }
willchan no longer on Chromium 2011/02/01 23:35:59 It's annoying we have to expose this. We should ju
Satish 2011/02/22 14:25:44 We don't write to a buffer provided by the caller,
willchan no longer on Chromium 2011/02/24 19:03:39 I was thinking that instead of an interface like M
// Call to indicate that a portion of the stream's buffer was consumed. This
// call modifies the stream's buffer so that it contains the next segment of

Powered by Google App Engine
This is Rietveld 408576698