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

Unified Diff: content/browser/font_list_async.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/font_list_async.h
diff --git a/content/browser/font_list_async.h b/content/browser/font_list_async.h
index 9693dfbdf507575b73dd27a247009121de5ad73e..e9e9435ab22367146933ea81421f90191894378b 100644
--- a/content/browser/font_list_async.h
+++ b/content/browser/font_list_async.h
@@ -8,6 +8,7 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "content/common/content_export.h"
namespace base {
class ListValue;
@@ -18,7 +19,8 @@ namespace content {
// Wraps ownership of a ListValue so we can send it across threads without
// having ownership problems (for example if the calling thread goes away
// before the callback is executed, we want the ListValue to be destroyed.
-struct FontListResult : public base::RefCountedThreadSafe<FontListResult> {
+struct CONTENT_EXPORT FontListResult
+ : public base::RefCountedThreadSafe<FontListResult> {
FontListResult();
~FontListResult();
@@ -36,7 +38,7 @@ struct FontListResult : public base::RefCountedThreadSafe<FontListResult> {
// If the caller wants to take ownership of the ListValue, it can just do
// FontListResult.list.release() or use scoped_ptr.swap() because this value
// isn't used for anything else.
-void GetFontListAsync(
+CONTENT_EXPORT void GetFontListAsync(
const base::Callback<void(scoped_refptr<FontListResult>)>& callback);
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698