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

Unified Diff: net/base/upload_data.h

Issue 10910268: net: Make UploadDataStream::Read() asynchronous (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments about chunk upload behavior Created 8 years, 2 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.h
diff --git a/net/base/upload_data.h b/net/base/upload_data.h
index b35263cc23352b83637ce3c1a9eb4df6a49c8e6a..d4314257593cc27c2f99fa8f481926846aa2bff9 100644
--- a/net/base/upload_data.h
+++ b/net/base/upload_data.h
@@ -60,7 +60,7 @@ class NET_EXPORT UploadData
void set_chunk_callback(ChunkCallback* callback);
// Initializes the object to send chunks of upload data over time rather
- // than all at once.
+ // than all at once. Only bytes can be appended for chunked data.
mmenke 2012/10/15 19:54:45 Think this statement is too weak, since other func
hashimoto 2012/10/16 11:52:20 Done.
void set_is_chunked(bool set) { is_chunked_ = set; }
bool is_chunked() const { return is_chunked_; }

Powered by Google App Engine
This is Rietveld 408576698