summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_util.h
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 17:31:22 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 17:31:22 +0000
commit90242e9e03d4eeff67d9fbc97e555597206c69d1 (patch)
tree28c5862e456ee3ccb24b157e9e6e9379576e8904 /chrome/browser/download/download_util.h
parent8907940aefb3a2a98a35332d46cc56bb3d8edf38 (diff)
downloadchromium_src-90242e9e03d4eeff67d9fbc97e555597206c69d1.zip
chromium_src-90242e9e03d4eeff67d9fbc97e555597206c69d1.tar.gz
chromium_src-90242e9e03d4eeff67d9fbc97e555597206c69d1.tar.bz2
More header cleanup:
- Some cleanup to url_request.h - Remove task.h from headers that don't need it. - Remove histogram.h from message_loop.h BUG=none TEST=none Review URL: http://codereview.chromium.org/2986002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52336 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_util.h')
-rw-r--r--chrome/browser/download/download_util.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/chrome/browser/download/download_util.h b/chrome/browser/download/download_util.h
index dee3600..6ee8f89 100644
--- a/chrome/browser/download/download_util.h
+++ b/chrome/browser/download/download_util.h
@@ -11,7 +11,6 @@
#include <string>
#include "base/basictypes.h"
-#include "base/task.h"
#include "gfx/native_widget_types.h"
#if defined(TOOLKIT_VIEWS)
@@ -30,23 +29,6 @@ class SkBitmap;
namespace download_util {
-// DownloadProgressTask --------------------------------------------------------
-
-// A class for managing the timed progress animations for a download view. The
-// view must implement an UpdateDownloadProgress() method.
-template<class DownloadView>
-class DownloadProgressTask : public Task {
- public:
- explicit DownloadProgressTask(DownloadView* view) : view_(view) {}
- virtual ~DownloadProgressTask() {}
- virtual void Run() {
- view_->UpdateDownloadProgress();
- }
- private:
- DownloadView* view_;
- DISALLOW_COPY_AND_ASSIGN(DownloadProgressTask);
-};
-
// Download opening ------------------------------------------------------------
// Whether it is OK to open this download.