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

Unified Diff: net/url_request/url_fetcher_impl.cc

Issue 12224066: Fix UrlFetcher upload retry handling. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Revert http://crrev.com/178535 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
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);

Powered by Google App Engine
This is Rietveld 408576698