Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2979)

Unified Diff: net/url_request/test_url_fetcher_factory.cc

Issue 809663003: net: Add SetUploadStream method to URLFetcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix retrying. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..6dc9367ad473ffc68abbee3d689690de12476c95 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,11 @@ void TestURLFetcher::SetUploadFilePath(
upload_file_path_ = file_path;
}
+void TestURLFetcher::SetUploadStreamFactory(
+ const std::string& upload_content_type,
+ const CreateUploadStreamCallback& factory) {
+}
+
void TestURLFetcher::SetChunkedUpload(const std::string& upload_content_type) {
}

Powered by Google App Engine
This is Rietveld 408576698