summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/download_item_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/download_item_gtk.h')
-rw-r--r--chrome/browser/gtk/download_item_gtk.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/gtk/download_item_gtk.h b/chrome/browser/gtk/download_item_gtk.h
index 4557695..c490c94 100644
--- a/chrome/browser/gtk/download_item_gtk.h
+++ b/chrome/browser/gtk/download_item_gtk.h
@@ -53,11 +53,12 @@ class DownloadItemGtk : public DownloadItem::Observer,
// ownership of |icon_bitmap|.
void OnLoadIconComplete(IconManager::Handle handle, SkBitmap* icon_bitmap);
+ // Returns the DownloadItem model object belonging to this item.
+ DownloadItem* get_download();
+
private:
friend class DownloadShelfContextMenuGtk;
- DownloadItem* get_download();
-
// Returns true IFF the download is dangerous and unconfirmed.
bool IsDangerous();
@@ -203,6 +204,7 @@ class DownloadItemGtk : public DownloadItem::Observer,
// The file icon for the download. May be null.
SkBitmap* icon_;
+
// The last download file path for which we requested an icon.
FilePath icon_filepath_;