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

Unified Diff: chrome/browser/ui/views/download/download_shelf_view.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/views/download/download_shelf_view.h
diff --git a/chrome/browser/ui/views/download/download_shelf_view.h b/chrome/browser/ui/views/download/download_shelf_view.h
index df75272d5d3929c7b9bcb4e169386e03f3614f4f..b91cf952b56e3d2b5c1add1bfecee86acb440c74 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.h
+++ b/chrome/browser/ui/views/download/download_shelf_view.h
@@ -19,9 +19,9 @@
class Browser;
class BrowserView;
class DownloadItemView;
-class DownloadItemModel;
namespace content {
+class DownloadItem;
class PageNavigator;
}
@@ -98,7 +98,7 @@ class DownloadShelfView : public views::AccessiblePaneView,
protected:
// Implementation of DownloadShelf.
- 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