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 |