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

Unified Diff: chrome/browser/ui/views/download/download_item_view.h

Issue 11441006: Convert IconManager to use new CancelableTaskTracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and fix mac compiling Created 8 years 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/ui/views/download/download_item_view.h
diff --git a/chrome/browser/ui/views/download/download_item_view.h b/chrome/browser/ui/views/download/download_item_view.h
index f4d91b238998bc346a0605ce8e94fa436eda1ed5..b4e1eada2c6af9da4f4643a1ea3e4471c5caa325 100644
--- a/chrome/browser/ui/views/download/download_item_view.h
+++ b/chrome/browser/ui/views/download/download_item_view.h
@@ -69,7 +69,7 @@ class DownloadItemView : public views::ButtonListener,
void StopDownloadProgress();
// IconManager::Client interface.
- void OnExtractIconComplete(IconManager::Handle handle, gfx::Image* icon);
+ void OnExtractIconComplete(gfx::Image* icon);
// Returns the DownloadItem model object belonging to this item.
content::DownloadItem* download() const { return download_; }
@@ -281,7 +281,7 @@ class DownloadItemView : public views::ButtonListener,
gfx::Point drag_start_point_;
// For canceling an in progress icon request.
- CancelableRequestConsumerT<int, 0> icon_consumer_;
+ CancelableTaskTracker cancelable_task_tracker_;
// A model class to control the status text we display and the cancel
// behavior.
« no previous file with comments | « chrome/browser/ui/gtk/download/download_item_gtk.cc ('k') | chrome/browser/ui/views/download/download_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698