| 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 08999f7d64bf9688bcd7a0bf084bd1a2f156efff..87897870a95c36bc49d0f69b48c03a579878135f 100644
|
| --- a/content/browser/download/download_create_info.cc
|
| +++ b/content/browser/download/download_create_info.cc
|
| @@ -11,18 +11,13 @@
|
|
|
| using content::DownloadId;
|
|
|
| -DownloadCreateInfo::DownloadCreateInfo(
|
| - const FilePath& path,
|
| - const GURL& url,
|
| - const base::Time& start_time,
|
| - int64 received_bytes,
|
| - int64 total_bytes,
|
| - int32 state,
|
| - bool has_user_gesture,
|
| - content::PageTransition transition_type)
|
| - : path(path),
|
| - url_chain(1, url),
|
| - start_time(start_time),
|
| +DownloadCreateInfo::DownloadCreateInfo(const base::Time& start_time,
|
| + int64 received_bytes,
|
| + int64 total_bytes,
|
| + int32 state,
|
| + bool has_user_gesture,
|
| + content::PageTransition transition_type)
|
| + : start_time(start_time),
|
| received_bytes(received_bytes),
|
| total_bytes(total_bytes),
|
| state(state),
|
| @@ -51,14 +46,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');
|
|
|