summaryrefslogtreecommitdiffstats
path: root/content/browser/font_list_async.h
diff options
context:
space:
mode:
authordpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-13 22:11:57 +0000
committerdpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-13 22:11:57 +0000
commit8d128d6b9ef0096c874fafb9f80cbb5a03c98f4c (patch)
tree6d15da0c38831ea9180d3d90caa66d5adc7cb000 /content/browser/font_list_async.h
parent8ea5d4bd1f750572bec6b6b73732bba147f0be42 (diff)
downloadchromium_src-8d128d6b9ef0096c874fafb9f80cbb5a03c98f4c.zip
chromium_src-8d128d6b9ef0096c874fafb9f80cbb5a03c98f4c.tar.gz
chromium_src-8d128d6b9ef0096c874fafb9f80cbb5a03c98f4c.tar.bz2
Annotate all of the functions in content that need to be exported, in preparation for creating a content shared library.
R=darin@chromium.org, jam@chromium.org, willchan@chromium.org BUG=90442 TEST=everything still compiles Review URL: http://codereview.chromium.org/7800015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100975 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/font_list_async.h')
-rw-r--r--content/browser/font_list_async.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/content/browser/font_list_async.h b/content/browser/font_list_async.h
index 9693dfb..e9e9435 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