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

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

Issue 9351024: Clean up unused members and constructors from DownloadCreateInfo and DownloadSaveInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 8 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: content/browser/download/download_resource_handler.cc
diff --git a/content/browser/download/download_resource_handler.cc b/content/browser/download/download_resource_handler.cc
index 8915f2a2ecfc067b4bdd4a136c873bd0e883911e..94fc255eb5ef9ac7d75f04d170b7bd3176a5c1b1 100644
--- a/content/browser/download/download_resource_handler.cc
+++ b/content/browser/download/download_resource_handler.cc
@@ -96,7 +96,7 @@ bool DownloadResourceHandler::OnResponseStarted(
ResourceDispatcherHost::InfoForRequest(request_);
// Deleted in DownloadManager.
- scoped_ptr<DownloadCreateInfo> info(new DownloadCreateInfo(FilePath(), GURL(),
+ scoped_ptr<DownloadCreateInfo> info(new DownloadCreateInfo(
base::Time::Now(), 0, content_length_, DownloadItem::IN_PROGRESS,
request_info->has_user_gesture(), request_info->transition_type()));
info->url_chain = request_->url_chain();
@@ -241,7 +241,6 @@ bool DownloadResourceHandler::OnResponseCompleted(
base::Bind(base::IgnoreResult(
&DownloadResourceHandler::OnResponseCompleted), this,
request_id, status, security_info)));
-
return true;
}

Powered by Google App Engine
This is Rietveld 408576698