| Index: chrome/common/net/url_fetcher.h
|
| diff --git a/chrome/common/net/url_fetcher.h b/chrome/common/net/url_fetcher.h
|
| index 733fd92f28d083ed2d9aae698bc9237bb5051a50..5877c5bc67e9f970e53f3ee9e43620a3b3dcf4bf 100644
|
| --- a/chrome/common/net/url_fetcher.h
|
| +++ b/chrome/common/net/url_fetcher.h
|
| @@ -132,6 +132,17 @@ class URLFetcher {
|
| void set_upload_data(const std::string& upload_content_type,
|
| const std::string& upload_content);
|
|
|
| + // Indicates that the POST data is sent via chunked transfer encoding.
|
| + // Use add_upload_data_chunk() to give the data chunks before or after calling
|
| + // Start().
|
| + void set_chunked_transfer_upload(const std::string& upload_content_type);
|
| +
|
| + // Adds the given bytes to a requests's POST data transmitted using chunked
|
| + // transfer encoding.
|
| + // This method should be called ONLY after calling Start().
|
| + void AppendChunkToUpload(const std::string& data);
|
| + void MarkEndOfChunks();
|
| +
|
| // Set one or more load flags as defined in net/base/load_flags.h. Must be
|
| // called before the request is started.
|
| void set_load_flags(int load_flags);
|
|
|