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

Unified Diff: net/url_request/test_url_fetcher_factory.cc

Issue 12383015: Add SetUploadFilePath method to URLFetcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review changes Created 7 years, 10 months 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
« no previous file with comments | « net/url_request/test_url_fetcher_factory.h ('k') | net/url_request/url_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0fce9d9e2f7276f040b56cd5e5e85e6aa2799af6..c3e94fe964502fdc8a3cd07e4803092868e93339 100644
--- a/net/url_request/test_url_fetcher_factory.cc
+++ b/net/url_request/test_url_fetcher_factory.cc
@@ -57,6 +57,13 @@ void TestURLFetcher::SetUploadData(const std::string& upload_content_type,
upload_data_ = upload_content;
}
+void TestURLFetcher::SetUploadFilePath(
+ const std::string& upload_content_type,
+ const base::FilePath& file_path,
+ scoped_refptr<base::TaskRunner> file_task_runner) {
+ upload_file_path_ = file_path;
+}
+
void TestURLFetcher::SetChunkedUpload(const std::string& upload_content_type) {
}
« no previous file with comments | « net/url_request/test_url_fetcher_factory.h ('k') | net/url_request/url_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698