| Index: content/shell/shell_download_manager_delegate.cc
|
| diff --git a/content/shell/shell_download_manager_delegate.cc b/content/shell/shell_download_manager_delegate.cc
|
| index b70bbcdfa42b1417158c31febb46ab8fca742e39..4660f0bd6d099ba802d768b5d14515ca5b8397fd 100644
|
| --- a/content/shell/shell_download_manager_delegate.cc
|
| +++ b/content/shell/shell_download_manager_delegate.cc
|
| @@ -42,17 +42,17 @@ void ShellDownloadManagerDelegate::Shutdown() {
|
| bool ShellDownloadManagerDelegate::ShouldStartDownload(int32 download_id) {
|
| DownloadItem* download =
|
| download_manager_->GetActiveDownloadItem(download_id);
|
| - DownloadStateInfo state = download->state_info();
|
| + DownloadStateInfo state = download->GetStateInfo();
|
|
|
| if (!state.force_file_name.empty())
|
| return true;
|
|
|
| FilePath generated_name = net::GenerateFileName(
|
| download->GetURL(),
|
| - download->content_disposition(),
|
| - download->referrer_charset(),
|
| - download->suggested_filename(),
|
| - download->mime_type(),
|
| + download->GetContentDisposition(),
|
| + download->GetReferrerCharset(),
|
| + download->GetSuggestedFilename(),
|
| + download->GetMimeType(),
|
| "download");
|
|
|
| // Since we have no download UI, show the user a dialog always.
|
|
|