refactor: track downloads by guid (#45718)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
b63be7b5c7
commit
8ea1f5b604
2 changed files with 8 additions and 8 deletions
|
@ -48,12 +48,12 @@ class ElectronDownloadManagerDelegate
|
|||
void GetItemSaveDialogOptions(download::DownloadItem* item,
|
||||
file_dialog::DialogSettings* options);
|
||||
|
||||
void OnDownloadPathGenerated(uint32_t download_id,
|
||||
void OnDownloadPathGenerated(const std::string& download_guid,
|
||||
download::DownloadTargetCallback callback,
|
||||
const base::FilePath& default_path);
|
||||
|
||||
void OnDownloadSaveDialogDone(
|
||||
uint32_t download_id,
|
||||
const std::string& download_guid,
|
||||
download::DownloadTargetCallback download_callback,
|
||||
gin_helper::Dictionary result);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue