| Index: content/shell/shell_download_manager_delegate.cc
|
| ===================================================================
|
| --- content/shell/shell_download_manager_delegate.cc (revision 124549)
|
| +++ content/shell/shell_download_manager_delegate.cc (working copy)
|
| @@ -104,7 +104,7 @@
|
| void ShellDownloadManagerDelegate::ChooseDownloadPath(
|
| WebContents* web_contents,
|
| const FilePath& suggested_path,
|
| - void* data) {
|
| + int32 download_id) {
|
| FilePath result;
|
| #if defined(OS_WIN)
|
| std::wstring file_part = FilePath(suggested_path).BaseName().value();
|
| @@ -132,9 +132,9 @@
|
| #endif
|
|
|
| if (result.empty()) {
|
| - download_manager_->FileSelectionCanceled(data);
|
| + download_manager_->FileSelectionCanceled(download_id);
|
| } else {
|
| - download_manager_->FileSelected(result, data);
|
| + download_manager_->FileSelected(result, download_id);
|
| }
|
| }
|
|
|
|
|