| Index: content/browser/download/download_item_impl.cc
|
| diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc
|
| index 1132560218034b46a8b1e4f9f82f8c51bc726877..dccaf11c8316d5e1404abdaf6889485d04ec6bb9 100644
|
| --- a/content/browser/download/download_item_impl.cc
|
| +++ b/content/browser/download/download_item_impl.cc
|
| @@ -203,7 +203,8 @@ DownloadItemImpl::DownloadItemImpl(DownloadItemImplDelegate* delegate,
|
| uint32_t download_id,
|
| const DownloadCreateInfo& info,
|
| const net::NetLogWithSource& net_log)
|
| - : guid_(base::ToUpperASCII(base::GenerateGUID())),
|
| + : guid_(info.guid.empty() ? base::ToUpperASCII(base::GenerateGUID())
|
| + : info.guid),
|
| download_id_(download_id),
|
| target_disposition_((info.save_info->prompt_for_save_location)
|
| ? TARGET_DISPOSITION_PROMPT
|
|
|