diff options
author | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 08:58:37 +0000 |
---|---|---|
committer | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 08:58:37 +0000 |
commit | 66ca8387165faa63b999b3d3080626cb4d8388b5 (patch) | |
tree | f3f33773a2c2a7814e54297eb30bb62e9fc65355 /net/base/upload_data.h | |
parent | 02c89fbf01c7c7decffcb109220a400863798f0f (diff) | |
download | chromium_src-66ca8387165faa63b999b3d3080626cb4d8388b5.zip chromium_src-66ca8387165faa63b999b3d3080626cb4d8388b5.tar.gz chromium_src-66ca8387165faa63b999b3d3080626cb4d8388b5.tar.bz2 |
Revert "Add chunked uploads support to SPDY"
This reverts commit 8431a6e7be70b1b50b0d5b851bbe728b7fef220f.
TBR=satish
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/upload_data.h')
-rw-r--r-- | net/base/upload_data.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/base/upload_data.h b/net/base/upload_data.h index b9cc864..e746f65 100644 --- a/net/base/upload_data.h +++ b/net/base/upload_data.h @@ -96,7 +96,7 @@ class UploadData : public base::RefCounted<UploadData> { // Though similar to bytes, a chunk indicates that the element is sent via // chunked transfer encoding and not buffered until the full upload data // is available. - void SetToChunk(const char* bytes, int bytes_len, bool is_last_chunk); + void SetToChunk(const char* bytes, int bytes_len); bool is_last_chunk() const { return is_last_chunk_; } // Sets whether this is the last chunk. Used during IPC marshalling. @@ -153,8 +153,8 @@ class UploadData : public base::RefCounted<UploadData> { void AppendBlob(const GURL& blob_url); // Adds the given chunk of bytes to be sent immediately with chunked transfer - // encoding. - void AppendChunk(const char* bytes, int bytes_len, bool is_last_chunk); + // encoding. Set bytes_len to zero for the last chunk. + void AppendChunk(const char* bytes, int bytes_len); // Sets the callback to be invoked when a new chunk is available to upload. void set_chunk_callback(ChunkCallback* callback); |