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 d722fa794a371e457f6c2a8bf24dc54e04940a06..c7b0908c9432cb005da4406be0dc110cf562226c 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()) { |