diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-26 23:23:55 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-26 23:23:55 +0000 |
commit | 3586962cf6d542d53a342fb4823b36b09ba71544 (patch) | |
tree | 5463757709af4eb068c00850f91ba78c14110fa0 /content/browser/download/download_item_impl_delegate.h | |
parent | 6e268e024c7a5f96f6f269f0e438490ef6c73b53 (diff) | |
download | chromium_src-3586962cf6d542d53a342fb4823b36b09ba71544.zip chromium_src-3586962cf6d542d53a342fb4823b36b09ba71544.tar.gz chromium_src-3586962cf6d542d53a342fb4823b36b09ba71544.tar.bz2 |
Move download code to the content namespace.
Review URL: https://codereview.chromium.org/11320016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164439 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/download/download_item_impl_delegate.h')
-rw-r--r-- | content/browser/download/download_item_impl_delegate.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/content/browser/download/download_item_impl_delegate.h b/content/browser/download/download_item_impl_delegate.h index d06aad4..efc2326 100644 --- a/content/browser/download/download_item_impl_delegate.h +++ b/content/browser/download/download_item_impl_delegate.h @@ -11,12 +11,10 @@ #include "content/public/browser/download_danger_type.h" #include "content/public/browser/download_item.h" +namespace content { class DownloadFileManager; class DownloadItemImpl; - -namespace content { class BrowserContext; -} // Delegate for operations that a DownloadItemImpl can't do for itself. // The base implementation of this class does nothing (returning false @@ -26,8 +24,8 @@ class CONTENT_EXPORT DownloadItemImplDelegate { public: typedef base::Callback<void( const FilePath&, // Target path - content::DownloadItem::TargetDisposition, // overwrite/uniquify target - content::DownloadDangerType, + DownloadItem::TargetDisposition, // overwrite/uniquify target + DownloadDangerType, const FilePath& // Intermediate file path )> DownloadTargetCallback; @@ -65,7 +63,7 @@ class CONTENT_EXPORT DownloadItemImplDelegate { virtual void CheckForFileRemoval(DownloadItemImpl* download_item); // For contextual issues like language and prefs. - virtual content::BrowserContext* GetBrowserContext() const; + virtual BrowserContext* GetBrowserContext() const; // Get the DownloadFileManager to use for this download. virtual DownloadFileManager* GetDownloadFileManager(); @@ -93,4 +91,6 @@ class CONTENT_EXPORT DownloadItemImplDelegate { DISALLOW_COPY_AND_ASSIGN(DownloadItemImplDelegate); }; +} // namespace content + #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_DELEGATE_H_ |