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 051bcccf04e68912fa1d51aa1098633088ed3a77..bef5aa4341aae98fc7d82095cf112361026b7d86 100644 |
--- a/content/browser/download/download_create_info.cc |
+++ b/content/browser/download/download_create_info.cc |
@@ -28,6 +28,7 @@ DownloadCreateInfo::DownloadCreateInfo( |
transition_type(transition_type), |
db_handle(0), |
prompt_user_for_save_location(false), |
+ save_info(new content::DownloadSaveInfo()), |
request_bound_net_log(bound_net_log) { |
} |
@@ -39,7 +40,8 @@ DownloadCreateInfo::DownloadCreateInfo() |
has_user_gesture(false), |
transition_type(content::PAGE_TRANSITION_LINK), |
db_handle(0), |
- prompt_user_for_save_location(false) { |
+ prompt_user_for_save_location(false), |
+ save_info(new content::DownloadSaveInfo()) { |
} |
DownloadCreateInfo::~DownloadCreateInfo() { |
@@ -49,14 +51,12 @@ std::string DownloadCreateInfo::DebugString() const { |
return base::StringPrintf("{" |
" download_id = %s" |
" url = \"%s\"" |
- " 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(), |
- save_info.file_path.value().c_str(), |
received_bytes, |
total_bytes, |
prompt_user_for_save_location ? 'T' : 'F'); |