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

Unified Diff: net/base/upload_data.h

Issue 10861036: net: Remove UploadElement::TYPE_CHUNK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused UploadElement::set_type() Created 8 years, 4 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
« no previous file with comments | « content/public/common/common_param_traits.cc ('k') | net/base/upload_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/upload_data.h
diff --git a/net/base/upload_data.h b/net/base/upload_data.h
index 7e4f54b9ddcb8518a3a04d6c8c1e9e05eecd542e..93131812d6a6ce782c601a824bd9c9369f7b817c 100644
--- a/net/base/upload_data.h
+++ b/net/base/upload_data.h
@@ -65,6 +65,9 @@ class NET_EXPORT UploadData
void set_is_chunked(bool set) { is_chunked_ = set; }
bool is_chunked() const { return is_chunked_; }
+ void set_last_chunk_appended(bool set) { last_chunk_appended_ = set; }
+ bool last_chunk_appended() const { return last_chunk_appended_; }
+
// Gets the total size in bytes of the data to upload. Computing the
// content length can result in performing file IO hence the operation is
// done asynchronously. Runs the callback with the content length once the
@@ -119,6 +122,7 @@ class NET_EXPORT UploadData
int64 identifier_;
ChunkCallback* chunk_callback_;
bool is_chunked_;
+ bool last_chunk_appended_;
DISALLOW_COPY_AND_ASSIGN(UploadData);
};
« no previous file with comments | « content/public/common/common_param_traits.cc ('k') | net/base/upload_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698