diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 18:46:24 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 18:46:24 +0000 |
commit | c5a46eeb5f47d2e19523fa87e462246c11a7d1da (patch) | |
tree | e490db77f738e4c1d15eca3b377ca1811616a7f2 /chrome/browser/download | |
parent | e85f2fd2407c1c03c3647a8365e941e7df40b707 (diff) | |
download | chromium_src-c5a46eeb5f47d2e19523fa87e462246c11a7d1da.zip chromium_src-c5a46eeb5f47d2e19523fa87e462246c11a7d1da.tar.gz chromium_src-c5a46eeb5f47d2e19523fa87e462246c11a7d1da.tar.bz2 |
Make the download manager compile on Linux & Mac.
Review URL: http://codereview.chromium.org/19711
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r-- | chrome/browser/download/download_manager.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/browser/download/download_manager.h b/chrome/browser/download/download_manager.h index 6f05e02..f718094 100644 --- a/chrome/browser/download/download_manager.h +++ b/chrome/browser/download/download_manager.h @@ -275,9 +275,6 @@ class DownloadItem { // DownloadManager ------------------------------------------------------------- -#if defined(OS_WIN) -// TODO(port): Port this part of the header and remove the #ifdef. - // Browser's download manager: manages all downloads and destination view. class DownloadManager : public base::RefCountedThreadSafe<DownloadManager>, public SelectFileDialog::Listener { @@ -534,8 +531,7 @@ class DownloadManager : public base::RefCountedThreadSafe<DownloadManager>, scoped_refptr<URLRequestContext> request_context_; // Used for history service request management. - CancelableRequestConsumerT<Observer*, (DownloadManager::Observer*)NULL> - cancelable_consumer_; + CancelableRequestConsumerTSimple<Observer*> cancelable_consumer_; // Non-owning pointer for handling file writing on the download_thread_. DownloadFileManager* file_manager_; @@ -576,6 +572,4 @@ class DownloadManager : public base::RefCountedThreadSafe<DownloadManager>, DISALLOW_COPY_AND_ASSIGN(DownloadManager); }; -#endif // defined(OS_WIN) - #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_ |