summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-30 18:46:24 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-30 18:46:24 +0000
commitc5a46eeb5f47d2e19523fa87e462246c11a7d1da (patch)
treee490db77f738e4c1d15eca3b377ca1811616a7f2 /chrome/browser/download
parente85f2fd2407c1c03c3647a8365e941e7df40b707 (diff)
downloadchromium_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.h8
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_