| Index: net/url_request/url_fetcher_core.h
|
| diff --git a/net/url_request/url_fetcher_core.h b/net/url_request/url_fetcher_core.h
|
| index 082b994bd44089176f2f983ec5a618c95f974c30..622cc854168a53e5f23b60e1052a2fd7ff187014 100644
|
| --- a/net/url_request/url_fetcher_core.h
|
| +++ b/net/url_request/url_fetcher_core.h
|
| @@ -63,6 +63,9 @@ class URLFetcherCore
|
| // content and set |content| to the data to upload.
|
| void SetUploadData(const std::string& upload_content_type,
|
| const std::string& upload_content);
|
| + void SetUploadFilePath(const std::string& upload_content_type,
|
| + const base::FilePath& file_path,
|
| + scoped_refptr<base::TaskRunner> file_task_runner);
|
| void SetChunkedUpload(const std::string& upload_content_type);
|
| // Adds a block of data to be uploaded in a POST body. This can only be
|
| // called after Start().
|
| @@ -248,6 +251,7 @@ class URLFetcherCore
|
|
|
| bool upload_content_set_; // SetUploadData has been called
|
| std::string upload_content_; // HTTP POST payload
|
| + base::FilePath upload_file_path_; // Path to file containing POST payload
|
| std::string upload_content_type_; // MIME type of POST payload
|
| std::string referrer_; // HTTP Referer header value
|
| bool is_chunked_upload_; // True if using chunked transfer encoding
|
|
|