diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-13 10:29:07 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-13 10:29:07 +0000 |
commit | 5c2387504ee4124ce0521212d895bae87cf08d8f (patch) | |
tree | 3e9c3539afbd5cb96af547a012fd99ad4f1aecac /chrome/browser/dom_ui/downloads_dom_handler.cc | |
parent | 94fe52ee5bdf2d2feaa771537164909250ec174f (diff) | |
download | chromium_src-5c2387504ee4124ce0521212d895bae87cf08d8f.zip chromium_src-5c2387504ee4124ce0521212d895bae87cf08d8f.tar.gz chromium_src-5c2387504ee4124ce0521212d895bae87cf08d8f.tar.bz2 |
Reduce header dependencies in browser/
- remove unneeded header includes
- move implementation bits out of headers
- more explicit header deps
In my scan of headers I got up to (including) dom_ui.
Review URL: http://codereview.chromium.org/126071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/downloads_dom_handler.cc')
-rw-r--r-- | chrome/browser/dom_ui/downloads_dom_handler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/downloads_dom_handler.cc b/chrome/browser/dom_ui/downloads_dom_handler.cc index 1f2c217..3a5388c 100644 --- a/chrome/browser/dom_ui/downloads_dom_handler.cc +++ b/chrome/browser/dom_ui/downloads_dom_handler.cc @@ -10,6 +10,7 @@ #include "base/string_piece.h" #include "base/thread.h" #include "base/time_format.h" +#include "base/values.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/dom_ui/chrome_url_data_manager.h" #include "chrome/browser/dom_ui/fileicon_source.h" @@ -340,7 +341,7 @@ std::wstring DownloadsDOMHandler::GetProgressStatusText( time_remaining = TimeFormat::TimeRemaining(remaining); if (time_remaining.empty()) { - return l10n_util::GetStringF(IDS_DOWNLOAD_TAB_PROGRESS_STATUS_TIME_UNKNOWN, + return l10n_util::GetStringF(IDS_DOWNLOAD_TAB_PROGRESS_STATUS_TIME_UNKNOWN, speed_text, amount); } return l10n_util::GetStringF(IDS_DOWNLOAD_TAB_PROGRESS_STATUS, speed_text, |