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

Unified Diff: chrome/browser/download_item_model.h

Issue 2826: Move the download code to new directories: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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
« no previous file with comments | « chrome/browser/download_file.cc ('k') | chrome/browser/download_item_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download_item_model.h
===================================================================
--- chrome/browser/download_item_model.h (revision 2162)
+++ chrome/browser/download_item_model.h (working copy)
@@ -1,34 +0,0 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_DOWNLOAD_ITEM_MODEL_H__
-#define CHROME_BROWSER_DOWNLOAD_ITEM_MODEL_H__
-
-#include "chrome/browser/views/download_item_view.h"
-
-class DownloadItem;
-
-// This class is a model class for DownloadItemView. It provides functionality
-// for canceling the downloading, and also the text for displaying downloading
-// status.
-class DownloadItemModel : public DownloadItemView::BaseDownloadItemModel {
- public:
- DownloadItemModel(DownloadItem* download);
- virtual ~DownloadItemModel() { }
-
- // Cancel the downloading.
- virtual void CancelTask();
-
- // Get downloading status text.
- virtual std::wstring GetStatusText();
-
- private:
- // We query this item for status information.
- DownloadItem* download_;
-
- DISALLOW_EVIL_CONSTRUCTORS(DownloadItemModel);
-};
-
-#endif // CHROME_BROWSER_DOWNLOAD_ITEM_MODEL_H__
-
« no previous file with comments | « chrome/browser/download_file.cc ('k') | chrome/browser/download_item_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698