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

Unified Diff: content/browser/host_zoom_map.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/host_zoom_map.h
diff --git a/content/browser/host_zoom_map.h b/content/browser/host_zoom_map.h
index 65b976680b25a7e37f28255bbf5f6b42078fadc7..0eb86c433a7b9782fb97068e0f0c1513effa8094 100644
--- a/content/browser/host_zoom_map.h
+++ b/content/browser/host_zoom_map.h
@@ -17,6 +17,7 @@
#include "base/memory/ref_counted.h"
#include "base/synchronization/lock.h"
#include "content/browser/browser_thread.h"
+#include "content/common/content_export.h"
#include "content/common/notification_observer.h"
#include "content/common/notification_registrar.h"
@@ -28,7 +29,7 @@ class GURL;
// HostZoomMap needs to be deleted on the UI thread because it listens
// to notifications on there (and holds a NotificationRegistrar).
-class HostZoomMap
+class CONTENT_EXPORT HostZoomMap
: public NotificationObserver,
public base::RefCountedThreadSafe<HostZoomMap,
BrowserThread::DeleteOnUIThread> {
@@ -80,6 +81,8 @@ class HostZoomMap
HostZoomMap* GetOriginal() const { return original_; }
private:
+ friend class base::RefCountedThreadSafe<HostZoomMap,
+ BrowserThread::DeleteOnUIThread>;
friend struct BrowserThread::DeleteOnThread<BrowserThread::UI>;
friend class DeleteTask<HostZoomMap>;

Powered by Google App Engine
This is Rietveld 408576698