summaryrefslogtreecommitdiffstats
path: root/content/browser/download/download_file_manager.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-20 16:48:17 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-20 16:48:17 +0000
commite582fdd525662debfd317452d87846b876a7bf70 (patch)
tree0ebe0939ce3740d1d39f0dffaae495ba9037f6b8 /content/browser/download/download_file_manager.h
parent9a575dadac75f0b9476f4335e4047057dd9ccd8d (diff)
downloadchromium_src-e582fdd525662debfd317452d87846b876a7bf70.zip
chromium_src-e582fdd525662debfd317452d87846b876a7bf70.tar.gz
chromium_src-e582fdd525662debfd317452d87846b876a7bf70.tar.bz2
Move DownloadFile/DownloadItem/DownloadManager interfaces into content/public/browser, and also put them into the content namespace.
BUG=98716 Review URL: http://codereview.chromium.org/9004005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/download/download_file_manager.h')
-rw-r--r--content/browser/download/download_file_manager.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/content/browser/download/download_file_manager.h b/content/browser/download/download_file_manager.h
index 3dc8046..989c896 100644
--- a/content/browser/download/download_file_manager.h
+++ b/content/browser/download/download_file_manager.h
@@ -56,14 +56,14 @@
#include "ui/gfx/native_widget_types.h"
struct DownloadCreateInfo;
-class DownloadFile;
-class DownloadManager;
class DownloadRequestHandle;
class FilePath;
class ResourceDispatcherHost;
namespace content {
class DownloadBuffer;
+class DownloadFile;
+class DownloadManager;
}
// Manages all in progress downloads.
@@ -74,10 +74,10 @@ class CONTENT_EXPORT DownloadFileManager
public:
virtual ~DownloadFileFactory() {}
- virtual DownloadFile* CreateFile(
+ virtual content::DownloadFile* CreateFile(
DownloadCreateInfo* info,
const DownloadRequestHandle& request_handle,
- DownloadManager* download_manager) = 0;
+ content::DownloadManager* download_manager) = 0;
};
// Takes ownership of the factory.
@@ -115,7 +115,7 @@ class CONTENT_EXPORT DownloadFileManager
void CompleteDownload(DownloadId id);
// Called on FILE thread by DownloadManager at the beginning of its shutdown.
- void OnDownloadManagerShutdown(DownloadManager* manager);
+ void OnDownloadManagerShutdown(content::DownloadManager* manager);
// The DownloadManager in the UI thread has provided an intermediate
// .crdownload name for the download specified by |id|.
@@ -155,11 +155,11 @@ class CONTENT_EXPORT DownloadFileManager
// process.
void CreateDownloadFile(DownloadCreateInfo* info,
const DownloadRequestHandle& request_handle,
- DownloadManager* download_manager,
+ content::DownloadManager* download_manager,
bool hash_needed);
// Called only on the download thread.
- DownloadFile* GetDownloadFile(DownloadId global_id);
+ content::DownloadFile* GetDownloadFile(DownloadId global_id);
// Called only from RenameInProgressDownloadFile and
// RenameCompletingDownloadFile on the FILE thread.
@@ -170,7 +170,7 @@ class CONTENT_EXPORT DownloadFileManager
// it from the maps.
void EraseDownload(DownloadId global_id);
- typedef base::hash_map<DownloadId, DownloadFile*> DownloadFileMap;
+ typedef base::hash_map<DownloadId, content::DownloadFile*> DownloadFileMap;
// A map of all in progress downloads. It owns the download files.
DownloadFileMap downloads_;