Index: chrome/browser/ui/views/download/download_item_view.cc |
diff --git a/chrome/browser/ui/views/download/download_item_view.cc b/chrome/browser/ui/views/download/download_item_view.cc |
index 606ad69862f86829cacb51645cf418620ad3d8e5..d6aa4853f7b085573413cf4b908e8caa4f6f2db7 100644 |
--- a/chrome/browser/ui/views/download/download_item_view.cc |
+++ b/chrome/browser/ui/views/download/download_item_view.cc |
@@ -257,15 +257,14 @@ void DownloadItemView::OnDownloadUpdated(DownloadItem* download) { |
string16 old_tip = tooltip_text_; |
content::DownloadInterruptReason reason = download_->GetLastReason(); |
+ tooltip_text_ = download_->GetFileNameToReportUser().LossyDisplayName(); |
+ |
if ((download_->GetState() == DownloadItem::INTERRUPTED) && |
(reason != content::DOWNLOAD_INTERRUPT_REASON_USER_CANCELED)) { |
- // Use two lines: The file name, and the message. |
- tooltip_text_ = download_->GetFileNameToReportUser().LossyDisplayName(); |
+ // Use two lines: The file name, and the status. |
tooltip_text_ += ASCIIToUTF16("\n"); |
- // The message is localized. |
- tooltip_text_ += DownloadItemModel::InterruptReasonMessage(reason); |
- } else { |
- tooltip_text_ = download_->GetFileNameToReportUser().LossyDisplayName(); |
+ // The status is localized. |
+ tooltip_text_ += DownloadItemModel::InterruptReasonStatusMessage(reason); |
} |
if (IsShowingWarningDialog() && !model_->IsDangerous()) { |