summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_item_model.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-28 00:35:02 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-28 00:35:02 +0000
commitbcef0dc01dad3fff84f0c64389a0ead525181e55 (patch)
tree1d08ea6a05a2adbb44050715acde79771e442f88 /chrome/browser/download/download_item_model.cc
parentdf9d0aa2e3feea5b71e1b3979ba6057238591fe3 (diff)
downloadchromium_src-bcef0dc01dad3fff84f0c64389a0ead525181e55.zip
chromium_src-bcef0dc01dad3fff84f0c64389a0ead525181e55.tar.gz
chromium_src-bcef0dc01dad3fff84f0c64389a0ead525181e55.tar.bz2
Refactor download shelf and prepare for porting.
Side effect of removing some views dependencies from places they don't belong. Review URL: http://codereview.chromium.org/28252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10657 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_item_model.cc')
-rw-r--r--chrome/browser/download/download_item_model.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/download/download_item_model.cc b/chrome/browser/download/download_item_model.cc
index f90ec6b..9b7f764 100644
--- a/chrome/browser/download/download_item_model.cc
+++ b/chrome/browser/download/download_item_model.cc
@@ -17,7 +17,7 @@ using base::TimeDelta;
// DownloadItemModel
DownloadItemModel::DownloadItemModel(DownloadItem* download)
- : download_(download) {
+ : BaseDownloadItemModel(download) {
}
void DownloadItemModel::CancelTask() {
@@ -96,8 +96,8 @@ std::wstring DownloadItemModel::GetStatusText() {
// SavePageModel
SavePageModel::SavePageModel(SavePackage* save, DownloadItem* download)
- : save_(save),
- download_(download) {
+ : BaseDownloadItemModel(download),
+ save_(save) {
}
void SavePageModel::CancelTask() {