Index: content/common/child_process_sandbox_support_linux.h |
diff --git a/content/common/child_process_sandbox_support_linux.h b/content/common/child_process_sandbox_support_linux.h |
index 4e7b4fb2e7e5cc68f9f74234fac78de013cce033..a7537c282bd11fe8d7fe705714a811a0a82dc8bf 100644 |
--- a/content/common/child_process_sandbox_support_linux.h |
+++ b/content/common/child_process_sandbox_support_linux.h |
@@ -10,6 +10,8 @@ |
#include <string> |
+#include "content/common/content_export.h" |
+ |
namespace WebKit { |
struct WebFontRenderStyle; |
} |
@@ -34,14 +36,15 @@ void getRenderStyleForStrike(const char* family, int sizeAndStyle, |
// Returns a file descriptor for a shared memory segment. |
// The second argument is ignored because SHM segments are always |
// mappable with PROT_EXEC on Linux. |
-int MakeSharedMemorySegmentViaIPC(size_t length, bool executable); |
+CONTENT_EXPORT int MakeSharedMemorySegmentViaIPC(size_t length, |
+ bool executable); |
// Return a read-only file descriptor to the font which best matches the given |
// properties or -1 on failure. |
// charset: specifies the language(s) that the font must cover. See |
// render_sandbox_host_linux.cc for more information. |
-int MatchFontWithFallback(const std::string& face, bool bold, |
- bool italic, int charset); |
+CONTENT_EXPORT int MatchFontWithFallback(const std::string& face, bool bold, |
+ bool italic, int charset); |
// GetFontTable loads a specified font table from an open SFNT file. |
// fd: a file descriptor to the SFNT file. The position doesn't matter. |
@@ -51,8 +54,8 @@ int MatchFontWithFallback(const std::string& face, bool bold, |
// output_length: size of output, if it's not 0. |
// |
// returns: true on success. |
-bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
- size_t* output_length); |
+CONTENT_EXPORT bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
+ size_t* output_length); |
}; // namespace child_process_sandbox_support |