refactor: track downloads by guid (#45675)

This commit is contained in:
Shelley Vohr 2025-02-19 23:49:34 +01:00 committed by GitHub
parent b50066f420
commit 159e1a42b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View file

@ -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);