Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1002)

Unified Diff: content/browser/download/download_manager.h

Issue 7800015: prune down content_dll change to just the CONTENT_EXPORTS (Closed)
Patch Set: update copyright headers, merge Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/download/download_manager.h
diff --git a/content/browser/download/download_manager.h b/content/browser/download/download_manager.h
index 994db82cd9f9fc6959a1108d61de6061d8d215cf..2536c9301e9fb25e433e858f7e6cbb1b2464874e 100644
--- a/content/browser/download/download_manager.h
+++ b/content/browser/download/download_manager.h
@@ -46,6 +46,7 @@
#include "content/browser/download/download_item.h"
#include "content/browser/download/download_request_handle.h"
#include "content/browser/download/download_status_updater_delegate.h"
+#include "content/common/content_export.h"
#include "net/base/net_errors.h"
class DownloadFileManager;
@@ -62,7 +63,7 @@ class BrowserContext;
}
// Browser's download manager: manages all downloads and destination view.
-class DownloadManager
+class CONTENT_EXPORT DownloadManager
: public base::RefCountedThreadSafe<DownloadManager,
BrowserThread::DeleteOnUIThread>,
public DownloadStatusUpdaterDelegate {
@@ -75,7 +76,7 @@ class DownloadManager
// Interface to implement for observers that wish to be informed of changes
// to the DownloadManager's collection of downloads.
- class Observer {
+ class CONTENT_EXPORT Observer {
public:
// New or deleted download, observers should query us for the current set
// of downloads.
@@ -276,6 +277,8 @@ class DownloadManager
friend class DownloadManagerTest;
friend class MockDownloadManager;
+ friend class base::RefCountedThreadSafe<DownloadManager,
+ BrowserThread::DeleteOnUIThread>;
friend struct BrowserThread::DeleteOnThread<BrowserThread::UI>;
friend class DeleteTask<DownloadManager>;

Powered by Google App Engine
This is Rietveld 408576698