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

Unified Diff: net/url_request/url_fetcher_impl.cc

Issue 12261025: Revert "Add SetUploadDataStream method to URLFetcher." which broke URLFetcher retries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/url_fetcher_impl.h ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher_impl.cc
diff --git a/net/url_request/url_fetcher_impl.cc b/net/url_request/url_fetcher_impl.cc
index 9de7f89c895e9965b125cfd75bb50793d848f01a..5f7a0113f2cb0d31656790a81f4bb6ef6bac92d5 100644
--- a/net/url_request/url_fetcher_impl.cc
+++ b/net/url_request/url_fetcher_impl.cc
@@ -6,7 +6,6 @@
#include "base/bind.h"
#include "base/message_loop_proxy.h"
-#include "net/base/upload_data_stream.h"
#include "net/url_request/url_fetcher_core.h"
#include "net/url_request/url_fetcher_factory.h"
@@ -25,12 +24,6 @@ URLFetcherImpl::~URLFetcherImpl() {
core_->Stop();
}
-void URLFetcherImpl::SetUploadDataStream(
- const std::string& upload_content_type,
- scoped_ptr<UploadDataStream> upload_content) {
- core_->SetUploadDataStream(upload_content_type, upload_content.Pass());
-}
-
void URLFetcherImpl::SetUploadData(const std::string& upload_content_type,
const std::string& upload_content) {
core_->SetUploadData(upload_content_type, upload_content);
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698