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

Unified Diff: net/url_request/url_request.h

Issue 6292013: Add chunked uploads support to SPDY (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 10 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/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index a2ad24b520b8a4d0d31c20ca800dc95950399c58..a34be0ce863d7c2df97d1248027191ec3fee6d2f 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -330,10 +330,8 @@ class URLRequest : public base::NonThreadSafe {
// call MarkEndOfChunks() to indicate the end of upload data.
//
// This method may be called only after calling EnableChunkedUpload().
- void AppendChunkToUpload(const char* bytes, int bytes_len);
-
- // Indicates the end of a chunked transfer encoded request body.
- void MarkEndOfChunks();
+ void AppendChunkToUpload(const char* bytes, int bytes_len,
+ bool is_last_chunk);
willchan no longer on Chromium 2011/03/03 19:47:48 http://dev.chromium.org/developers/coding-style#Co
// Set the upload data directly.
void set_upload(net::UploadData* upload);

Powered by Google App Engine
This is Rietveld 408576698