From c5a46eeb5f47d2e19523fa87e462246c11a7d1da Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Fri, 30 Jan 2009 18:46:24 +0000 Subject: 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 --- chrome/browser/download/download_manager.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'chrome/browser/download') 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, public SelectFileDialog::Listener { @@ -534,8 +531,7 @@ class DownloadManager : public base::RefCountedThreadSafe, scoped_refptr request_context_; // Used for history service request management. - CancelableRequestConsumerT - cancelable_consumer_; + CancelableRequestConsumerTSimple 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, DISALLOW_COPY_AND_ASSIGN(DownloadManager); }; -#endif // defined(OS_WIN) - #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_ -- cgit v1.1