diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-20 16:48:17 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-20 16:48:17 +0000 |
commit | e582fdd525662debfd317452d87846b876a7bf70 (patch) | |
tree | 0ebe0939ce3740d1d39f0dffaae495ba9037f6b8 /content/browser/download/download_file_impl.h | |
parent | 9a575dadac75f0b9476f4335e4047057dd9ccd8d (diff) | |
download | chromium_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_impl.h')
-rw-r--r-- | content/browser/download/download_file_impl.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h index e513e7d..3133135 100644 --- a/content/browser/download/download_file_impl.h +++ b/content/browser/download/download_file_impl.h @@ -6,24 +6,28 @@ #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_ #pragma once -#include "content/browser/download/download_file.h" +#include "content/public/browser/download_file.h" #include <string> #include "base/basictypes.h" #include "base/memory/ref_counted.h" +#include "content/browser/download/base_file.h" #include "content/browser/download/download_request_handle.h" #include "content/common/content_export.h" struct DownloadCreateInfo; + +namespace content { class DownloadManager; +} -class CONTENT_EXPORT DownloadFileImpl : virtual public DownloadFile { +class CONTENT_EXPORT DownloadFileImpl : virtual public content::DownloadFile { public: // Takes ownership of the object pointed to by |request_handle|. DownloadFileImpl(const DownloadCreateInfo* info, DownloadRequestHandleInterface* request_handle, - DownloadManager* download_manager); + content::DownloadManager* download_manager); virtual ~DownloadFileImpl(); // DownloadFile functions. @@ -42,7 +46,7 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public DownloadFile { virtual bool GetSha256Hash(std::string* hash) OVERRIDE; virtual void CancelDownloadRequest() OVERRIDE; virtual int Id() const OVERRIDE; - virtual DownloadManager* GetDownloadManager() OVERRIDE; + virtual content::DownloadManager* GetDownloadManager() OVERRIDE; virtual const DownloadId& GlobalId() const OVERRIDE; virtual std::string DebugString() const OVERRIDE; @@ -59,7 +63,7 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public DownloadFile { scoped_ptr<DownloadRequestHandleInterface> request_handle_; // DownloadManager this download belongs to. - scoped_refptr<DownloadManager> download_manager_; + scoped_refptr<content::DownloadManager> download_manager_; DISALLOW_COPY_AND_ASSIGN(DownloadFileImpl); }; |