| Index: net/url_request/test_url_fetcher_factory.h
|
| diff --git a/net/url_request/test_url_fetcher_factory.h b/net/url_request/test_url_fetcher_factory.h
|
| index 078e8cb309cb237a61d096e4797fc5481b7b156c..775057f966a45e13bbfd80133a0dd79b4f963e75 100644
|
| --- a/net/url_request/test_url_fetcher_factory.h
|
| +++ b/net/url_request/test_url_fetcher_factory.h
|
| @@ -95,6 +95,9 @@ class TestURLFetcher : public URLFetcher {
|
| uint64 range_offset,
|
| uint64 range_length,
|
| scoped_refptr<base::TaskRunner> file_task_runner) override;
|
| + void SetUploadStream(
|
| + const std::string& upload_content_type,
|
| + scoped_ptr<net::UploadDataStream> upload_stream) override;
|
| void SetChunkedUpload(const std::string& upload_content_type) override;
|
| // Overriden to cache the chunks uploaded. Caller can read back the uploaded
|
| // chunks with the upload_chunks() accessor.
|
| @@ -202,6 +205,7 @@ class TestURLFetcher : public URLFetcher {
|
| std::string upload_content_type_;
|
| std::string upload_data_;
|
| base::FilePath upload_file_path_;
|
| + scoped_ptr<net::UploadDataStream> upload_stream_;
|
| std::list<std::string> chunks_;
|
| bool did_receive_last_chunk_;
|
|
|
|
|