summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-10 22:36:40 +0000
committerarv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-10 22:36:40 +0000
commit826195556f935a71c9cd7d025df2d974d4fcdfcb (patch)
tree8a2fcf2fe5a8288d4e10b932caa2315cf5f87b0a
parent986535699f5e7016db8617e175a2f564d05a8b72 (diff)
downloadchromium_src-826195556f935a71c9cd7d025df2d974d4fcdfcb.zip
chromium_src-826195556f935a71c9cd7d025df2d974d4fcdfcb.tar.gz
chromium_src-826195556f935a71c9cd7d025df2d974d4fcdfcb.tar.bz2
Show the remaining time in the downloads page.
BUG=13386 TEST=Download a large file and make sure that you see the speed in the donwloads page. Review URL: http://codereview.chromium.org/119428 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18102 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/dom_ui/downloads_dom_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/downloads_dom_handler.cc b/chrome/browser/dom_ui/downloads_dom_handler.cc
index 7f2f39c..1f2c217 100644
--- a/chrome/browser/dom_ui/downloads_dom_handler.cc
+++ b/chrome/browser/dom_ui/downloads_dom_handler.cc
@@ -343,6 +343,6 @@ std::wstring DownloadsDOMHandler::GetProgressStatusText(
return l10n_util::GetStringF(IDS_DOWNLOAD_TAB_PROGRESS_STATUS_TIME_UNKNOWN,
speed_text, amount);
}
- return l10n_util::GetStringF(IDS_DOWNLOAD_TAB_PROGRESS_STATUS, amount,
- time_remaining);
+ return l10n_util::GetStringF(IDS_DOWNLOAD_TAB_PROGRESS_STATUS, speed_text,
+ amount, time_remaining);
}