Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1148)

Unified Diff: chrome/browser/download/download_util.h

Issue 2965015: Attempt four at landing the "histogram.h removed from message_loop.h" patch. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win build fixes Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_util.h
diff --git a/chrome/browser/download/download_util.h b/chrome/browser/download/download_util.h
index dee36003be20b127f7efef7d43e90f37b349a6bb..6ee8f8984bdc8f1830523e37500571d2e85bc3b9 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.
« no previous file with comments | « chrome/browser/debugger/devtools_remote_listen_socket_unittest.h ('k') | chrome/browser/extensions/crx_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698