Chromium Code Reviews| 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); |