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

Unified Diff: net/url_request/test_url_fetcher_factory.h

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
« no previous file with comments | « no previous file | net/url_request/test_url_fetcher_factory.cc » ('j') | net/url_request/url_fetcher_core.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/test_url_fetcher_factory.h
diff --git a/net/url_request/test_url_fetcher_factory.h b/net/url_request/test_url_fetcher_factory.h
index 9fa42d896b8b5df7b5b816240672218011ca6780..5f72161460ca47705bf17ad0de14129b2cf0d2eb 100644
--- a/net/url_request/test_url_fetcher_factory.h
+++ b/net/url_request/test_url_fetcher_factory.h
@@ -81,9 +81,6 @@ class TestURLFetcher : public URLFetcher {
virtual ~TestURLFetcher();
// URLFetcher implementation
- virtual void SetUploadDataStream(
- const std::string& upload_content_type,
- scoped_ptr<UploadDataStream> upload_content) OVERRIDE;
virtual void SetUploadData(const std::string& upload_content_type,
const std::string& upload_content) OVERRIDE;
virtual void SetChunkedUpload(
@@ -148,11 +145,6 @@ class TestURLFetcher : public URLFetcher {
// Unique ID in our factory.
int id() const { return id_; }
- // Returns the data stream uploaded on this URLFetcher.
- const UploadDataStream* upload_data_stream() const {
- return upload_data_stream_.get();
- }
-
// Returns the data uploaded on this URLFetcher.
const std::string& upload_data() const { return upload_data_; }
@@ -194,7 +186,6 @@ class TestURLFetcher : public URLFetcher {
URLFetcherDelegate* delegate_;
DelegateForTests* delegate_for_tests_;
std::string upload_data_;
- scoped_ptr<UploadDataStream> upload_data_stream_;
std::list<std::string> chunks_;
bool did_receive_last_chunk_;
« no previous file with comments | « no previous file | net/url_request/test_url_fetcher_factory.cc » ('j') | net/url_request/url_fetcher_core.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698