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

Unified Diff: content/browser/download/download_resource_handler.h

Issue 66993008: [Downloads] Cleanup DownloadResourceHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: content/browser/download/download_resource_handler.h
diff --git a/content/browser/download/download_resource_handler.h b/content/browser/download/download_resource_handler.h
index 11982d7f67f0cecd019252607fdd2dc120e8b245..c03dd0065694b02a8b411436d150582f5540ad40 100644
--- a/content/browser/download/download_resource_handler.h
+++ b/content/browser/download/download_resource_handler.h
@@ -95,16 +95,7 @@ class CONTENT_EXPORT DownloadResourceHandler
// on the IO thread.
void CallStartedCB(DownloadItem* item, net::Error error);
- // If the content-length header is not present (or contains something other
- // than numbers), the incoming content_length is -1 (unknown size).
- // Set the content length to 0 to indicate unknown size to DownloadManager.
- void SetContentLength(const int64& content_length);
-
- void SetContentDisposition(const std::string& content_disposition);
-
uint32 download_id_;
- std::string content_disposition_;
- int64 content_length_;
// This is read only on the IO thread, but may only
// be called on the UI thread.
DownloadUrlParameters::OnStartedCallback started_cb_;
@@ -121,8 +112,6 @@ class CONTENT_EXPORT DownloadResourceHandler
base::TimeDelta total_pause_time_;
size_t last_buffer_size_;
int64 bytes_read_;
- std::string accept_ranges_;
- std::string etag_;
int pause_count_;
bool was_deferred_;

Powered by Google App Engine
This is Rietveld 408576698