| Index: net/url_request/test_url_fetcher_factory.cc
|
| diff --git a/net/url_request/test_url_fetcher_factory.cc b/net/url_request/test_url_fetcher_factory.cc
|
| index 357dfebb0464b345e7900dd4e4e7a8aa6b44a1ea..74b25c50b8b99dad61c89c07d7695a5744c3e600 100644
|
| --- a/net/url_request/test_url_fetcher_factory.cc
|
| +++ b/net/url_request/test_url_fetcher_factory.cc
|
| @@ -15,6 +15,7 @@
|
| #include "net/base/host_port_pair.h"
|
| #include "net/base/io_buffer.h"
|
| #include "net/base/net_errors.h"
|
| +#include "net/base/upload_data_stream.h"
|
| #include "net/http/http_response_headers.h"
|
| #include "net/url_request/url_fetcher_delegate.h"
|
| #include "net/url_request/url_fetcher_impl.h"
|
| @@ -73,6 +74,12 @@ void TestURLFetcher::SetUploadFilePath(
|
| upload_file_path_ = file_path;
|
| }
|
|
|
| +void TestURLFetcher::SetUploadStream(
|
| + const std::string& upload_content_type,
|
| + scoped_ptr<net::UploadDataStream> upload_stream) {
|
| + upload_stream_ = upload_stream.Pass();
|
| +}
|
| +
|
| void TestURLFetcher::SetChunkedUpload(const std::string& upload_content_type) {
|
| }
|
|
|
|
|