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

Unified Diff: chrome/browser/ui/gtk/download/download_shelf_gtk.h

Issue 11673004: No need to pass DownloadItemModel ownership. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DownloadShelfContextMenu class cleanup and require GetMenuModel() to return non-NULL Created 7 years, 11 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/ui/gtk/download/download_shelf_gtk.h
diff --git a/chrome/browser/ui/gtk/download/download_shelf_gtk.h b/chrome/browser/ui/gtk/download/download_shelf_gtk.h
index 05a98591f0c548e1b6102e7c504f53715f16f886..ebbee9b33f7052a3029292272138d83547b6a8ea 100644
--- a/chrome/browser/ui/gtk/download/download_shelf_gtk.h
+++ b/chrome/browser/ui/gtk/download/download_shelf_gtk.h
@@ -24,7 +24,6 @@
class Browser;
class CustomDrawButton;
class DownloadItemGtk;
-class DownloadItemModel;
class GtkThemeService;
namespace content {
@@ -69,7 +68,7 @@ class DownloadShelfGtk : public DownloadShelf,
protected:
// DownloadShelf implementation.
- virtual void DoAddDownload(DownloadItemModel* download_model) OVERRIDE;
+ virtual void DoAddDownload(content::DownloadItem* download) OVERRIDE;
virtual void DoShow() OVERRIDE;
virtual void DoClose() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698