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

Unified Diff: content/browser/download/download_create_info.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: Update copyright 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
« no previous file with comments | « content/browser/download/download_create_info.h ('k') | content/browser/download/download_item_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_create_info.cc
diff --git a/content/browser/download/download_create_info.cc b/content/browser/download/download_create_info.cc
index c3b745f3f54872668a7fbcdb37516be294e977f2..051bcccf04e68912fa1d51aa1098633088ed3a77 100644
--- a/content/browser/download/download_create_info.cc
+++ b/content/browser/download/download_create_info.cc
@@ -12,8 +12,6 @@
using content::DownloadId;
DownloadCreateInfo::DownloadCreateInfo(
- const FilePath& path,
- const GURL& url,
const base::Time& start_time,
int64 received_bytes,
int64 total_bytes,
@@ -21,9 +19,7 @@ DownloadCreateInfo::DownloadCreateInfo(
const net::BoundNetLog& bound_net_log,
bool has_user_gesture,
content::PageTransition transition_type)
- : path(path),
- url_chain(1, url),
- start_time(start_time),
+ : start_time(start_time),
received_bytes(received_bytes),
total_bytes(total_bytes),
state(state),
@@ -53,14 +49,14 @@ std::string DownloadCreateInfo::DebugString() const {
return base::StringPrintf("{"
" download_id = %s"
" url = \"%s\""
- " path = \"%" PRFilePath "\""
+ " save_info.file_path = \"%" PRFilePath "\""
" received_bytes = %" PRId64
" total_bytes = %" PRId64
" prompt_user_for_save_location = %c"
" }",
download_id.DebugString().c_str(),
url().spec().c_str(),
- path.value().c_str(),
+ save_info.file_path.value().c_str(),
received_bytes,
total_bytes,
prompt_user_for_save_location ? 'T' : 'F');
« no previous file with comments | « content/browser/download/download_create_info.h ('k') | content/browser/download/download_item_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698